A visual .docx editor for React and Vue. Edit paginated Word documents in the browser and preserve untouched content and unsupported OOXML when saving. Comments and tracked changes require the EigenPal Pro License.
Live demo | Documentation | Roadmap
Install the adapter for your framework and its required engine peer:
npm install @docx-editor.dev/react @docx-editor.dev/core # React
npm install @docx-editor.dev/vue @docx-editor.dev/core # VueSee the React or Vue quick start.
For Node.js, use ^20.16.0 || >=22.3.0. Browser applications can use the packages with their build tool.
| Feature | Description |
|---|---|
| Editor API | Automate documents in a browser or server with a supported subset of Word Office.js. |
| Review workflow | Add comments and tracked changes with the review module. |
| Word fidelity | Check rendering and editing support for document features. |
| Save and reopen | Preserve document structure, unsupported OOXML, and embedded files. |
| Collaboration | Edit together with remote cursors, shared changes, and personal undo. |
| Custom UI | Build controls with shared commands, components, and styles. |
| React and Vue | Use either adapter with the same document engine. |
| Translations | Translate editor controls with locale catalogs and custom strings. |
| PDF export | Convert DOCX to PDF on a Node.js server. |
| Markdown export | Convert DOCX to Markdown with page references and images. |
Review, collaboration, the Editor API, and PDF export require separate packages under the EigenPal Pro License.
| Package | Description | Docs |
|---|---|---|
@docx-editor.dev/react |
React editor components and hooks. | React adapter |
@docx-editor.dev/vue |
Vue 3 editor components and composables. | Vue adapter |
@docx-editor.dev/core |
DOCX parsing, editing, and rendering. | Core engine |
@docx-editor.dev/i18n |
Translations and locale types. | Translations |
@docx-editor.dev/fonts |
Open-licensed substitutes for Word fonts. | Fonts and measurement |
@docx-editor.dev/docx-to-markdown |