CSV to Markdown Table

Turn pasted CSV or spreadsheet cells into a Markdown table.

Result

| Tool           | Size | Notes                   |
| :------------- | :--- | :---------------------- |
| JSON formatter | S    | Keeps big numbers exact |
| Diff           | M    | Line and word level     |
4 lines · 207 bytes

How do you make a Markdown table?

A Markdown table uses pipe characters and a divider row of dashes to make a grid in READMEs, wikis and docs. Typing one by hand is slow, because every row needs matching pipes and columns need to line up.

This tool converts CSV, or cells copied from a spreadsheet, into that layout. The sample, with three columns and two data rows, gives a header, a divider with alignment colons and the rows, padded so the columns line up in plain text.

How to use the CSV to Markdown Table

  1. Paste CSV or cells copied from a spreadsheet.
  2. Leave the delimiter on Detect, or pick one.
  3. Choose left, center, right or no alignment.
  4. Choose padded or compact columns and copy the result.

Real situations

When people use the CSV to Markdown Table

  • 1

    Paste a spreadsheet into a README

    Copy cells from Excel or Google Sheets, paste them here and get a table ready for GitHub.

  • 2

    Add a comparison to docs

    Write the data in a sheet, convert, and paste into a wiki or documentation page.

  • 3

    Format release notes

    Turn a CSV export of changes or issues into a neat table for a changelog.

  • 4

    Align numbers

    Choose right alignment so that numbers line up neatly in the rendered table.

Good to know

  • The first row becomes the header row.
  • Pipes in a cell are escaped, and line breaks become <br>.
  • Use padded columns for readable source and compact for the shortest text.

FAQ

CSV to Markdown Table: questions answered

How do I convert a spreadsheet to a Markdown table?

Select the cells in Excel or Google Sheets, copy them and paste them into the box. They arrive tab-separated, which the tool detects. Then copy the Markdown output into your file.

What does the alignment option do?

It sets colons in the divider row. Left uses :---, center :---:, right ---:, and none uses plain dashes. The sample with left alignment shows :------------- under Tool.

What is the difference between padded and compact?

Padded adds spaces so the pipes line up in plain text, which is easier to read when editing. Compact leaves out the extra spaces. Both render the same on a page.

How are pipes and line breaks in cells handled?

A pipe inside a cell is escaped so it does not split the column, and a line break becomes <br> because Markdown table rows must stay on one line.

Does every Markdown viewer support tables?

Tables are an extension used by GitHub flavored Markdown and many other tools, but not part of the original Markdown. Check that your viewer supports them.

Can I have no header row?

The converter always treats the first row as the header, since a Markdown table needs one. Add a header line of your own if your data has none.

Is this CSV to Markdown Table free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way