Markdown Table Generator

Type into a visual grid — get perfect, pretty-aligned Markdown table syntax instantly. Alignment per column, CSV paste import, one-click copy.

Live — the Markdown updates as you type
3 × 3

First row is the header. Use the ⬍ selectors above each column to set alignment.

Import data (paste CSV or cells from Excel / Google Sheets)

Markdown output

Your table is built on your device — nothing is uploaded or logged.

Markdown Table Syntax, Decoded

Markdown tables are just text with pipes: a header row, a divider row of dashes, then data rows. The fiddly part is the divider row — that's where alignment lives. |:---| aligns a column left, |:---:| centers it and |---:| pushes it right. Forget a pipe or mis-count a column and the table collapses into plain text — which is exactly why hand-writing tables in a README or Reddit post is so painful.

This generator writes flawless GitHub-Flavored Markdown for you: edit cells in the grid, set per-column alignment, and copy. It escapes | characters inside cells, pads columns so the raw text lines up beautifully (or use Compact mode for minimal output), and imports CSV or cells copied from Excel/Google Sheets. Preview the finished document in our Markdown Previewer, or convert full datasets with the CSV ⇄ JSON Converter.

Alignment cheat sheet

Divider syntaxAlignmentTypical use
|---| or |:---|Left (default)Names, descriptions, text
|:---:|CenterStatus badges, yes/no flags
|---:|RightNumbers, prices, percentages

Frequently Asked Questions

How do Markdown tables work?
Cells are separated by pipes (|): header row first, then a divider row like |---|---|, then data rows. Colons in the divider control alignment. GitHub, Reddit, Obsidian, Discord and most wikis render it.
How do I align columns?
With colons in the divider row: |:---| left, |:---:| center, |---:| right. Pick an alignment above each column and the generator writes the colons for you.
Can I convert CSV or Excel data?
Yes — open the Import area and paste CSV or cells copied from Excel/Google Sheets (tab-separated). The grid fills instantly; then copy the Markdown.
How do I put a | inside a cell?
It must be escaped as \| or it starts a new cell — this generator escapes pipes in your text automatically.
Does the output work on GitHub?
Yes — it's GitHub-Flavored Markdown (GFM), which also renders on GitLab, Reddit, Obsidian, Notion and most documentation platforms.