UTILS.
Private by default
▦|

Markdown Table Generator

Convert CSV or TSV data into a padded, aligned GitHub-flavored Markdown table.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Paste delimited rows and get a neatly padded GitHub-flavored Markdown table with your chosen column alignment, plus a live preview, all in your browser.

The first line is always the header row. Cells are split on the delimiter (comma, tab or semicolon) and trimmed, with no quote handling, so a quoted comma still splits the cell. Empty lines are ignored, short rows are padded with empty cells, and a pipe inside a cell is escaped as \| in the Markdown.

Each column is padded to its longest cell, with a minimum width of 3, counted in display columns, with CJK characters and emoji taking two, so they line up in most monospace fonts. The alignment applies to every column at once and is written as colons in the separator row. The preview is a plain HTML table from the same cells and does not render Markdown inside them, so **bold** stays as typed. Copy takes the Markdown only.

Frequently asked questions

What does the alignment setting do?
It controls the colons in the separator row so cells render left, center or right aligned on GitHub.
Why are the columns padded with spaces?
Padding keeps the raw Markdown lined up so it is easy to read even before it is rendered.
Can I align columns individually?
No. One alignment setting applies to all columns.
What happens to commas inside quoted values?
They still split the cell. Use the tab delimiter, or one that is not in your data.

More tools