For Word add-in developers

Agentic editing for your Word add-in.

Use SuperDoc’s document tools in your add-in now, and reuse the backend when you add SuperDoc’s embedded DOCX editor to your app.

Run the SDK and Document API in your backend. You choose storage and model data flow.

Review in Word
Native Windows Word showing a synthetic agreement and a pending tracked payment-clause edit from the included add-in reference.
Prepare tracked edits for your users to review.

Less custom DOCX code. More of your product.

Work with document tools

Find passages, prepare tracked replacements and inspect results. Keep your model, prompts and application rules.

Explore document operations

Run beyond an open Word session

Process DOCX on your backend. Use the Word connector to apply supported edits to the open file.

See the Word connector

Keep your backend as you expand

Reuse document operations and agent tools with SuperDoc’s embedded DOCX editor in your app.

Explore the in-app editor

Run one tracked edit, then build on it

  1. Find the clause

    Your application supplies the policy and context. SuperDoc finds the document passage.

  2. Propose a tracked edit

    Prepare a replacement your user can inspect before applying it in Word.

  3. Keep the user in control

    Applying a proposal leaves tracked revisions pending. Accept or reject them as a separate decision.

When you expand

Extend into your app.

Reuse the same backend with SuperDoc’s embedded DOCX editor.

Explore the in-app editor
The real SuperDoc browser reference showing the same synthetic agreement, a pending 60-to-30-day replacement and document editing controls.

Go deeper

The details, when you need them.

Map your Office.js code

Map the task before changing the architecture

The eight SDK recipes run with @superdoc/sdk 2.33.0. Eight independent Office.js recipes also passed in Windows Word. The shared connector demonstrates a narrower tracked body-paragraph replacement and saved-checkpoint workflow. These are separate qualifications, not eight connector migrations. Word proxies and SDK targets are not interchangeable.

Scroll sideways to compare the APIs. With the table focused, use arrow keys, Home or End.

Document taskOffice.js hostSDK recipeWord adapter and review boundary
Find one passage in the current documentWordApi 1.1findPassageRead-only; Word proxy and SDK targets are different
Propose a replacement as tracked editsWordApi 1.4replaceTrackedBody paragraphs and tables with resolved revision ownership; protected fragments refuse
Insert a clause with real numberingWordApi 1.3insertNumberedClauseNumbering changes may require unsupported package-wide definitions; do not assume fragment support
Read comments and tracked revisions for the customer's modelWordApi 1.6readReviewContextRead-only context is separate from comment mutation, which this adapter refuses
Update one table cellWordApi 1.3changeTableCellThe containing body table is the fragment unit, not a cell-level Word patch
Fill one content control by its tagWordApi 1.1fillNamedControlNot qualified for content-control fragments; native Office.js remains available in Word
Accept or reject a specific revision after human reviewWordApi 1.6decideRevisionSeparate human action, never proposal approval; SDK IDs and Word proxies are not interchangeable
Save a DOCX and continue at a guarded checkpointWordApi 1.1 plus CompressedFile 1.1 for desktop exportsaveForHandoffManual snapshot handoff with document identity and revision guard, not live coauthoring

Read both implementations, setup and limits

How Word, your backend and your app connect

Start in Word. Extend into your app.

Move supported document operations into SuperDoc. The reference Word connector captures the document and applies supported changes to the open file. Your backend document logic can also serve an in-app editor. Self-host the SDK in your infrastructure and keep DOCX storage under your application’s control.

The SuperDoc SDK and Document API run in your self-hosted backend. Your application owns DOCX storage, saved checkpoints, permissions and review. Word and the browser editor are separate surfaces; model calls are a separate application-controlled data flow.
Deployment shown: the SuperDoc SDK and Document API run in your infrastructure. Word manages its active file; your app stores backend DOCX copies and checkpoints. The local reference uses temporary in-memory sessions. Your app chooses what content reaches a model provider. The scripted quickstart makes no model calls.

What remains specific to Word?

Office.js remains the Word host interface for the pane, document capture and supported writes to the open file. This reference is not a whole-API compatibility layer or an import swap.

This reference is local and single-operator. A stale checkpoint refuses; an unknown Word write holds for inspection. Comments, headers, footers, global styles and unsupported fragment types need their own host path. It does not establish production authentication or live synchronization.

Why build with SuperDoc rather than use Claude or ChatGPT in Word?

Choosing what to build

A ready-made Word assistant can be a good fit when your team wants AI help inside Word. SuperDoc is for building document editing into your own product, with your application’s context, permissions, review steps and save workflow.

Start with a Word add-in, then reuse your backend document operations and agent tools in an in-app editor. You can use Claude or OpenAI models with SuperDoc. Your model supplies the reasoning; SuperDoc supplies the editor, document operations and agent tools.

What is verified in this reference?

The scripted example finds a 60-day payment clause and proposes 30 days. Your model is not called. Review and approve the proposal before it changes the open Word document.

Proposal approval applies tracked edits. Accepting or rejecting those revisions remains a separate review decision.

Actual Windows Word output: 60 days is struck through and 30 days is inserted as pending tracked changes. The confidentiality clause remains below it.
Actual Windows Word, November 29: the scripted example replaces 60 days with 30 as a pending tracked edit. Approving the proposal does not accept the revisions. No model was called.

This reference is local and single-operator. A stale checkpoint refuses; an unknown Word write holds for inspection. Comments, headers, footers, global styles and unsupported fragment types need their own host path. It does not establish production authentication or live synchronization.

Tested versions and host requirements are in the Word-first reference.

From your first tracked edit to your application

Start with the runnable Word reference. The scripted example needs no model key.

Setup, versions and the complete workflow

Install the pinned dependencies, trust the local development certificate and start the backend. Sideload the manifest in supported Windows desktop Word, then start the synthetic agreement in its pane. SDK 2.33.0 and browser editor 2.36.0 are pinned. This is a local evaluation reference.

  1. Open the synthetic agreement in Word

    Start it in the task pane, copy its checkpoint code, then download and open the DOCX. Load that code in the pane before preparing a proposal.

  2. Find the clause and prepare the replacement

    The scripted backend proposes a tracked change from 60 to 30 days. Word stays unchanged while you inspect or decline the proposal.

  3. Approve, inspect and save

    Approve the tracked proposal once. Inspect its pending revisions in Word, then save the DOCX. Applying the proposal does not accept the revisions.

  4. Continue in your app

    Save a shared checkpoint and load its new code in the browser editor. Reuse backend document operations and agent tools, with a separate integration for each surface.

Explore the Node.js SDK · Choose browser, server, agent tools or Word for the task

Bring the Word task your users need today and the app workflow you want to build next.

Open source and commercial licensing

Try the free DOCX editor · Get the React starter

Install SuperDoc, build your integration, and test it with your team for free. The install includes DOCX Engine as a dependency. Its separate license is designed to let you use it with SuperDoc’s open-source code under AGPLv3.

One Business license covers all SuperDoc features and uses within your licensed product, including the editor and DOCX Engine in production. You get a private Slack channel with our team for help integrating SuperDoc and troubleshooting tricky Word files as you build and after you ship. A custom Enterprise agreement can cover specific product areas or a defined platform. The order defines the covered products and entities, and you can add coverage as your rollout grows.

Get engineering help

Bring the Word task your users need today and the app workflow you want to build next.

The optional HubSpot form loads with JavaScript. Email support@superdoc.dev for engineering help. Marketing consent is separate. Privacy policy.