Markdown table generator

Turn CSV or tab-separated rows (e.g. pasted from a spreadsheet) into a Markdown table.

Input

Output

3 rows, 3 columns
Words 14Characters 159Without spaces 146Sentences 1Lines 4Paragraphs 1Reading time < 1 min

About Markdown Table Generator

Writing Markdown tables by hand means counting pipes. Instead, paste CSV, or copy cells straight from Excel or Google Sheets (which gives tab-separated text), and get a ready-to-paste table for a README, a pull request or documentation.

Quoted CSV fields with commas or quotes inside are handled, pipe characters in cells are escaped, and columns are padded so the raw Markdown is readable too. Conversion runs locally in your browser.

How to use it

  1. Paste CSV or spreadsheet cells into the Input box.
  2. Leave Delimiter on Detect, or pick comma, tab, semicolon or pipe.
  3. Choose whether the first row is the header, and set the column alignment.
  4. Copy the Markdown table from the right.

Frequently asked questions

Can I paste directly from Excel or Google Sheets?

Yes. Copied cells arrive as tab-separated text, which Detect recognises.

What if my data has no header row?

Switch off “First row is the header” and the columns are labelled Column 1, Column 2 and so on, which you can rename afterwards.

How are line breaks inside a cell handled?

Markdown table cells cannot contain line breaks, so they are turned into <br>, which GitHub renders as a new line inside the cell.

Related tools