Markdown Table Generator
Build a Markdown table online for free with a spreadsheet-style grid: type into cells, add rows and columns, set per-column alignment, paste CSV or an existing Markdown table, and copy the padded Markdown or download it as a .md file, with a live rendered preview. 100% in your browser, nothing is uploaded.
Your table
Header row · Tab / Enter to move between cells
Paste data into the grid
Markdown output
| Name | Role | City | | :----------- | :------------ | :-------- | | Ada Lovelace | Programmer | London | | Alan Turing | Mathematician | Cambridge | | Grace Hopper | Rear Admiral | Arlington |
Live preview
| Name | Role | City |
|---|---|---|
| Ada Lovelace | Programmer | London |
| Alan Turing | Mathematician | Cambridge |
| Grace Hopper | Rear Admiral | Arlington |
4 rows · 3 columns · 12 filled cells · 224 characters
How do Markdown tables work?
A Markdown table is plain text: the first line is the header, the second line is a row of dashes that separates it from the body, and pipes separate the columns. The dash row also sets alignment: :--- aligns left, :---: centers, and ---: aligns right. Pipes inside a cell are escaped as \| so they do not split the cell. This tool pads every column so the raw text stays readable, and the preview shows exactly how GitHub, GitLab and most Markdown renderers will display it.
Privacy: everything runs in your browser. Your table data is never uploaded, stored or seen by anyone else.
More developer tools
How this calculator works
A Markdown table is plain text with pipes: the first line holds the headers, the second line is a row of dashes that separates the header from the body, and every line after that is one row of the table. The dash row does double duty: :--- aligns a column to the left, :---: centers it, and ---: aligns it to the right, so alignment is part of the table itself rather than a separate setting. Pipes inside a cell are escaped as \| so they stay inside the cell instead of splitting it, and empty cells are just two pipes with nothing between them. GitHub, GitLab and most Markdown renderers read this exact format, which is why it is the standard way to put a table in a README, a pull request or a wiki page.
Typing pipes and dashes by hand gets old fast, especially when a column grows and the raw text stops lining up. This generator gives you a spreadsheet-style grid instead: click a cell and type, press Tab or Enter to move to the next cell, add or remove rows and columns, and pick the alignment for each column from a dropdown above it. If the data already exists somewhere else, paste it in: spreadsheet cells and CSV or TSV text are detected automatically, quoted fields with commas inside them are handled, and an existing Markdown table can be pasted back in and parsed into the grid, alignments included, so you can edit a table someone else wrote. The Markdown output stays padded so every column lines up in the raw text, and the live preview shows the rendered table exactly as it will appear.
Everything runs in your browser: the table is built on your device, so your data is never uploaded, stored or seen by anyone else. Copy the Markdown to paste it into a README, a GitHub issue, a Notion page or a blog post, or download it as a .md file to keep with your project. If you need the finished table as a web page instead, convert the Markdown with the Markdown to HTML tool, and if your source data is JSON rather than a spreadsheet, turn it into rows first with the JSON to CSV Converter.
