Convert Markdown to Excel Online
Open a Markdown table as a spreadsheet and save it as an XLSX workbook. The table is read in your browser and never uploaded.
Drop a CSV or Excel file here
CSV · XLSX · XLS · XLSM · XLSB
Ready to download as a binary file.
How to convert a Markdown table to Excel
Three steps from roadmap.md to an XLSX file.
1. Paste the table
Paste a Markdown pipe table or drop a .md file.
2. Check it in the grid
Edit cells that still contain Markdown syntax. In Excel, ** and backticks show up as literal characters.
3. Download XLSX
Click Download XLSX. The workbook (data.xlsx) is built from the grid as it is at that moment, in your browser.
Example: Markdown in, Excel out
A roadmap table pasted with a line of text above it and an emoji in one cell.
Q3 roadmap:
| Item | Owner | Status |
| :-------- | :---: | :---------: |
| SSO login | Dana | ✅ done |
| Audit log | Ravi | in progress || A | B | C | |
|---|---|---|---|
| 1 | Item | Owner | Status |
| 2 | SSO login | Dana | ✅ done |
| 3 | Audit log | Ravi | in progress |
The line "Q3 roadmap:" has no |, so it is ignored. The separator row and its colons are not data, so the workbook has the header in row 1 and SSO login in row 2.
What changes between Markdown and Excel
Built from the grid
The XLSX is made from the grid, row for row: the header row (Item, Owner, Status) is row 1 and the first data row is row 2. The "First row as header" checkbox affects only text outputs, not the workbook.
Real workbook
You get an Office Open XML .xlsx file, not a CSV with a different extension, so Excel opens it without the text-import step and without asking about delimiters.
Cells are trimmed
Each cell is trimmed, so the padding of a pretty-printed table doesn't reach the Excel. An escaped \| inside a cell becomes a plain |.
When to convert Markdown to Excel
- Handing a table from a README to someone who works in Excel.
- Continuing work on a docs table with sorting, filtering and formulas.
Markdown to Excel in JavaScript
A pipe table is easy to split by hand. Writing the .xlsx is the part TabularJS leaves to a writer library.
import { readFile } from 'node:fs/promises';
const lines = (await readFile('roadmap.md', 'utf8')).split('\n').filter((l) => l.includes('|'));
const cells = (line) => line.trim().replace(/^\||\|$/g, '')
.split(/(?<!\\)\|/).map((c) => c.trim().replace(/\\\|/g, '|'));
const header = cells(lines[0]);
const rows = lines.slice(2).map(cells); // lines[1] is the separator
// TabularJS reads spreadsheets but does not write them.
// [header, ...rows] is the 2D array an XLSX writer takes; this page
// builds the file with Jspreadsheet and its @jspreadsheet/render extension.
console.log([header, ...rows]);Like this page, the split skips the separator line and honours escaped pipes.
Frequently asked questions
Can I paste a table from a chat or an AI answer?
Yes, if it is a Markdown pipe table with a separator row. Lines without a | are ignored, so the text around the table doesn't get in the way.
Does the emoji survive?
Yes. Cell text is kept as is, emoji included, and Excel shows it as long as the font has the character.
My file has several tables. Can I convert them all?
Paste one table at a time. Every line containing a | is treated as part of the table, so two tables pasted together would be merged into one.
Can I edit the data before downloading?
Yes. Click any cell in the grid and type. The download always uses the current state of the grid.
Does roadmap.md get uploaded when I convert it to Excel?
No. The table is read in your browser and never uploaded.