Excel to array
Convert an xlsx worksheet into a raw 2-D JSON array without treating the first row as a header — handy when the sheet is just a matrix. Parsing runs in Rust-compiled WebAssembly, so the file never leaves your browser.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Pick a file — it is read and processed locally in your browser and never uploaded.
Loading the parser module…
Pick a file first.
Result
These are the real numbers from this run — copy them straight out.
Pick a file and set the options; the result shows up here.
What this tool does
- Feed the whole sheet to a script or an algorithm as a matrix.
- Keep the header row so column positions stay aligned.
- Check whether the sheet dimensions match what you expect.
Example
Input
A spreadsheet (the real sample from the spec)
Output
Rows: 3 Columns: 2 [["name","age"],["Ada",37.0],["Bob",42.0]]
The header row is kept as the first array entry; use the Excel-to-JSON tool if you want to skip it.
Frequently asked questions
Why keep the first row?
Array mode keeps the physical layout: the header stays in the array so column positions match the sheet exactly.
What does an empty sheet produce?
[] plus stats.rows = 0 — that is not treated as an error.
Are numbers floating point?
Yes. xlsx numbers are f64 underneath, so 37 becomes 37.0; round them yourself if you need integers.
Keywords:excel2arrwasm