Markdown Table Generator
Lay out a Markdown table visually, no pipes or dashes to type by hand. Adjust rows and columns, edit cells, choose alignment, and watch the syntax update live.
Loading Markdown Table Generator...
Building a Markdown Table, Step by Step
Shape the Grid
Begin by sizing the table to your data. The Add and Remove buttons let you grow or shrink the number of rows and columns as needed.
Fill In Your Data
Tap a cell whenever you want to change what's inside it, then just start typing. Behind the scenes the markdown output keeps itself in sync with every keystroke.
Set Column Alignment
Below every column header you'll find small alignment toggles. Pick one to decide whether that column's text hugs the left, sits in the middle, or lines up on the right.
Export Your Table
Once the table looks right, grab the generated Markdown and drop it wherever you need it, whether that's your docs, a README, or anywhere else that speaks Markdown.
Markdown Table Syntax at a Glance
Curious what the tool is writing for you? Here's the whole grammar in one place, following the GFM tables specification. A table is just header cells, a divider row of dashes, and your data rows, with a pipe (|) between every column. Tables aren't part of the base CommonMark spec, so they're a widely supported extension on top of it.
| Fruit | Price | In Stock | | :----- | ----: | :------: | | Apple | 1.20 | yes | | Cherry | 4.50 | no |
:---Colon on the left pins the whole column to the left edge.
:---:Colons on both sides center everything in that column.
---:Colon on the right pushes text to the right, handy for numbers.
The cells don't need to line up perfectly in the raw text, renderers ignore the extra spaces. The tool pads them anyway so the source stays readable. Want to see it rendered? Paste the output into the Markdown viewer.
Table Builder Questions, Answered
Can I paste a table I copied from Excel or Google Sheets?
Spreadsheets copy their cells out as tab-separated values, so the cleanest route is our TSV to Markdown Table converter, paste straight from the sheet and it lands as a finished table. If you exported the sheet as a file instead, the CSV to Markdown Table converter handles that side. Either way beats retyping the grid cell by cell.
How do I set a different alignment for each column?
Every column has its own alignment toggle sitting just under its header, so you can mix and match freely, labels left, a centered status column, prices on the right. Each choice writes the matching colon markers (`:---`, `:---:`, `---:`) into the divider row for you.
What happens if my cell text contains a pipe character?
A stray | would normally split your cell into two, so it needs a backslash in front of it to be treated as plain text. When you type a value with a pipe in it, the generator escapes it as \| in the output so your table doesn't break, one less quirk to remember.
Is there a cap on rows or columns?
No, keep tapping the add buttons until the grid holds everything. That said, once a table climbs past a few dozen rows the visual editor gets fiddly, at that point importing from CSV or TSV is far less tedious than clicking through each cell.
Will these tables render properly on GitHub?
They will. The output sticks to GitHub Flavored Markdown, so your tables look right in README files, issues, and pull requests, and in most other Markdown renderers too.
Can I drop line breaks or formatting inside a cell?
Inline formatting is fair game, **bold**, `code`, and links all work inside a cell. Real line breaks don't, since a table row has to stay on one line; use an HTML <br> tag where you want text to wrap. Need richer layout than a table allows? Draft it in the Markdown editor instead.
Related Tools
Markdown Viewer
View and render Markdown files online with live preview and syntax highlighting
Markdown Editor
Write and preview Markdown in real-time with live preview
Markdown Formatter
Format and beautify Markdown with consistent styling
CSV to Markdown Table
Convert CSV data to Markdown tables instantly
TSV to Markdown Table
Convert TSV to GitHub-flavored Markdown table syntax with alignment options
Markdown to HTML
Convert Markdown documents to HTML with live preview and syntax support