Skip to main content

Using an AI coding agent?

Run this first. It generates an AGENTS.md that teaches your agent how to use SuperDoc.
Then set up the MCP server so your agent can edit DOCX files directly:
Done. Ask your agent to open a .docx file and make an edit. MCP setup guide → · LLM tools →

Edit DOCX from backend code

SDK docs → · CLI docs →

Embed a DOCX editor

1

Install

2

Mount the editor

That’s a blank editor. Now give it a file.
3

Load a document

Pass a URL, a File from an input, or a Blob from your API.
Tracked changes, tables, images, headers/footers — all working.

Using React?

Install with npm install @superdoc-dev/react. Full React guide →

What’s next

Document Engine

Architecture and how to choose a surface

LLM tools

Build custom AI agents with the SDK

Framework guides

React, Vue, Angular, Vanilla JS

Examples

Working demos on GitHub