DOCX editor examples

Try the live demos, or build your own application with the starter projects on GitHub.

Starter projects

Choose a framework or workflow and build from a runnable project.

This app uses a language model to read an open DOCX and add comments to selected phrases. Saving the document preserves those comments for Microsoft Word.

Use a React panel to scroll to a paragraph reference, highlight it, or both. Choose the reference, effect, highlight style, duration, and scroll settings to see the result in the document.

This example loads the React DOCX editor as an Astro island in the browser. It includes the packaged toolbar and a review pane.

@docx-editor.dev/editor-api opens DOCX bytes, queues edits, and saves the edited document. This example fills template placeholders without a browser.

Receive complete DOCX files without replacing the open editor. Preserve scroll position and show temporary highlights with change summaries.

These deterministic agents execute document action plans using public editor-api imports. They create their input fixtures, save edited DOCX files, reopen them, and assert targeted edits and preserved content. No LLM credentials are needed.

Move the editor into its own browser window and back. The document, undo history, selection, and comments stay the same across each move. The example uses the Pro review module, so you can comment and suggest changes in either window.

This Remix and Vite example loads the React DOCX editor after the route mounts in the browser. It includes the packaged toolbar and a review pane.

Run a Node.js worker that joins a Hocuspocus room as **Review agent** and proposes Word tracked changes. Open the room in two browsers, then accept or reject suggestions from either browser.

This example records collaboration status, room size, and editing performance for editors in a shared Hocuspocus room. The server reports room counts, participant counts, memory use, and refused connections to Prometheus. Metrics exclude room names.

This example sends anonymous editor diagnostics and performance measurements to OpenTelemetry, Sentry, and the console. It records typing delay, layout and paint times, document opens, and refused edits with their hints. A panel beside the editor lists exported events.

This example runs an OpenTelemetry collector, Prometheus, Jaeger, and Grafana locally. Grafana includes the **Editor experience** and **Collaboration** dashboards.

This demo uses public built React and Vue package exports. It displays custom XML as a legal approval card and an inline reference chip. It also replaces the document's unsupported drawing placeholder.

Edit an open DOCX through typed agent tools backed by the public editor-api document model. The example requires the EigenPal Pro License.

Add AI-powered DOCX editing to your product with Vespper MCP and the EigenPal DOCX editor. Let agents apply edits directly or propose tracked changes for review.

.docx in. .docx out.

Open a real document in the editor, then wire it into your app. It all runs client-side.