Developer Tools

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

NameRoleCity
Ada LovelaceProgrammerLondon
Alan TuringMathematicianCambridge
Grace HopperRear AdmiralArlington

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.

Frequently asked questions

How do I create a Markdown table?
Type your headers and values into the grid, add rows or columns as needed, and the Markdown output updates live. Copy it or download it as a .md file. You can also paste CSV or TSV data, or an existing Markdown table, and the grid fills itself in.
How do I align columns in a Markdown table?
Use the alignment dropdown above each column: Left, Center or Right. The tool writes the matching separator row for you: :--- for left, :---: for center, and ---: for right. The live preview shows the alignment exactly as GitHub will render it.
Can I paste a spreadsheet or CSV into the table generator?
Yes. Copy cells from Excel or Google Sheets, or paste CSV or TSV text, into the paste box and press Import CSV / TSV. The delimiter is detected automatically, and quoted fields that contain commas are kept together. The first row becomes the header.
Can I edit an existing Markdown table?
Yes. Paste the Markdown table into the paste box and press Import Markdown table. The grid is filled from it, including the per-column alignment read from the separator row, so you can change cells, add rows and re-export clean Markdown.
What happens to pipes inside a cell?
A pipe inside a cell is escaped as \| in the output, so it stays part of the cell instead of splitting it into two columns. When you paste a Markdown table back in, those escaped pipes are restored to plain pipes in the grid.
Where can I use the generated Markdown table?
Anywhere GitHub Flavored Markdown works: README files, GitHub issues and pull requests, GitLab wikis, Notion pages, and most static site generators and docs tools. If you need HTML instead, paste the output into the Markdown to HTML tool.
Disclaimer: Results are estimates for planning purposes only and are not financial advice. Actual loan terms, taxes and investment returns vary. Consult a qualified professional before making financial decisions.