Markdown table
generator

Fill in the grid, or paste rows from a spreadsheet, and copy the markdown table it makes. Columns line up in the output, so it reads well as plain text too.

Updated

The table’s cells. The first row is the header.
Markdown
| Plan | Seats | Price |
| :--- | :---: | ----: |
| Free |   1   |    $0 |
| Team |  10   |  $120 |
Preview
PlanSeatsPrice
Free1$0
Team10$120

§01

Paste from a spreadsheet or CSV

Copy cells in Excel, Google Sheets or Numbers and paste them into any cell of the grid. The grid grows to fit, starting from the cell you pasted into. Comma-separated text works the same way, including quoted values that contain commas.

To edit a table you already have, paste its markdown into the grid. The first row becomes the header and the alignment row sets each column’s alignment.

§02

Column alignment

Each column has its own alignment, written as colons in the line under the header.

LineAligns the column
:---Left
:---:Centre
---:Right
---Left, the default

Right-align columns of numbers so their digits line up.

§03

Pipes and line breaks in cells

A | in a cell would end the cell, so the generator writes it as \|. Markdown tables have no multi-line cells; a line break you paste into a cell becomes <br>, which GitHub and RenderMD show as a new line.

Cells can hold inline markdown: bold, code, links and images. Lists, headings and code blocks don’t fit in a cell.

§04

Writing tables by hand

The cheat sheet’s tables section has the full syntax with editable examples. The short version: separate cells with |, and put a line of dashes under the header row. The columns don’t need to line up for the table to render.

Frequently asked

How do I convert Excel to a markdown table?

Select the cells in Excel, copy them, click a cell in the grid above and paste. Then copy the markdown from the output.

Can a markdown table have no header row?

No. GitHub Flavored Markdown needs a header row and the line under it. Leave the header cells empty if you don’t want visible headings.

Can I merge cells?

Markdown tables have no merged cells. For that, write an HTML <table> with colspan or rowspan; GitHub and RenderMD both render it.

Is the table data sent anywhere?

No. The generator runs in your browser, and nothing you type or paste is uploaded.