Open editor
Excel to Markdown

Excel to Markdown table converter

Open a workbook or paste cells, and this Excel to Markdown converter gives you a neat table you can drop into a README, a doc or a chat.

How Excel to Markdown conversion works

Markdown tables are plain text: cells separated by pipes, with a row of dashes under the header. They are easy to read but slow to type by hand, and one missing pipe breaks the whole table. Converting a spreadsheet to markdown does the tedious part for you, including escaping pipes inside cells and lining the columns up so the table is readable even as raw text.

You can open an .xlsx, .xls, .ods or .csv file, or paste cells copied from Excel or Google Sheets. For an XLSX to Markdown conversion, every sheet in the workbook becomes its own table under a heading with the sheet's name. The values you see in Excel are used, so formulas are replaced by their results and merged cells are filled with their value. Line breaks inside a cell become <br>, and completely empty rows are skipped. Dates and numbers appear as they are formatted in the sheet.

Choose whether the first row is the header and how columns are aligned. The default puts numbers on the right and text on the left, the way a spreadsheet does. Formatting such as colours, borders, fonts and charts is not carried across. To go the other way, Markdown to Excel turns markdown tables back into a workbook, and the table generator lets you edit the result cell by cell.

Why use this Excel to Markdown tool

Paste straight from a spreadsheet

Copy cells in Excel or Google Sheets and paste; the columns are detected automatically.

Every sheet

Workbooks with several sheets give you a table for each one.

Neat columns

Columns are padded so the markdown lines up and is easy to read as text.

Private

Files are read in your browser with SheetJS.

How to convert Excel to Markdown

  1. Open an .xlsx, .xls or .csv file, or paste copied cells.
  2. Choose alignment and whether the first row is a header.
  3. Copy the markdown table or download a .md file.

Common uses for an Excel to Markdown table

Frequently asked questions

Can I paste from Google Sheets?

Yes. Copy the cells and paste them into the box; tabs between cells are detected.

What about merged cells and formulas?

Merged cells are filled with their value and formulas are replaced by their results.

Can I edit the table visually?

Yes, open it in the Markdown table generator.

How do I convert Excel to Markdown?

Open the .xlsx file, or select the cells in Excel, copy them with Ctrl C and paste them into the box. The Excel to Markdown table appears straight away, ready to copy, download or open in the editor. In Google Sheets, select the range and copy it in the same way.

Is my spreadsheet uploaded?

No. The file is read in your browser with SheetJS and never leaves your device. The tool is free, needs no account and also works in a mobile browser. That makes it fine for internal figures you would rather not send to an online service.

Can I convert a CSV file?

Yes, open it here or use CSV to Markdown. Commas and semicolons are both recognised as separators, and quoted cells containing commas are handled correctly.

Related markdown tools

See all 41 free markdown tools →