Skip to main content
By the end of this page you’ll have a working DOCX editor in your app: load a Word file, edit it, export it back as .docx.
Using an AI coding agent? Run npx @superdoc-dev/create in your project. It writes an AGENTS.md with SuperDoc-specific instructions and MCP setup. Then see Use SuperDoc with AI for the full path picker.

1. Install

@superdoc-dev/fonts serves SuperDoc’s bundled fallback fonts so Word fonts render without copying assets. It’s optional. See Font support.

2. Render the editor

That’s a blank editor. Give it a document.

3. Load a document

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

4. Export it

Default superdoc.export() triggers a browser download. To upload to your backend instead, ask for the raw Blob:
For HTML, JSON, or Markdown output, see Import and export.

What are you building?

What’s next

Custom UI

Build your own React toolbar, comments sidebar, and review panel

Document Engine

Programmatic DOCX editing from Node, Python, CLI, or AI agents

Framework guides

React, Vue, Nuxt, Angular, Laravel, Vanilla JS

Examples

Working demos on GitHub