Markdown table generator
Paste cells from a spreadsheet, drop in a CSV file or type into the grid. The Markdown appears below as you edit, ready to copy into an issue, a wiki or a doc. It works the other way too: paste a Markdown table and take it back out as CSV.
Everything happens in this browser tab. Your table is not sent anywhere.
Loading the generator…
How to use it
- Bring the data in. Copy cells in Excel, Google Sheets or Numbers and press Ctrl+V (⌘V on a Mac) on the grid. Or choose Import file for a .csv, .tsv, .md or .txt file. Or paste an existing Markdown table to edit it.
- Shape it. Set each column's alignment from its header menu. Add, move or remove rows and columns. Choose whether the first row is the header.
- Take it out. Copy Markdown puts the table on your clipboard. You can also download it as .md or .csv, or copy it as tab-separated cells to paste back into a spreadsheet.
What the Markdown looks like
A Markdown table is a header row, a delimiter row of hyphens, and the data rows, with cells separated by pipes. Colons in the delimiter row set each column's alignment:
| Issue | Owner | Status | Estimate |
| :------- | :---: | :-----: | -------: |
| INV-1041 | Mia | Done | 2 days |
| INV-1042 | Leo | To do | 5 days |
:---aligns a column left,:---:centres it, and---:aligns it right. Plain---leaves it to the reader.- Leading and trailing pipes are optional, but they make the table easier to read. The generator always writes them.
- The columns don't have to line up for the table to work. Aligned output pads the cells so the source reads like a table, while Compact output leaves the padding out.
This is the table syntax of the GitHub Flavored Markdown spec, which the generator writes.
Why a table doesn't show as a table
- The delimiter row is missing, or it has a different number of cells than the header row. The spec then doesn't recognise a table at all.
- A cell holds a pipe. A
|inside a cell has to be written as\|, even inside code. The generator escapes it for you. - The table touches other text. A table ends at the first empty line or at the start of another block, such as a quote. Leave an empty line before and after it.
- A cell holds a list, a heading or a line break. Cells take inline text only. The generator turns line breaks into
<br>or a space, whichever you choose.
Keep the table working
A Markdown table is a picture of your data: it doesn't sort, filter or add up. When the numbers need to stay live, put them in Airsurf.
- Airsurf Tables reads the CSV or the .md file you download here: CSV, Excel, Markdown and other text files, up to 50 MB and 200,000 rows. It shows the same rows as a table, cards, a board, a calendar, a timeline, a pivot or a chart, and every number opens to the records behind it.
- Airsurf Docs pages hold tables next to the text, code and to-dos. You can start writing at airsurf.app/docs without an account. The pages stay in your browser until you sign in.
Both are on the free plan, for the whole team, with 2 GB of storage shared by the team. See Pricing.
Questions
Yes, with no account and no limit on how often you use it.
No. The table is built in your browser. The last table you made is kept in this browser so it's still there when you come back, and Clear removes it.
Yes. Copy the cells and paste them on the grid; they arrive as rows and columns. Markdown tables can't merge cells, so a merged cell's text lands in its first cell and the others stay empty.
Yes. Paste the Markdown on the grid or import the .md file, then choose Download CSV.
Up to 5,000 rows and 100 columns. For bigger data, a spreadsheet or Airsurf Tables is the better place.
Yes. GitHub shows these tables in comments, issues, pull requests and wikis. Leave an empty line before the table, or it won't render.
Excel is a trademark of Microsoft Corporation. Google Sheets is a trademark of Google LLC. Numbers is a trademark of Apple Inc. GitHub is a trademark of GitHub, Inc.