TechNewsReel
Live

New Open-Source Library Brings Local Office Document Rendering to the Browser

The @silurus/ooxml library uses Rust and WebAssembly to render Office files directly on the client side, bypassing the need for cloud viewers.

TechNewsReel Newsroom · September 1, 2026

A new open-source JavaScript library, @silurus/ooxml, has been released to enable the browser-based viewing of Office Open XML documents. By moving the rendering pipeline entirely to the client side, the tool allows users to view .docx, .xlsx, and .pptx files without relying on external servers or native software.

The library employs a high-performance engine written in Rust and compiled to WebAssembly (WASM). This engine parses the complex structure of Office files and renders the content directly to a HTML5 Canvas 2D API. To ensure accuracy in document representation, the implementation is informed by the ECMA-376 and ISO 29500 specifications.

Technical capabilities vary by file type to mirror native Office functionality. For DOCX files, the library supports paginated layouts. XLSX support includes multi-sheet workbooks with frozen panes, while PPTX rendering handles slide master inheritance. This level of detail allows the library to maintain the visual integrity of the original documents while operating within a web environment.

The Shift to Client-Side Rendering

Traditionally, rendering Office documents in a web browser has required significant infrastructure. Developers typically rely on proprietary cloud-based viewers, such as those provided by Google Docs or Microsoft Office 365, or implement server-side conversion tools that transform documents into PDF or HTML formats before they reach the user. These methods often introduce latency and require files to be uploaded to a remote server.

By utilizing WASM, @silurus/ooxml eliminates the need for server-side conversion, native applications, or the use of iframes. This architecture ensures that local files remain local, providing a privacy-preserving alternative for document previewing. Because the processing happens within the user's own browser instance, the risk of data exposure during transit to a third-party server is removed.

Industry Implications

This project highlights a growing trend toward leveraging WebAssembly to bring complex, specification-heavy software to the web. The ability to handle ISO-standardized formats locally suggests that more professional productivity tools could move away from the "cloud-only" model toward a hybrid approach where the browser acts as a fully capable application shell.

However, the project has also sparked discussions regarding the reliability of such tools. On Hacker News, users have debated the security and stability of software developed through the methods described in the project's community discussions, specifically regarding the use of AI-assisted coding for complex specifications.

What to Watch

As the library evolves, the primary focus will be on the breadth of its feature support and its ability to handle edge cases in the OOXML specification. While the core rendering engine is functional, the community will be watching to see if the project expands its support for more complex formatting elements or integrates with existing web-based document editors. It remains to be seen how the library will scale with exceptionally large files that may challenge browser memory limits.

Sources

Get a notification when a big story breaks. A few a day at most — no spam.