# Documents that are web pages: why we render every Office file as HTML

> Source: <https://dev.to/halsen_turing_ee4d611ec6b/documents-that-are-web-pages-why-we-render-every-office-file-as-html-5ai5>
> Published: 2026-11-23 16:08:30+00:00

**Key takeaway:** OmniDoc's MCP server lets assistants like Claude and Cursor create and edit .udoc documents and export lossless HTML, Word and PDF in one call, while native layout engines keep keystroke-to-layout at about 9 ms.

*Written by the OmniDoc team about our own product, OmniDoc (至译).*

Word files, slide decks and PDFs are digital paper: lay it out, print it, done. But almost all reading now happens on screens, and the most capable layout and interaction technology on a screen is HTML. So OmniDoc renders every Office file as HTML.

UniDoc is the document editor in OmniDoc. Its native format, `.udoc`, is also a web page:

Example: a document about black-body radiation has a temperature slider. Drag it, and the Planck curve, the peak wavelength and the numbers in the text are recalculated together. Hard on paper, natural on the web.

Conversion runs offline and uses no credits, and the result can be published as a link in one click.

The editors run in a web engine, but layout and export use native engines on your computer: about 9 ms from keystroke to layout, 11 s to export a large Word file, about 1 s from PDF to HTML.

HTML is also friendlier to AI. OmniDoc Desktop includes an MCP server: Claude, Cursor and other assistants create and edit `.udoc` documents through it and export lossless HTML, Word and PDF in the same call. Charts, animations, flowcharts and equations come out in one go.

Dynamic content needs a suitable runtime. Opened offline, content that depends on outside services may not update, and printing or exporting a PDF shows a static view.

*Written with AI assistance and reviewed by the OmniDoc team.*
