How to Convert a Markdown Table to an XLSX File
Download a Markdown table as a real .xlsx workbook with a bold header row, frozen top row, and numbers stored as numbers.
Direct answer
Paste the Markdown table into the converter and press Download .xlsx. You get a genuine Excel workbook — not a renamed CSV — with the header row bold and frozen, columns auto-sized, and numeric values written as numbers so SUM and AVERAGE work immediately.
Open Markdown to Excel converterWhen to use this
- Someone asked for a spreadsheet file rather than a pasted table.
- The data needs to be attached to an email or uploaded somewhere that expects .xlsx.
- You want the header row frozen without setting it up by hand.
Steps
- Paste the Markdown table into the converter.
- Optionally set the sheet name.
- Press Download .xlsx.
- Open the file in Excel, Numbers, LibreOffice, or Google Sheets.
- Check that numeric columns are right-aligned and can be summed.
Example conversion
| Line item | Q1 | Q2 | Q3 | | --- | ---: | ---: | ---: | | Licences | 42,000 | 44,500 | 47,000 | | Support | 12,300 | 12,300 | 13,100 | | Training | 5,600 | 7,200 | 6,900 |
Line item Q1 Q2 Q3 Licences 42,000 44,500 47,000 Support 12,300 12,300 13,100 Training 5,600 7,200 6,900
Common mistakes
- Do not rename a .csv to .xlsx — Excel will warn that the format does not match and some tools will refuse it outright. A real workbook is a different file format.
- Do not expect formulas to be recalculated; a cell beginning with = is written as a formula, but the converter does not evaluate it.
- Do not use a sheet name containing / \ ? * [ or ] — Excel rejects them, so they are stripped automatically.
FAQ
- Is the file a real Excel workbook?
- Yes. It is a standard OOXML .xlsx package with the workbook, worksheet, and style parts, so Excel, Google Sheets, Numbers, and LibreOffice all open it directly.
- Are numbers stored as numbers?
- Yes. Values like 1,240 and $980.50 are written as numeric cells, and percentages are stored as their decimal ratio. That is what makes SUM and charting work without a cleanup pass.
- Does the file leave my browser?
- No. The workbook is assembled in the browser and saved straight to your downloads folder. Nothing is uploaded.
- Can I get more than one sheet?
- Not from a single conversion — the output is one sheet per table. Convert each table separately and combine them in Excel if you need a multi-sheet workbook.
Related Excel guides
How to Paste a Markdown Table Into Excel
A pasted Markdown table lands in Excel as one column of text full of pipe characters. Convert it to a real grid first so every value gets its own cell.
How to Get a ChatGPT Table Into Excel
ChatGPT and Claude answer with Markdown pipe tables. Copying one into Excel gives you a column of pipe characters. Convert it to a grid first.
Fix Markdown Table Numbers Arriving as Text in Excel
Values that paste in left-aligned with a green triangle are text, not numbers, so SUM returns zero. Here is why it happens and how to avoid it.
How to Convert a Markdown Table to CSV
Download a Markdown table as RFC 4180 CSV with values containing commas and quotes escaped properly, ready for any importer.