Back to home

Markdown Table Generator

Edit the grid or paste rows copied from a spreadsheet, choose how each column is aligned, and copy the Markdown table.

  1. Edit the grid or paste your data
  2. Choose the alignment of each column
  3. Copy the Markdown
Loading the tool...

Your files never leave your device

Building a table without typing pipes

Markdown tables are easy to read but tedious to type, because every row needs pipes and the dash line must match the number of columns. This tool gives you an editable grid instead. Fill in the cells, add or remove rows and columns, and the Markdown appears in the output box ready to copy.

A worked example

Suppose you have a small price list in a spreadsheet with three columns and four rows, including the header. Copy those cells in Excel, paste them into the paste box, and the grid fills with 4 rows and 3 columns. Set the price column to Right, so numbers line up, and the dash line for that column ends with a colon.

Turning on the padding option adds spaces so every column has the same width in the plain text. The table looks the same once rendered, but the source is much easier to read in a README or a pull request.

Limits and things to watch

Markdown tables have no merged cells, no multi-paragraph cells and no row-spanning headers, so complex layouts need HTML instead. Very wide tables also scroll sideways on small screens, so keep columns short when the page will be read on phones.

Always preview the result where you will publish it. GitHub, documentation tools and note apps all render tables a little differently, and some need a blank line before the table to recognize it.

Frequently asked questions

Can I paste from Excel?

Yes. Copy the cells in Excel or Google Sheets and paste them into the paste box. Tabs, commas and semicolons are detected as column separators.

What does padding do?

It adds spaces so the columns line up in the plain text. The table renders the same either way, so this only helps people reading the raw Markdown.

How do I align a column?

Use the alignment menu above each column to choose left, center, right or default. The choice is written into the dash line of the table.

Why is there a backslash before a pipe?

A pipe separates columns in Markdown, so a pipe inside a cell must be escaped as \| or the row would split in the wrong place.

Does it support merged cells?

No. Markdown tables do not support merged cells, and the generator only produces standard tables that work in most renderers.

Is my data uploaded?

No. The table is built on your device and nothing you paste is sent anywhere.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D