Open editor
Markdown to Excel

Markdown to Excel: tables into real spreadsheets

Paste markdown with one or more tables and convert markdown to Excel in one click: an .xlsx workbook with a sheet per table, or a CSV file. Numbers stay numbers, so you can sum and sort them straight away.

Why convert a markdown table to Excel?

Markdown tables are easy to read in a README or a chat answer, but you cannot sort, filter or total them. Copying one into a spreadsheet by hand usually leaves you with the pipes and dashes in the cells, or with everything crammed into column A. Converting the markdown table to Excel properly saves that clean-up.

This markdown to xlsx tool reads every table in your document. Each one becomes its own sheet, named after the heading above it, and the first row stays as the header. Values like 1,250 or 3.5 are written as real numbers and percentages such as 32% become 0.32, so formulas work at once. Bold, code and link syntax is removed from cells, leaving just the text, and column widths are set to fit the content.

Text outside tables is ignored, so you can paste a whole report and keep only its data. For a single table in another format, download it as CSV or use Markdown to CSV. Going the other way, Excel to Markdown turns a spreadsheet into markdown tables.

The preview on the right shows each table exactly as it will appear as a sheet, so you can check the headers and values before you download. If a document has several tables, the CSV menu lets you pick which one to save. A markdown file with no tables shows a short note instead, with a link to the markdown table generator if you want to build one. Everything works the same on a phone or tablet, and the downloaded workbook opens in the Excel or Sheets app.

There is no sign-up, no limit and no cost. Header cells are kept as text, while the rows below are checked one value at a time, so a column of codes such as product numbers with letters in them stays as written.

Why use this Markdown to Excel tool

One sheet per table

A document with several tables becomes a workbook with a sheet for each, named after the heading above it.

Numbers stay numbers

Values like 1,250 or 3.5 are written as numbers, not text, so formulas work.

CSV too

Prefer CSV? Download the first table, or any table, as a CSV file.

Private

The workbook is created in your browser.

How to convert a markdown table to Excel

  1. Paste markdown that contains a table, or open a .md file.
  2. Check the tables found on the right.
  3. Press Download .xlsx or Download CSV.
  4. Open it in Excel, Numbers or Google Sheets.

Common uses for markdown to Excel

Frequently asked questions

What if my markdown has no table?

The tool tells you no table was found. Use the Markdown table generator to make one.

Does it keep column alignment?

No. Cell values come across, but column alignment markers such as ---: are not applied in Excel; set alignment there after opening the file.

Can I go the other way?

Yes, Excel to Markdown turns a spreadsheet into markdown tables.

How do I convert MD to XLSX?

Paste markdown that contains a table, or press Open file, check the tables found on the right, then press Download .xlsx. Every table in the document goes into the same workbook.

Will it open in Google Sheets and Numbers?

Yes. The .xlsx is a standard workbook. The CSV file is saved as UTF-8 with a byte order mark, so accented letters show correctly when Excel opens it.

Is the conversion private?

Yes. The workbook is built in your browser and nothing is uploaded. The tool is free and needs no account.

Related markdown tools

See all 41 free markdown tools →