Markdown Table Generator
Build valid GitHub Flavored Markdown tables in an editable grid. Set per-column ...Build valid GitHub Flavored Markdown tables in an editable grid. Set per-column alignment, escape pipes automatically, import CSV or TSV, and preview ...
Updated
| H | |||
Row H is the header. Click an alignment icon above a column to switch it between default, left, center and right.
| Name | Role | Location | | ------------ | ---------- | ---------- | | Ada Lovelace | Engineer | London | | Alan Turing | Researcher | Manchester |
Quick answer
To make a Markdown table, fill in the editable grid: the top row is the header, the row below it becomes a separator of dashes like | --- | --- |, and each row after that is one line of cells wrapped in pipes. This tool writes that syntax for you, escapes any pipe inside a cell as \\|, adds :--- or :---: or ---: when you set a column's alignment, and lets you import CSV or TSV. Everything runs in your browser and you can copy or download the .md.
Markdown Table Generator Features
Why Use Markdown Table Generator?
Editable Spreadsheet Grid
Type into cells like a spreadsheet. Add or remove rows and columns, and the Markdown updates live as you edit.
Per-Column Alignment
Set each column to default, left, center or right. The choice is written into the separator row as :---, :---: or ---:.
Automatic Pipe Escaping
A pipe inside a cell is escaped as \| so it never breaks the table. Line breaks become <br> automatically.
Import CSV, TSV or HTML
Paste CSV, TSV, an existing Markdown table or an HTML table and it loads straight into the grid. The delimiter is auto-detected.
Pretty or Compact Output
Toggle padded columns for raw Markdown that lines up when read as plain text, or compact output for the smallest diff.
Live Rendered Preview
See the table rendered exactly as it will appear on GitHub or in a Markdown viewer, updating as you type.
100% Private
The whole tool runs in your browser with JavaScript. Nothing you type is uploaded to any server.
Copy or Download .md
Copy the Markdown to your clipboard in one click, or download a ready-to-use .md file. Free, no signup.
What People Build With It
README & Docs
Build feature comparison and config tables for GitHub READMEs, wikis and project documentation.
Static Site Blogs
Drop clean Markdown tables into Jekyll, Hugo, Astro or Next.js MDX posts without hand-counting pipes.
Notes & Obsidian
Create tidy tables for Obsidian, Notion and other Markdown note apps straight from pasted data.
Issues & Pull Requests
Format test matrices and checklists as tables in issues, pull requests and Discord messages.
How It Works
Set Your Rows and Columns
Use the Row and Column buttons to size the grid, or paste existing data with Import. The first row is the header.
Fill In and Align
Type into each cell and click the alignment icon above a column to set it left, center or right.
Copy or Download
Grab the generated GitHub Flavored Markdown from the output panel with Copy, or download it as a .md file.
Tips & Shortcuts
Paste From a Spreadsheet
Copy cells from Excel or Google Sheets and use Import. They paste as tab separated values, which the tool detects automatically.
Keep Diffs Small
Turn off column padding for the most compact output, which produces the smallest diff when the table lives in a Git repo.
Alignment Is One Click
The alignment icon above each column cycles default to left to center to right, so you never have to type the colons by hand.