Markdown table generator
Type into the grid or paste cells from a spreadsheet. The Markdown table builds itself below, aligned and ready for a README or an issue.
Paste from Excel, Google Sheets, CSV or Markdown
Markdown
Preview
How to use it
- Type into the grid. Tab moves right, Enter moves down and adds a row at the end. Pasting several cells into one fills the grid from there.
- Or open Paste from Excel… and import a spreadsheet selection, CSV or an existing Markdown table to edit it.
- Choose each column’s alignment, then press Copy Markdown table.
Markdown table syntax
A table is a header row, a divider row and data rows, with cells separated by pipes. Colons in the divider set alignment: :--- left, :---: centre, ---: right.
The pipes do not have to line up for the table to work; lining them up only makes the source readable. Switch Line up the columns off for the shortest output.
| Need | Write it as |
|---|---|
| A pipe inside a cell | \| (the tool does this for you) |
| A line break inside a cell | <br> (multi-line cells are converted) |
| Bold, links or code in a cell | Normal Markdown: **bold**, [text](url), `code` |
| An empty cell | Leave it empty between two pipes |
Where Markdown tables work
GitHub, GitLab, Bitbucket, Obsidian, Notion import, Jupyter notebooks, Reddit and most static site generators render this pipe table syntax, which comes from GitHub Flavored Markdown. Tables cannot merge cells or hold block content such as lists; for that, use an HTML table.
Related tools
Questions people ask
How do I convert Excel to a Markdown table?
Select the cells in Excel or Google Sheets, copy, and paste them into the import box or straight into the first grid cell. The rows and columns are kept, and the Markdown appears below.
How do I convert CSV to a Markdown table?
Paste the CSV into the import box and press Import. Commas or semicolons are detected, and quoted values with commas inside stay in one cell.
How do I align a column to the right?
Pick Right in the selector above that column. The divider row gets a colon on the right side, ---:, which is how Markdown marks it.
Can I edit an existing Markdown table?
Yes. Paste it into the import box. The cells and alignment come back into the grid.
Is anything uploaded?
No. The table is built in your browser.