Excel to Markdown

Paste data from Excel or Google Sheets to convert to a Markdown table

How to use:

  1. Select cells in Excel or Google Sheets
  2. Copy (Ctrl/Cmd + C)
  3. Paste below (Ctrl/Cmd + V)
Markdown will appear here...

Why Spreadsheet Data Needs Converting

Markdown has no spreadsheet format. It uses pipe tables — rows wrapped in | characters with a dashed separator line under the header — so pasting cells directly from Excel produces a wall of tab-separated text that renders as one long paragraph instead of a table.

When you copy a cell range, Excel and Google Sheets put tab-delimited text on your clipboard: cells separated by tab characters, rows separated by newlines. This tool detects those tabs, splits the text back into rows and columns, and rebuilds it as a valid Markdown table. The first row becomes the header, shorter rows are padded so every row has the same number of columns, and cell values are trimmed of stray whitespace.

Characters that would otherwise break the table

A literal pipe inside a cell would end the column early, so pipes are escaped as \|. A line break inside a cell would end the row early, so in-cell newlines become <br> tags — which render as real line breaks on GitHub, GitLab, and anywhere else that supports GitHub Flavored Markdown. Nothing is uploaded: the parsing and table building happen in your browser.

Frequently Asked Questions

How do I convert Excel data to a Markdown table?

Select and copy your cells in Excel, then paste them into the input area. The tool reads the tab-delimited text your spreadsheet puts on the clipboard and generates a Markdown table.

Do I need to upload my spreadsheet file?

No. There is no file upload — you paste cells straight from the spreadsheet. The conversion runs entirely in your browser, so the data never leaves your device.

Which row becomes the table header?

The first pasted row becomes the header row, and everything below it becomes body rows. Include your header row in the selection when you copy from Excel.

What happens to cells containing pipes or line breaks?

Pipe characters are escaped as \| so they do not break the table, and line breaks inside a cell become <br> tags, which render as new lines on GitHub and other GFM platforms.

Does it work with Google Sheets, Numbers, and LibreOffice?

Yes. Any spreadsheet that copies cells as tab-delimited text works — Excel, Google Sheets, Apple Numbers, and LibreOffice Calc all do.

Related Tools