The Apryse Fall 2026 Release is Here: Explore What's New

WEB SDK · DOCX EDITOR

Embed Native Word Editing and Review in Your Web App

Apryse DOCX Editor is a client-side JavaScript SDK that lets users create, edit, and review Word DOCX files directly in the browser. It edits each file’s native OOXML with no upload or server round-trip. The same API lets automation pipelines act on tracked changes and content without any UI interaction.

The User Experience

Sanity Image
Sanity Image

Edit DOCX in the Browser, Not a Converted Copy

Format text, tables, headers, footers, and images directly in the DOCX file. What your users don’t touch stays exactly as it was when the file reopens in Word.

Sanity Image

Track Changes and Comments, Built In

Navigate, accept, reject, and comment on tracked changes directly in the editor UI. Redlines hold up when the file reopens in Word, not flattened into plain text.

Sanity Image

A Familiar, Word-Style Editing Experience

Fonts, styles, lists, and page layout behave the way users already expect from Word, with a WYSIWYG (What You See is What You Get) experience so there’s no new editor to learn.

Sanity Image

Accessible by Default

The UI meets WCAG 2.2 Level AA, so accessibility is built in rather than bolted on. See the accessibility guide.

Three Modes: Viewing, Editing, and Reviewing

Viewing Mode

In Viewing mode, the document cannot be edited. Users have read-only access to navigate, search, and read the file without making changes.

Editing Mode

Full editing capabilities are enabled: text and style editing, tables, headers, footers, images, and comments, all driven from your code or the built-in UI.

Reviewing Mode

Edits become tracked-change suggestions instead of applying directly, so changes can be reviewed before they're accepted.

Framework Support: React, Angular, Vue, Next.js, and More

DOCX Editor works with React, Angular, Vue, NuxtJS and Next.js, and inside platforms like Salesforce, Appian, Mendix, and OutSystems. It mounts to a DOM element, so the integration is the same in each. Viewing, PDF editing, and spreadsheet editing share the same API and UI framework, so what you use here carries across the rest of the Web SDK.

Sanity Image
Sanity Image
Sanity Image
Sanity Image
Sanity Image
Sanity Image
Sanity Image
Sanity Image
Sanity Image

Get DOCX Editor Running

Enabling the editor is a constructor option. Pass initialMode: ‘docxEditor’ to open straight into DOCX editing, or enableOfficeEditing: true when the same viewer handles other file types too. Anything that touches the document waits for the documentLoaded event.

Trusted where document fidelity and functionality standards matter most

autodesk logo
boeing logo
notability logo
docusign logo
egress logo
microsoft logo
thomson_reuters logo
encode logo
ibm logo
autodesk logo
boeing logo
notability logo
docusign logo
egress logo
microsoft logo
thomson_reuters logo
encode logo
ibm logo

DOCX Editor SDK Features at a Glance

Copied to clipboard

What the DOCX Editor add-on does, and what you can drive from code.

Capability
What it does
Layout
Sections, margins, column widths, line spacing, headers, and footers.
Opens in View mode, a read-only grid with sheet navigation and formula inspection. Edit mode activates from code. Reviewing mode enables tracked changes.
Insert and resize.
Accept, reject, or filter in the UI, or from code via TrackedChangeManager: accept, reject, navigate, retrieve by ID.
Programmatic Editing
Insert, delete, replace, search and replace, and cursor and selection control, through the API.
Copy and Paste
Structured content pasted from outside the editor keeps its formatting.
Comments
Add, edit, and resolve comments.
Programmatic search and replace for bulk edits. Same API pattern as the PDF and Spreadsheet editors.
Editor UI meets WCAG 2.2 Level AA.
Save or download the edited file as DOCX or PDF.
Client only, on a WebAssembly build of Apryse’s C++ engine. Edits the native OOXML with no conversion and no server round trip.
Desktop browsers. DOCX Editor is not supported on mobile browsers.

New V12.2 Release: Highlight Markup

DOCX Editor now includes a highlight markup tool, giving reviewers a way to flag text without opening a full comment thread. This release also improves search and replace performance.

Sanity Image

Deployment and Integration

Copied to clipboard

DOCX Editor runs in the browser as part of the Apryse Web SDK.

Attribute
Details
Integration model
A Web SDK add-on that mounts as a web component. initialMode: 'docxEditor' to open into editing, or enableOfficeEditing: true alongside other modes.
Rendering
Client-side in the browser. No server round-trip to edit.
Processing engine
WebAssembly build of Apryse's C++ engine. Edits native OOXML with no conversion to JSON or HTML.
Supported formats
Opens and edits DOCX. Saves to DOCX or PDF.
Frameworks
React, Angular, Vue, NuxtJS, Next.js, and Svelte.
Platform integrations
Salesforce, Appian, Mendix, and OutSystems.
Accessibility
DOCX Editor UI meets WCAG 2.2 Level AA.
Version & licensing
Requires WebViewer 12.0 with a DOCX Editor add-on license.

How Native DOCX Editing Works

Editing runs in the browser on a WebAssembly build of Apryse’s C++ engine, so nothing uploads and no server sits in the edit path. The editor works on the file's native OOXML rather than converting to JSON or HTML and back, so tables, headers, footers, and tracked changes stay intact.

File Support

Create new DOCX files from blank, or open and edit existing ones. Save back to DOCX or PDF.

Sanity Image

Customization

Once the editor signals ready, you drive everything through the JavaScript API: accepting or rejecting tracked changes, programmatic text edits, search and replace, and export.

Sanity Image

Client-Side Processing

DOCX Editor works on the file’s native OOXML rather than converting to JSON or HTML and back. The file is read into browser memory and processed there. DOCX Editor makes no network call to Apryse.

Sanity Image

Word-Correct Tracked Changes

Tracked changes are written as native OOXML markup that a reviewer’s own copy of Word already reads, not a plain-text diff layered on top after the fact.

Sanity Image

When to Consider DOCX Editor

Word-Fidelity Workflow

You want redlines, styles, and structure to stay intact through rendering, editing, and exporting, with no round-trip losses.

Data Security

When your users need to open and edit Word documents inside your app, with no data leaving the browser.

Word, PDF, Excel in One SDK

You need one Web SDK for multiple file types. Spreadsheet Editor and PDF Editing are add-ons to WebViewer.

Step-by-Step Tutorial for Building a React DOCX Editor with Apryse

DOCX Editor Alternatives: How Four Approaches Compare

Adding Word workflows to a web app usually comes down to four options: a self-hosted office service, a rich text editor, a full-platform document SDK, or building the surface yourself. Here’s how a client-side editor compares.

Over a self-hosted office suite

Copied to clipboard

Office suites need a document server for every open, save, and conversion that’s hosted, scaled, and patched by you. DOCX Editor edits Word files in the browser, in memory, with no editing server.

Over a rich text editor

Copied to clipboard

Rich text editors convert DOCX into JSON and rebuild the file on export, so custom styles, content controls, and document metadata can drop, and export writes a single section only. DOCX Editor edits the OOXML directly, and tracked changes are included rather than priced as a separate add-on.

For a detailed comparison, see DOCX Editor vs. Tiptap or the native OOXML vs. JSON architecture guide.

Over a full platform document SDK

Copied to clipboard

Full-platform SDKs often bolt Office editing onto a server or a proprietary JSON format, with PDF, DOCX, and spreadsheet handled as separate products on separate engines. DOCX Editor, Spreadsheet Editor, and PDF Editing share one WebAssembly core and one API. What you build for one carries to the others.

Over building it yourself

Copied to clipboard

The OOXML spec is large and Microsoft revises it yearly, so hand-built editors tend to pass early tests and then break on documents later on. Buying the editor turns that into a component maintained against the spec for you.

The fastest way to compare any of these on your own content: round-trip a real file through each editor and reopen it in Word.

Where Developers Use a DOCX Editor SDK

In-app document review

Open a file in View mode so reviewers read it inside your app, under your own permissions. No export to Word or a PDF reader first.

Redline review and approval

A reviewer accepts, rejects, or comments on tracked changes in your app. No emailing versions back and forth.

Automated tracked-change triage

Code auto-accepts routine tracked changes through TrackedChangeManager and routes only the substantive ones to a reviewer.

Test DOCX Editor on your files

Load your own DOCX and put the UI and the API to the test: editing, formatting, tracked changes, and programmatic calls, all in the browser.

Frequently asked questions

No. Editing runs on a WebAssembly build of Apryse’s C++ core, with no upload and no server round-trip.

Yes. TrackedChangeManager exposes acceptTrackedChange(id), rejectTrackedChange(id), moveCursorToTrackedChange(id), getTrackedChanges(), and getTrackedChangeOOXMLIds(). Each change has a numeric ID, so you act on one at a time.

Yes. TrackedChangeManager and the editor text-navigation APIs drive accept, reject, and navigation from your own controls, so the review UI is yours to design.

Yes. DOCX Editor offers both programmatic APIs and in-editor search and replace.

WebViewer is the base Web SDK for viewing, annotating, and editing documents. DOCX Editor is the add-on for DOCX files, and it sits beside the Spreadsheet Editor for Excel files, and the PDF editing for PDFs. Each editor works directly with its native file types for opening and saving. Enable whichever editors you need on the same SDK.

DOCX Editor is licensed as an add-on to the Apryse Web SDK and requires WebViewer 12.0. Contact Apryse for pricing based on your deployment and the capabilities you need.

DOCX Editor edits Word files entirely in the browser, with no Microsoft Word, Office, or LibreOffice required on the client or the server. It reads and writes the native DOCX format directly, so files stay compatible with Word without any Office dependency. It’s yours to embed in your own application.