Markdown Table Generator
Build a Markdown table in a visual grid - set alignment, add rows and columns, or paste straight from a spreadsheet - and copy clean, aligned Markdown.
The first row is always the table header.
Tables the easy way
Hand-writing a Markdown table means counting pipes, lining up separators and re-padding every time a value changes. This generator removes all of that. Type into the grid, and clean, aligned Markdown appears instantly below, with a live rendered preview so you can see exactly what it will look like.
Alignment and the separator row
The second line of any Markdown table is the separator, and it does double duty: it marks
where the header ends and it sets each column's alignment. A colon on the left of the hyphens
means left, a colon each side means centered, and a colon on the right means right-aligned.
Pick an alignment above any column and the separator updates - for a centered column you will
see a run like :---:.
Paste from Excel, Sheets or Numbers
Already have the data in a spreadsheet? Select the range, copy it, and paste into the paste box. Spreadsheets copy cells separated by tab characters and rows by new lines, which this tool reads to rebuild the grid at the right size. The first pasted row becomes your header. From there you can tweak any cell, add or remove rows and columns, and set alignment before copying the result.
Once your table is ready, drop it into a README, a GitHub issue or a docs page. To go the other way, the HTML to Markdown converter turns an existing HTML table into Markdown, and the Markdown to HTML tool renders your finished Markdown. For data work, the JSON formatter is close at hand.