Markdown Table Generator
Build Markdown tables in a live grid — set column alignment, import CSV or TSV, then copy or download the result.
| Align | |||
|---|---|---|---|
| Header | |||
| 1 | |||
| 2 |
3 columns × 2 data rows · 107 characters
Markdown output
| Name | Role | Team | | ---- | -------- | ---- | | Ada | Engineer | Core | | Bob | Designer | Web |
Preview
| Name | Role | Team |
|---|---|---|
| Ada | Engineer | Core |
| Bob | Designer | Web |
Import CSV, TSV or an existing Markdown table
Comma-separated, tab-separated (straight from a spreadsheet) and existing Markdown tables
are all detected automatically. Quoted CSV fields are handled, and a Markdown separator row
such as :---: restores the column alignment.
How it works
Fill in the grid — the first row is the table header — and the Markdown table below updates on
every keystroke. Add or remove rows and columns with the buttons, and set each column to left,
center or right alignment; the alignment is written into the separator row as
:---, :---: or ---:, exactly the way GitHub-flavored
Markdown expects. Keep "Align columns with padding" ticked for a table that stays readable in
the raw source file, or untick it for the shortest possible output. Any |
character you type inside a cell is escaped as \| automatically, and line breaks
inside a cell become <br>, so the table can never break.
You can also paste data in: CSV, tab-separated text copied straight out of Excel, Google
Sheets or Numbers, or an existing Markdown table you want to edit — the importer detects which
one it is, reads the alignment out of the separator row and loads everything into the grid.
Everything runs as plain JavaScript inside this page, so nothing is uploaded, nothing is
stored and it keeps working offline once loaded. Copy the result to your clipboard or download
it as a .md file for your README, docs site or wiki.
Frequently asked questions
How do I create a table in Markdown?
A Markdown table is a header row, a separator row of dashes, then one row per record, with every cell wrapped in pipe characters. This generator writes all of that for you: type into the grid — the first row is the header — and the Markdown appears below on every keystroke. Use Add row and Add column to grow the table, then press Copy Markdown or Download .md. Keep "Align columns with padding" ticked and the raw Markdown stays lined up and readable in your source file; untick it for the shortest possible output.
Can I convert CSV or an Excel spreadsheet to a Markdown table?
Yes. Open "Import CSV, TSV or an existing Markdown table", paste your data and press Import into the editor. Comma-separated text and the tab-separated text you get when you copy cells out of Excel, Google Sheets or Numbers are both detected automatically, and quoted CSV fields containing commas are handled correctly. You can also paste a Markdown table you already have: the separator row is read back, so :---, :---: and ---: restore the left, center and right column alignment in the editor.
Is my table data uploaded anywhere?
No. The whole generator is JavaScript running inside your own browser tab — nothing you type or paste is sent to a server, logged or stored, and there are no ads or trackers reading it. That makes it safe for internal documentation, client data and unpublished release notes, and it keeps working offline once the page has loaded. Any pipe character you type inside a cell is escaped as \| and line breaks become <br>, so a stray character can never break the generated table.