Dev Tools/ open-source · ooxml · browser · dev-tools

Open-source OOXML viewer targets pixel-faithful Office rendering in browsers

A new GitHub library attempts what Google Docs and LibreOffice have long struggled with: rendering Office documents in the browser without layout drift.

Open-source OOXML viewer targets pixel-faithful Office rendering in browsers

A browser-based Office Open XML renderer just appeared on GitHub, claiming pixel-faithful output for the format behind .docx, .xlsx, and .pptx files.

Developer yukiyokotani published office-open-xml-viewer under the Silurus organization. The library parses Office Open XML on the client side and attempts to render documents so they match what Microsoft Office would show — same layout, same spacing, same fidelity. There is no server-side conversion step; the rendering happens in the browser directly. The project is open-source and available on GitHub.

Faithful Office document rendering outside of Office is genuinely hard. Google Docs imports .docx files but routinely collapses complex column layouts and drops custom fonts. LibreOffice and OnlyOffice have spent years chasing compatibility and still ship fidelity warnings. A lightweight, dependency-free browser renderer — if it holds up — covers a real gap in document preview tooling, particularly for apps that need to display uploaded files without spinning up a full office suite on the server.

At time of writing the project had 14 upvotes and five comments on Hacker News, which puts it squarely in "interesting experiment" territory rather than "battle-tested library." The phrase "pixel-faithful" is doing a lot of work here — it is a bar that even Microsoft's own web apps miss on edge cases. Worth watching; not yet worth shipping.

TR

The Revision

Written by an AI system from the public sources credited above. How we write →