thoughtasylumTOOLBOX Preview

Tools › Text

Markdown Table

Turn a Markdown table, CSV, or rows pasted from a spreadsheet into a Markdown table, with the columns lined up and any alignment kept.

About this tool What it's for, how to use it and an example

What it's for

Make a Markdown table without lining up pipes by hand. Paste CSV or spreadsheet cells, or tidy an existing Markdown table so its columns line up.

For example, when you want a table from a spreadsheet in a README, a GitHub issue or your notes, or someone’s hand-made Markdown table has gone ragged.

How to use it

Paste a Markdown table, CSV, or rows copied from a spreadsheet, and choose Make table. The first row becomes the header. Tick Line up the columns to pad the cells so the table reads well as plain text too. An existing Markdown table keeps its column alignment (left, centre or right).

Example

Paste this and choose Make table:

Fruit,Price,Stock
Apples,£1.20,40
Blueberries,£2.50,12

With Line up the columns ticked, the result is:

| Fruit       | Price | Stock |
| ----------- | ----- | ----- |
| Apples      | £1.20 | 40    |
| Blueberries | £2.50 | 12    |

Good to know

Markdown tables can’t merge cells or hold line breaks inside a cell. Pipes (|) inside a cell need escaping as \| in most Markdown renderers.

A Markdown table keeps its column alignment. The first row becomes the header.

Private: this tool runs in your browser. Nothing you type, paste or choose leaves this page.

Saved you a few minutes? Say thanks with a coffee.

Something wrong with this tool, or missing from it? Report a bug or suggest a feature.

↑ ↓ move↵ openesc close