Markdown Table Generator
Guide: How to Make a Table in Markdown (Syntax, Alignment and Pipes)Paste cells copied from Excel or Google Sheets, or paste CSV with commas or semicolons, and get a Markdown table you can copy into a README, a note or a forum post. Choose whether the first row is the header, set the alignment of each column and let the columns line up so the table is easy to read as plain text too.
Copy cells from Excel or Google Sheets and paste them here, or paste CSV (comma or semicolon). One line per row.
Alignment per column
A pipe character inside a cell is escaped and a line break inside a cell becomes <br>. Markdown tables always need a header row, so without one the header is left empty.
Features
- Paste from Excel, Google Sheets or CSV
- Left, centre or right alignment per column
- Columns line up, so the table reads well as plain text
- Pipe characters and line breaks inside cells are handled
How to use Markdown Table Generator
- Copy cells from your spreadsheet and paste them in.
- Choose the header and the alignment of each column.
- Copy the Markdown table.
Frequently asked questions
How do I paste from Excel or Google Sheets?
Select the cells, copy them and paste them into the box. Spreadsheets put a tab between cells and the tool reads that. You can also paste CSV, with commas or semicolons between the cells.
What if a cell contains a pipe or a line break?
A pipe (|) would break the table, so it gets a backslash in front of it. A line break inside a cell becomes <br>, which most Markdown programs show as a new line. Not every program supports that.
What if my table has no header?
Markdown tables always need a header row. Untick "The first row is the header" and the tool adds an empty header, so your first row stays part of the data.
Is my data sent anywhere?
No. The table is built in your browser and nothing is sent anywhere. You can check this yourself: switch off your internet connection after the page has loaded and the tool still works.