Markdown Table Generator — From Excel, Sheets or CSV
- This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.
Spreadsheet cells or CSV
Markdown table
Result appears here.About this tool
Copy a range of cells from Excel or Google Sheets, paste it here and get a Markdown table ready for a README, a GitHub issue or documentation. CSV and semicolon- or pipe-separated text works as well, and the delimiter is detected for you.
Choose left, centre or right alignment for the columns, decide whether the first row is the header, and keep the pipes lined up in the source for easy reading. Pipe characters inside cells are escaped and line breaks become <br>. For instance, pasting a three-column sheet of Name, Qty and Price with right alignment gives rows such as | Pen | 10 | ₹5.50 | under a separator row of -------:, so the numbers line up in the source and render right-aligned.
If your data has no header row, untick the option and an empty header row is added, since a Markdown table must have one. Turn off “Align columns” for compact output without padding, which is easier to diff in version control but harder to read.
Check the result in a preview, because renderers differ. GitHub and GitLab support pipe tables, but cells cannot hold a real multi-line block, which is why line breaks become <br>. Cell text is trimmed, so leading and trailing spaces are lost. Wide characters such as CJK text can look out of line in the padded source even though they render fine. The delimiter detector reads the first line only: tabs win, then whichever of comma, semicolon or pipe appears most. If a header contains commas, convert the sheet to tab-separated text first. Everything happens in your browser.
Frequently asked questions
Does this work with tables copied from a spreadsheet?
Yes. Spreadsheet cells paste as tab-separated text, which is detected automatically.
Can I align only some columns?
The alignment applies to every column. After generating, change the colons in the separator row (:--, :-:, --:) to adjust individual columns.
Where do Markdown tables work?
GitHub, GitLab, most documentation sites and many note apps support the pipe-table syntax. The original Markdown spec does not include tables.
How do I put a pipe character in a cell?
Type it as normal; the tool escapes it as \| so it does not split the cell.
What if my rows have different numbers of cells?
Short rows are padded with empty cells so every row has the same number of columns as the widest row.