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.

Preview

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.

Frequently asked questions

How do I make a Markdown table?
A Markdown table is a header row, a separator row of hyphens, then one row per line of data, with columns divided by pipe characters. This generator builds all of that for you: type into the grid and the correctly formatted Markdown appears below, ready to copy.
How do I set column alignment?
Use the alignment control above each column to pick left, center or right. Alignment is encoded in the separator row: a colon on the left means left-aligned, colons on both sides mean centered, and a colon on the right means right-aligned. GitHub, GitLab and most Markdown renderers honour it.
Can I paste data from a spreadsheet?
Yes. Copy a range from Excel, Google Sheets or Numbers and paste it into the paste box. Cells arrive separated by tabs and rows by new lines, and the grid rebuilds to match automatically, with the first row treated as the header.
Why is the Markdown padded with extra spaces?
The pipes are padded so every column lines up in your source file, which makes the raw Markdown far easier to read and edit. The spacing is purely cosmetic - it renders to exactly the same table as an unpadded version.