Convert Excel to Markdown (or CSV)

Turn .xlsx workbooks into Markdown tables you can paste anywhere — or flip one switch and get plain CSV, the most token-efficient format for sheet data. All conversion happens on your Mac.

How to convert a spreadsheet

  1. Drop the .xlsx into Milldown.Multi-sheet workbooks convert every sheet, each under its own heading.
  2. Choose your output: Markdown tables (readable) or CSV (compact).Options → Output → "Spreadsheets as CSV". Multi-sheet workbooks get clear per-sheet markers.
  3. Copy or save — CSV exports save as a proper .csv file.

Markdown table or CSV — which should you use?

ChooseWhen
Markdown tablesHuman readers: documentation, Obsidian notes, GitHub READMEs, anywhere the table should render.
CSV modeMachine consumers: AI prompts, data pipelines, re-import into other tools. In our benchmark CSV uses 12–29% fewer tokens than the same data as a Markdown table.

Note: for pure sheet data, Markdown tables are actually more token-expensive than CSV — all those pipes add up. That's exactly why Milldown offers both and shows the token count either way.

Details

Formulas convert as their last computed values. Cell formatting (colors, borders) is presentation, not content, and isn't carried across. Legacy .xls files: re-save as .xlsx first.

The two output modes, on real data

The same transaction log from our benchmark corpus, both ways:

Markdown table — for humans
| Order ID | Date | Region | Product |
| --- | --- | --- | --- |
| ORD-2026-00001 | 2026-07-12 | AMER | Starter |
| ORD-2026-00002 | 2026-05-02 | LATAM | Professional |
CSV mode — for models
Order ID,Date,Region,Product
ORD-2026-00001,2026-07-12,AMER,Starter
ORD-2026-00002,2026-05-02,LATAM,Professional

Identical data; the pipes and alignment rows are pure formatting cost. On the full 400-row sheet: 15,298 tokens as a Markdown table, 11,901 as CSV — 22% lighter. One toggle.

What happens to your sheets

The one thing to check first

If a workbook has never been opened in a spreadsheet application, formula cells can come out blank. Excel stores the last calculated value alongside each formula, and that cached value is what conversion reads. A file generated by a script, or exported by a system that writes formulas without evaluating them, has no cached values to read. Open it once in Excel, Numbers or LibreOffice, save, and convert again — every value will be there. Files you have actually worked in are unaffected, which is the overwhelming majority of them.

Where it struggles

Further reading: Measured token savings by file type · Preparing documents for RAG

Try it on your own files

Milldown converts PDFs, Office documents, web pages, and scans into clean Markdown — entirely on your computer. Free for 7 days.

Download for macOS

macOS 14+ · Apple Silicon · $39 one-time after trial (excl. VAT) · no subscription