Apache-2.0, not AGPL
Embed it in a closed product, rebrand it and change any part of the interface. No document server to run, and no licence to unlock customisation.
Apache-2.0 · Embeddable · Local-first
Word-grade editing, PDF import and AI agents in one Apache-2.0 engine that runs in the browser with no server. The ONLYOFFICE alternative you can embed, brand and ship without a licence gate.
Opens and saves
RTF opens; PDF opens as an editable document; HTML and Markdown are export formats.
Embed it in a closed product, rebrand it and change any part of the interface. No document server to run, and no licence to unlock customisation.
Opens, edits and saves on the device. No account, no upload, works offline, and collaboration only when your host connects a relay.
Its own pagination engine, real-text PDF and page images, and a report of anything a round trip could not keep. Without a per-seat licence.
The document itself is the source of truth. The canvas is a rendering surface; UI, storage, authentication, and network policy stay yours.
DOCX parses into a typed, editable model instead of being flattened into browser markup.
One Rust pipeline shapes, paginates, hit-tests, and renders across every host.
Every edit routes through a closed command set with undo. Everything around it is yours.
Shipped and in the editor now, from PDF import to agent tools.
Open a PDF and get a real document back: paragraphs, headings, lists and tables rebuilt from the page, the way Google Docs opens one.
One capability registry gives every editing command an agent twin, so AI tools reach the same features a person does.
Track, compare and protect a document the way Word does.
Tables and references with the controls a long document needs.
The small things that make typing feel right.
Objects you can place, style and arrange.
Co-editing is operational transformation over the engine's own transactions, so a remote edit runs through the same commands, checks and undo as a local one. The relay is optional and yours to host; one person editing alone needs none of it.
Experimental Host authentication and storage are integration work, and labels name participants by number.
A fast, local-first editor.
A fast, local-first editor.
Document semantics live inside OpenDoc. Product policy lives inside your host. That line is the whole design, so it is drawn rather than described.
A framework-free custom element, with roles and a capability contract resolved before the frame's first navigation, so an embed cannot be talked out of the mode it was given. Brand colours and chrome regions are yours to set.
<opendoc-editor mode="commentor" can="-download">
Create, read, edit, template, convert and render documents from JavaScript, Python, Java, Rust or the command line. Each language gets the names of the library it replaces (docx-js, docxtemplater, mammoth, python-docx, Apache POI), and one engine underneath lays the pages out, writes real-text PDF and reports what a save would lose.
What is supported, how it was measured, and where the gaps still are — including the ones we have not closed.
corpus documents matching LibreOffice's page count exactly; worst delta +2. A manual measurement, not yet a CI gate.
“Preserved or reported — never silently dropped.”
Content the engine does not understand is carried through untouched or named in a compatibility report. Of 28 graded families, 21 round-trip in full.
No account, no hosted backend. Every pull request runs the same gates you can run locally.
Putting the editor in your own page has its own guide: Embed the editor.
$ git clone https://github.com/CasualOffice/opendoc.git
$ cd opendoc
$ cargo test --workspace --all-features --locked
# run the browser editor locally
$ ./webapp/build.sh
$ ./webapp/serve.py
import init, { open } from "./pkg/casual_doc_wasm.js";
await init();
const doc = open(new Uint8Array(await file.arrayBuffer()));
// a page-local point (twips, page 1) → a model anchor
const at = doc.hitTest(1, 1440, 1440);
doc.insertText(at.node, at.offset, "Hello from OpenDoc");
const rgba = doc.renderPage(0, 96); // RGBA8888, page 0 at 96 dpi
const docx = doc.exportDocx(); // bytes, ready to save
Shipped, active, and planned are kept separate, so a pre-release reads as a status rather than a promise.
Semantic import and export, and byte-identical save of unedited packages.
Paragraphs, tables, sections and columns, floats with text wrap, and math.
PDF opens as an editable document, and an MCP server gives agents the editor's own commands.
Bring your own model over open standards, and sandboxed plugins anyone can build.
Read, write, convert and render documents headless, with APIs that feel familiar.
Comments, tracked changes, and every editing surface held to the Word and Docs standard.
Shipped behind an optional relay: presence, Share links, safe recovery, host-attested participants and a shared version history. Relay TLS, authentication and a published relay image are still to come.
Not yet: hyphenation · floating tables. Full roadmap
No account required for the demo. No opaque hosted backend.