Markdown table
to Excel
Convert a Markdown table into a real, downloadable .xlsx file, ready to open in Excel, Google Sheets, or LibreOffice.
Table preview will appear here after conversion
NOTE: Download as CSV to open in Excel, Google Sheets, or any spreadsheet application. CSV format is universally compatible with all spreadsheet software.
Keep spreadsheet data in sync with your docs?
md0 CMS lets you manage the source tables in your GitHub repo through a visual editor, so the data you export never drifts from what's published.
Markdown table to Excel
Input format
- Paste any pipe-delimited markdown table
- The tool reads the header row and data rows automatically
Output
- Downloads a .xlsx file
- Opens directly in Microsoft Excel, Google Sheets, or LibreOffice Calc
Tips
- Column widths auto-fit to content
- Numbers in cells are preserved as numeric values, not strings
When to use this tool
Exporting from a docs repo
Your team stores spec documents or data tables in a GitHub repo as Markdown files. A stakeholder asks for the numbers in a spreadsheet. Paste the table here and hand them a working .xlsx in under a minute, instead of retyping everything.
After scraping or generating data
You used an LLM or a script to generate a comparison table in Markdown format. The output is ready, but your project manager needs it in Excel to add formulas and share with the client. Convert it here without touching the original Markdown source.
Static site data to spreadsheet
You maintain a pricing or feature comparison table in your MDX docs, and someone in finance needs the same data in a spreadsheet to build a report. This saves you from maintaining two copies of the same table in two formats.
How it works
Step 1: parse
The tool splits your Markdown input on pipe characters and identifies the header row by the separator line (the row with dashes like |---|). It strips alignment colons and extra whitespace automatically.
Step 2: type detection
Each cell value is checked against a numeric pattern. If the entire column contains numbers, those cells are written to the spreadsheet as numeric values rather than text strings, so Excel formulas like SUM and AVERAGE work on them immediately.
Step 3: generate file
A .xlsx file is assembled in your browser using the SheetJS library and downloaded directly to your machine. No data is sent to any server. Everything runs client-side.
Frequently asked questions
Does the Excel file open in Google Sheets?
Yes. The .xlsx format is supported by Google Sheets, LibreOffice Calc, Apple Numbers, and Microsoft Excel. Upload the downloaded file to Google Drive and open it there, or import it directly via File > Import in Google Sheets.
What happens if my table has merged cells or colspan?
Standard Markdown table syntax does not support merged cells. If your table uses them, the converter treats each pipe-delimited segment as a separate cell, and you will need to merge cells manually in Excel after downloading.
Is my table data sent to a server?
No. The conversion runs entirely in your browser. Your table content is never uploaded anywhere, which makes it safe to use with internal data, credentials tables, or proprietary information.
Can I convert multiple tables at once?
The tool converts one table per conversion. If your Markdown document has multiple tables, paste each one separately and download a file for each. For batch processing, use a script with a library like xlsx or csv-parse to automate it.
Related tools
Markdown table generator
Generate a Markdown table from scratch with a visual editor, then export it wherever you need it.
CSV to markdown table
Go the other direction: paste a CSV and get a properly formatted pipe-delimited Markdown table.
Markdown table to CSV
Export your Markdown table as a plain .csv file instead of .xlsx, useful for data pipelines and scripts.
Excel to markdown table
Go the other direction: upload an .xlsx or .xls file and get a properly formatted Markdown table.