Markdown Table Generator — Build GFM Tables Visually
Markdown output
Import an existing table, CSV, or spreadsheet paste
Type your data into a spreadsheet-style grid and get GitHub-flavored Markdown out. Add or remove rows and columns as you go, set each column to left, center, or right alignment, and copy the result straight into a README, a pull request, or your docs. You can also paste an existing Markdown table, CSV, or a block copied from Excel and edit it here.
Tables are built locally in your browser and never sent to a server.
GFM table rules that break tables silently
The line of dashes under the header is what turns piped text into a table. Without it, a pull request shows the rows as literal text with pipe characters. The header also fixes the column count for the whole table, and the GFM spec handles mismatched rows without any warning.
| Situation | Result |
|---|---|
| Body row has fewer cells than the header | Empty cells are added at the end |
| Body row has more cells than the header | Extra cells are dropped |
Pipe inside a code span, `a|b` | Still splits the cell; write `a\|b` instead |
| Bold, links, images, inline code | Render normally inside a cell |
| Lists, headings, fenced code blocks | Not allowed: cells take inline content only |
| One cell aligned unlike its column, or the whole table centred | Impossible in Markdown; an HTML table is needed |
Padded vs compact Markdown table source
Padding has no effect on rendering, but it has a cost in the file. On a twelve-column table, aligned source is roughly twice the size of the compact form. Every later edit that changes a column width also rewrites the padding on each row, so diffs get noisier. Some teams switch padding off for that reason.
Frequently asked questions
- Does a Markdown table support multiple lines in one cell?
- No. Each table row has to stay on one line of the file, and the grid cells take one line each. A line break inside an imported cell, such as a quoted CSV field, is written as an HTML <br> tag, which renders as a new line wherever the renderer allows HTML.