Excel to Markdown table
Turn a worksheet into a Markdown table you can paste into a README — first 500 rows, no upload.
What is Excel to Markdown table
Excel to Markdown conversion uses the first row as the header and the rest as body rows, joining cells with pipes. Pipes inside a cell are escaped and newlines collapse to spaces so the table never breaks. Because Markdown tables stop being readable as they grow, the output covers the first 500 rows.
File
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Why a Markdown table instead of CSV
A Markdown table is the only table format that stays readable as plain text while still rendering as a table. It is what you paste into a README, a pull request, a wiki or a chat message when the reader should not have to download anything.
Pipe characters inside a cell would break the table, so they are escaped. Line breaks inside a cell are replaced with a space, because a Markdown table row must occupy exactly one line.
The first row is treated as the header and a separator row is generated from it. Without that separator, Markdown renderers treat the whole thing as body text and the table does not render at all.
Where the format stops being a good idea
Wide tables become unreadable: beyond about eight columns, the source becomes a horizontal scrollbar in every renderer. Transpose or split the table before converting — and drop columns that the reader does not need, since a Markdown table has no way to hide them.
Markdown cannot express merged cells, multi-line cells or column alignment beyond left/centre/right. If any of those matter, the table should be an image or a PDF, not Markdown.
Very long cell values make the source file hard to read even though it renders fine. That is usually acceptable — the rendered output is what readers see — but it is worth knowing when the file is meant to be read as text.
How to use it
- 1.Choose an Excel file
- 2.Pick the worksheet
- 3.Run it, then copy the Markdown
How Excel to Markdown table works under the hood
An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.
- 1
Read the file as bytes
The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.
- 2
Unzip and parse the workbook
SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.
- 3
Rebuild rows in memory
Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.
- 4
Write the output locally
The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.
Processing pipeline
Why formulas arrive as values
A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.
What has no CSV equivalent
Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.
Where it gets slow
Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.
Verify it yourself
You do not have to take this on faith. Run the tool once with DevTools open.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Why stop at 500 rows?
Markdown tables degrade badly with size and wrap awkwardly on GitHub. 500 rows is the practical ceiling for pasting into docs; use CSV or JSON when you need every row.
How are pipes and line breaks handled?
Pipes are escaped as \| and line breaks become spaces, so columns stay aligned.
What about merged cells?
Only cells that hold a value are emitted; cells emptied by a merge come out blank.
What this kind of conversion cannot keep
Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.
More in Spreadsheets & Docs
On this page
- What is Excel to Markdown table
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →