Rust · WebAssembly · Canvas 2D
@silurus/ooxml parses .docx, .xlsx and
.pptx with a Rust/WASM engine and paints them to a Canvas — no server,
no native apps, no iframe. The most faithful Office Open XML rendering on the web.
Each format's parser is written in Rust and compiled to WebAssembly — fast, memory-safe, and faithful to ECMA-376 / ISO-29500.
Rendered with the Canvas 2D API on the main thread, sharing the document's font set — so text metrics, wrapping, and page breaks match the original document.
docGrid snapping, line-spacing rules, theme colour modifiers, chart axis styling — implemented from the spec, never from per-sample heuristics.
Use the built-in viewers, or drive the headless engine into your own scroll views, thumbnail grids, and master–detail panes.
Live in this page
Each tab below is the actual library running a real document in your browser right now — Rust/WASM parse, Canvas paint. Switch formats, step through pages, scroll the sheet.
Go deeper — live demos and the code behind them, per format: DOCX · XLSX · PPTX
What it renders
A curated slice of what each format supports. The full, exhaustive matrix lives in the README.