Markdown Table Generator

Build valid GitHub Flavored Markdown tables in an editable grid. Set per-column ...

SecureFastFree

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.

SSL Secured
256-bit Encryption
Cloud Processing
Mobile Friendly

Markdown Table Generator Features

Add & Remove Rows/Columns - Resize the table on the fly with one click
Alignment Separators - :--- :---: and ---: written for you
Pipe & Break Escaping - \| for pipes and <br> for line breaks
CSV / TSV / HTML Import - Auto-detects the delimiter on paste
Pretty Column Padding - Readable, aligned raw Markdown output
Live Table Preview - See the rendered result as you type

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

1

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.

2

Fill In and Align

Type into each cell and click the alignment icon above a column to set it left, center or right.

3

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.

Frequently Asked Questions

Set the number of columns and rows, type your header into the top row and your data into the cells below, and this tool writes the Markdown for you. A Markdown table is a header row, a separator row of dashes like | --- | --- |, then one row per line with cells wrapped in pipes. Copy the output or download it as a .md file.
Click the alignment icon above any column to cycle through default, left, center and right. The choice is written into the separator row: :--- for left, :---: for center and ---: for right. GitHub, GitLab and most Markdown viewers read those colons to align the whole column.
Just type it. A literal pipe would normally end the cell, so the generator escapes it as \| automatically. For example a cell containing a|b is written as a\|b in the Markdown, which renders as a|b in the table.
Yes. Click Import and paste your CSV or TSV, or copy a range from Excel or Google Sheets and paste it. The delimiter is detected automatically, quoted commas are handled, and the rows load straight into the editable grid so you can tidy them before copying the Markdown.
GitHub Flavored Markdown (GFM) tables use pipes to separate cells and a required separator row of dashes under the header. Colons in that separator control alignment. This tool always outputs valid GFM, so the result works in GitHub issues and READMEs, GitLab, Obsidian, Notion export and most static site generators.
Markdown table cells cannot contain a raw new line, so a line break inside a cell is written as an HTML <br> tag. If you paste multi-line content, the generator converts each new line to <br> for you so the row stays intact.
Yes. Every part of this generator runs locally in your browser. Your table content is never sent to a server, so it works offline once the page has loaded and nothing is stored or logged.

Related Tools