EveryDev.ai
Sign inSubscribe
Explore AI Tools
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    Home
    Tools

    2,407+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1565
    • Coding1169
    • Infrastructure524
    • Marketing445
    • Design418
    • Projects381
    • Research353
    • Analytics328
    • Testing219
    • MCP207
    • Data203
    • Security189
    • Integration168
    • Learning154
    • Communication144
    • Prompts138
    • Extensions133
    • Commerce123
    • Voice122
    • DevOps97
    • Web75
    • Finance21
    1. Home
    2. Tools
    3. docx-editor
    docx-editor icon

    docx-editor

    AI Development Libraries
    Featured

    Open-source WYSIWYG .docx editor for React and Vue with canonical OOXML, tracked changes, real-time collaboration, and an Agent API for AI-driven document editing.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free under the Apache 2.0 license. No usage limits, watermarks, or premium tiers.

    Engagement

    Available On

    macOS
    Web
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Development LibrariesAgent FrameworksDocument Collaboration

    Alternatives

    TiptapVercel AI SDKAG-UI Protocol
    Developer
    EigenPalSan Francisco, CAEst. 2025$500000 raised

    Listed May 2026

    About docx-editor

    docx-editor is an open-source WYSIWYG .docx editor library built by EigenPal, designed to run entirely in the browser without any backend. It uses OOXML as the canonical format throughout — no intermediate HTML serialization — so documents round-trip through Word, LibreOffice, and Google Docs without quality loss. The project is released under the Apache 2.0 license and published on npm under the @eigenpal scope.

    What It Is

    docx-editor is a JavaScript/TypeScript component library that lets developers embed a full-featured Word-compatible document editor into React or Vue 3 applications. Unlike editors that convert DOCX to HTML for editing and back again, docx-editor keeps OOXML as the internal representation at all times. This means tracked changes serialize to w:ins/w:del, comments serialize to comments.xml with w:commentRangeStart/w:commentRangeEnd markers, and the resulting .docx file opens correctly in Microsoft Word with full accept/reject UI intact.

    The library is structured as a monorepo of focused packages:

    • @eigenpal/docx-editor-react — React adapter with toolbar, paged editor, and plugins
    • @eigenpal/docx-editor-vue — Vue 3 adapter (beta), parity-tested against React
    • @eigenpal/nuxt-docx-editor — Nuxt 3 & 4 module wrapping the Vue adapter
    • @eigenpal/docx-editor-core — Framework-agnostic OOXML parser, serializer, and layout engine
    • @eigenpal/docx-editor-agents — Agent SDK, MCP server, AI SDK adapters, and chat UI components
    • @eigenpal/docx-editor-i18n — Shared locale strings for both adapters

    The Agent API

    The Agent API is a first-class feature of docx-editor, shipped as the @eigenpal/docx-editor-agents package. It provides a Word JS API-shaped bridge that lets AI agents read and write .docx documents — either inline inside a live editor session or headlessly on the server.

    Two transport modes:

    • Inline (browser): The useDocxAgentTools hook wires agent tool calls directly to a mounted <DocxEditor> instance. Paired with the Vercel AI SDK's useChat, LLM-generated tool calls execute in the browser and the user sees tracked changes and comments appear in real time.
    • Headless (server): DocxReviewer.fromBuffer() processes a .docx buffer without a DOM, making it suitable for server-side pipelines, CI workflows, or batch LLM processing.

    MCP server: The package ships a built-in MCP (Model Context Protocol) server, making the tool catalog available to any MCP-compatible agent runtime. The site also publishes /llms.txt and /llms-full.txt for LLM context discovery.

    Why it matters for agents: Because tracked changes and comments are native OOXML, an AI agent can write w:ins/w:del/w:comment markup directly into a document and hand it to <DocxEditor /> for human review. No custom diff format, no proprietary API — the agent's output is immediately reviewable in Word or LibreOffice.

    A drop-in <AgentPanel>, <AgentChatLog>, and <AgentComposer> UI kit ships with the React adapter for building side-by-side editor + chat interfaces.

    Collaboration and Tracked Changes

    Real-time collaboration is built on Yjs. Binding <DocxEditor> to a Yjs document enables live multi-user editing with shared cursors, presence, and conflict-free merging. The provider is user-supplied — y-webrtc works with zero infrastructure; PartyKit, Liveblocks, and Hocuspocus are supported for production deployments.

    Tracked changes use suggestion mode: every edit in suggesting mode becomes a tracked insertion or deletion with author attribution. Consecutive keystrokes group into a single change. Accept or reject individually or in bulk via the toolbar. The same tracked-changes state syncs across collaborators once Yjs is wired up.

    Comments are threaded, anchored to text ranges, and displayed in a Google Docs-style sidebar. They support reply, resolve, reopen, and delete. Comment state is managed via comments and onCommentsChange props and can be mirrored to a Y.Array for live sync.

    Framework Support and Setup Path

    The React adapter works with Vite, Next.js (App Router and Pages Router), Remix, and Astro. For Next.js, the component must be client-only ('use client' or next/dynamic with ssr: false) because ProseMirror requires the DOM at mount. The Vue adapter works with Vite and Nuxt; the Nuxt module auto-imports an SSR-safe <DocxEditor> without requiring a manual <ClientOnly> wrapper.

    The plugin system is built on ProseMirror plugins and supports custom toolbar actions, keyboard shortcuts, and document transformations. The i18n system ships with English, German, Polish, Brazilian Portuguese, Turkish, Hebrew, and Simplified Chinese locales, with community contributions welcome.

    Update: v1.0.2 and the 1.x Monorepo

    The 1.x release series shipped with Vue support, i18n, and the agents package — a significant expansion from the 0.x monolith (@eigenpal/docx-js-editor, now in archive mode). The latest release as of the available sources is @eigenpal/docx-editor-agents@1.0.2, published in May 2026. The migration from 0.x to 1.x is described as a single find-replace codemod with a moved-symbol map in the migration guide. A live preview of the main branch is continuously deployed at latest.docx-editor.dev.

    docx-editor - 1

    Community Discussions

    Be the first to start a conversation about docx-editor

    Share your experience with docx-editor, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free under the Apache 2.0 license. No usage limits, watermarks, or premium tiers.

    • WYSIWYG .docx editing in the browser
    • Tracked changes and comments
    • Real-time collaboration via Yjs
    • Agent API (inline and headless)
    • MCP server

    Capabilities

    Key Features

    • WYSIWYG .docx editing in the browser
    • Canonical OOXML — no intermediate HTML serialization
    • Tracked changes (w:ins / w:del) with author attribution
    • Threaded comments anchored to text ranges
    • Real-time collaboration via Yjs (y-webrtc, PartyKit, Liveblocks, Hocuspocus)
    • Agent API: inline and headless modes
    • MCP server for agent tool catalog
    • Vercel AI SDK integration
    • useDocxAgentTools hook for live editor agent wiring
    • DocxReviewer.fromBuffer() for headless server-side processing
    • AgentPanel, AgentChatLog, AgentComposer UI components
    • React and Vue 3 adapters
    • Nuxt 3 & 4 module
    • Plugin system via ProseMirror
    • Template variable insertion system
    • Built-in i18n (8 locales)
    • Pixel-perfect OOXML rendering: fonts, colors, images, tables
    • Ref methods: save(), getDocument(), setZoom(), scrollToPage(), print()
    • Zero backend required — fully client-side
    • Round-trip fidelity with Word, LibreOffice, Google Docs

    Integrations

    React
    Vue 3
    Nuxt 3 & 4
    Next.js
    Vite
    Remix
    Astro
    Yjs
    y-webrtc
    PartyKit
    Liveblocks
    Hocuspocus
    Vercel AI SDK
    MCP (Model Context Protocol)
    ProseMirror
    Microsoft Word
    LibreOffice
    Google Docs
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate docx-editor and help others make informed decisions.

    Developer

    EigenPal

    EigenPal builds an enterprise-grade AI platform for end-to-end document workflow automation. Backed by Y Combinator, the company serves $1B+ revenue enterprises across finance, insurance, manufacturing, and healthcare. The team includes alumni from McKinsey, Elastic, Accenture, and MIT. Built in San Francisco, EigenPal delivers production-ready document processing with 99% accuracy.

    Founded 2025
    San Francisco, CA
    $500000 raised
    3 employees

    Used by

    US Bank
    Elastic
    Two large European banks
    Read more about EigenPal
    WebsiteLinkedInX / Twitter
    2 tools in directory

    Similar Tools

    Tiptap icon

    Tiptap

    Headless, open-source rich text editor framework for building AI-native document editors with real-time collaboration, comments, AI agents, and 100+ extensions.

    Vercel AI SDK icon

    Vercel AI SDK

    A free, open-source TypeScript toolkit from the creators of Next.js for building AI-powered applications with a unified provider API and streaming support.

    AG-UI Protocol icon

    AG-UI Protocol

    An open protocol for connecting AI agents to frontend user interfaces with real-time streaming and event-driven communication.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    174 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    313 tools

    Document Collaboration

    Tools for collaborative document editing and management.

    9 tools
    Browse all topics
    Back to all tools
    Discussions