Conversion
Read and write Word, Excel, and PowerPoint formats, from Office Open XML and 97–2003 files to WPS, OpenDocument, PDF, images, and text.
Browse conversion formatsOfficeAPI · Rust document engine for products and on-device AI
OfficeAPI is a document engine written in Rust. Embed it as a library or run it as a process, and it converts and previews Word, Excel, and PowerPoint files entirely offline — for your users and for the models running beside them.
Fully offline · Zero dependencies · Runs on six operating systems
The file never leaves the device — not for users, not for local models.
The demo cycles through receiving a Word document, processing it, and delivering a PDF and a preview. It rests on the final stage when reduced motion is enabled.
How it works
Your product passes an office file to OfficeAPI through a library call or a process.
OfficeAPI reads the document and converts it or renders a preview, offline.
A converted file or a preview comes back to the surface your users are already on.
Two surfaces, one core
Both surfaces read the same documents, so a file you can convert is a file you can also show.
Read and write Word, Excel, and PowerPoint formats, from Office Open XML and 97–2003 files to WPS, OpenDocument, PDF, images, and text.
Browse conversion formatsRender documents, spreadsheets, and presentations for display inside your product, with no separate viewer service.
Browse preview formatsWhy Rust matters here
One engine runs on desktop, mobile, and server operating systems and plugs in through a library or a process.
Written in Rust, OfficeAPI combines memory safety with native performance on every platform it runs on.
Word, Excel, and PowerPoint families, including WPS and OpenDocument, with strong compatibility across versions.
Deploy on a local device or in a cloud environment you manage. No file is sent to a hosted service.
Ship OfficeAPI on its own, with nothing else to install or keep up to date alongside it.
On-device AI
On-device AI works on the files people already have. OfficeAPI converts Office documents into PDF, images, or CSV on the device, previews them in your app, and never uploads anything.
See OfficeAPI for on-device AIWhere it runs
OfficeAPI ships to the operating systems your product already targets, so the document step travels with the file instead of routing through a server.
See integration pathsTwo ways in
Pick the boundary that fits your architecture. Both paths run offline and speak to the same Rust core.
Compare integration pathsIn-process, lowest overhead
Link OfficeAPI directly into your application. Bindings are provided for Rust, Go, Java, C++, Python, and other popular languages.
Isolated, language-agnostic
Run OfficeAPI as a separate process and talk to it across a clear boundary, independent of your application's language or runtime.
Questions
Start with the formats