About the Markdown Table Generator
Build Markdown tables visually instead of counting pipes. Type in the grid or paste cells from Excel and Google Sheets, set column alignment, and copy perfectly formatted Markdown table syntax.
How to make a Markdown table
- Type in the grid, or paste cells straight from Excel, Google Sheets or a CSV file.
- Add rows and columns with the buttons. Hover a row or column to remove it.
- Set each column to left, centre or right alignment with the arrows above it.
- Copy the Markdown or download it as a
.mdfile.
Paste from a spreadsheet
Select cells in Excel or Google Sheets, copy, then click a cell here and paste. The grid grows to fit. CSV and tab-separated text work too.
Edit an existing table
Use Import to paste a Markdown table you already have. Change it in the grid, then copy the result back.
Readable source
With Align columns on, cells are padded so the raw Markdown lines up and is easy to read in a code editor. Pipes inside cells are escaped automatically.
Questions
Is my data uploaded?
No. Everything happens in your browser.
How do I set column alignment?
Use the three arrows above each column: left, centre and right. Markdown stores this in the second line of the table, like :---: for centre.
Can I put a pipe character in a cell?
Yes. It is escaped as \| so the table doesn't break.
Can I add line breaks inside a cell?
Markdown tables don't support multi-line cells. Use <br> where you need a break; most renderers, including GitHub, show it.