Convert CSV to Markdown Table

Writing a README, a GitHub issue or docs page? Paste CSV or copy a range of cells from Excel or Google Sheets and get a Markdown table you can paste straight in.

  • Free
  • Runs in your browser
  • GitHub-flavored Markdown
  • No sign-up
How it works

How It Works

Make a Markdown table in three steps.

01

Paste your data

CSV text, or cells copied from a spreadsheet (they arrive separated by tabs).

02

Set header and alignment

Use the first row as the header or let the tool name the columns, and choose an alignment.

03

Copy the table

Paste it into GitHub, GitLab, Notion, Obsidian or any Markdown editor.

About

How do Markdown tables work?

A Markdown table is plain text: cells separated by pipes, a header row, then a row of dashes that marks the header and sets alignment. Writing one by hand for more than a few rows is slow and easy to get wrong, especially when a cell itself contains a pipe or a line break. This tool takes care of both and pads the columns so the table is readable before it is rendered.

Markdown tables are meant for small tables. For hundreds of rows, link to the CSV file instead; GitHub also renders .csv files as tables on its own.

Detects the separator

Comma, semicolon, tab or pipe, read from the first lines. Override it if the guess is wrong.

Escapes pipes

A | inside a cell becomes \| so it does not split the cell in two.

Line breaks kept

A quoted CSV cell that spans lines becomes <br>, which GitHub renders as a line break.

Alignment row

Left (:---), center (:---:) or right (---:) applied to every column.

Features

Why Use This Converter

From spreadsheet cells to a README table.

Paste from Excel

Copied cells come in tab-separated, and the tool detects that without any setting.

Readable source

Line up columns pads cells with spaces so the raw Markdown looks like a table too.

Uneven rows fixed

Short rows are filled with empty cells so every row has the same number of columns.

Private

Your data is converted in the browser, nothing is uploaded.

✓ No Registration✓ Free✓ Browser-based✓ Text Stays Local
FAQ

Frequently Asked Questions

Questions people ask about the CSV to Markdown Table converter.

Select the cells, copy them and paste them into the box. Spreadsheets copy cells separated by tabs, which the automatic separator setting recognises.