Markdown Table Generator
Build a Markdown table in a spreadsheet-style grid instead of typing pipes and dashes by hand. Edit headers and cells, set each column to left, center or right alignment, or import rows pasted from Excel, Google Sheets or a CSV file, and the GitHub-Flavored Markdown appears below, ready to paste into a README, documentation or an issue. Everything runs in your browser; nothing is uploaded.
How to use
- Edit the headers and cells in the grid, which starts with a sample table; use Add column and Add row to grow it (up to 12 columns and 50 rows), Remove or × to delete a column or row, and Clear or Reset to sample to start over.
- To reuse existing data, click Import from spreadsheet, paste rows from Excel, Google Sheets or a CSV file, leave First row is the header ticked if your data has one, and click Import; tabs, commas, semicolons and pipes are detected automatically.
- Choose Left, Center or Right under each header to align that column, and tick Pad columns to align the source or Compact output (single-space cells) to control how the Markdown source is spaced.
- Check the result under Markdown and click Copy to copy it to your clipboard.
Example
Input
Import from spreadsheet (First row is the header):
Plan,Price,"Users, max"
Free,$0,1
Team,$12,10
"Pro | Plus",$29,unlimited
Alignment: Plan Left · Price Right · Users, max CenterOutput
| Plan | Price | Users, max |
| :---------- | ----: | :--------: |
| Free | $0 | 1 |
| Team | $12 | 10 |
| Pro \| Plus | $29 | unlimited |Frequently asked questions
How are pipe characters inside cells handled?
A | inside a cell is escaped as \| so it does not split the column, as in Pro \| Plus above. A line break inside an imported cell is replaced with a space, because each Markdown table row must stay on a single line.
What do the two formatting options change?
Pad columns to align the source (on by default) adds spaces so every column lines up when you read the Markdown as plain text. Compact output (single-space cells) puts exactly one space around each cell and uses short markers such as :-- and --:, which keeps diffs small. The rendered table looks the same either way.
Where does the column alignment work?
The markers :---, :---: and ---: come from GitHub-Flavored Markdown and are applied by GitHub, GitLab and most renderers that support GFM tables. Markdown renderers without table support show the source as plain text instead.
How large can a table be?
Up to 12 columns and 50 rows. When imported data is larger, it is cut to that size and the notice Data trimmed to a maximum of 12 columns × 50 rows. appears; otherwise a message confirms how many columns and rows were imported.