Markdown table generator

Edit cells in a grid, click a column header to change its alignment, or paste CSV/TSV data straight from a spreadsheet. The markdown output is padded for readability and ready to paste into GitHub, a README, or any markdown editor.

Click ⇤ ↔ ⇥ above a column to change its alignment

Markdown

| Name | Role | Location |
| ---- | ---- | -------- |
|      |      |          |
|      |      |          |
|      |      |          |

Preview

NameRoleLocation

Markdown table syntax, explained

A markdown table is plain text: pipes (|) separate columns, and a separator line of dashes after the header row tells the parser where the header ends. Alignment is controlled by colons in that separator line:

| Left     | Center   | Right    |
| :------- | :------: | -------: |
| a        |    b     |        c |
  • :--- (or plain ---) aligns the column left
  • :---: centers the column
  • ---: aligns the column right

The padding spaces this generator adds are optional — markdown parsers ignore them — but they keep the source readable, which matters when the table lives in a README that people edit by hand.

Things markdown tables can and can't do

  • Pipes inside cells must be escaped as \| — the generator does this automatically.
  • Line breaks inside cells aren't part of the syntax; the common workaround is an HTML <br> tag, which this tool inserts for you if a pasted cell contains newlines.
  • Merged cells, row spans, and nested tables don't exist in markdown. If you need them, use HTML tables — most markdown renderers pass HTML through.
  • Inline formatting works inside cells: bold, links, and `code` all render normally.

FAQ

Does my data leave the browser?

No — the table is built entirely client-side. Nothing is uploaded unless you click Share as link, which publishes the markdown to a URL you control (it comes with an edit token and expires after 30 days).

Can I convert an Excel or Google Sheets range?

Yes. Copy the range in your spreadsheet, click Paste CSV / TSV, and paste — spreadsheet copies are tab-separated, which the parser detects automatically. The first row becomes the header.

Do GitHub and GitLab render these tables?

Yes — tables are part of GitHub Flavored Markdown (GFM) and supported by GitHub, GitLab, Bitbucket, Discord (partially), Notion, and most documentation tools. See the markdown cheat sheet for the full GFM reference.

More markdown tools

Markdown to PDF converter · Markdown cheat sheet · Share markdown as a link