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 asDocumentation Index
Fetch the complete documentation index at: https://superdoc-caio-sd-2929-configurable-toolbar.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
.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
- npm
- React
- CDN
2. Render the editor
- JavaScript
- React
3. Load a document
Pass a URL, aFile from an input, or a Blob from your API to document.
- URL
- File input
- Fetch
4. Export it
Defaultsuperdoc.export() triggers a browser download. To upload to your backend instead, ask for the raw Blob:
- Download
- Upload to backend
What are you building?
| You want to… | Start here |
|---|---|
| Embed Word editing in a web app | This page (already done) |
| Build a custom toolbar/sidebar | Custom UI |
| Use SuperDoc’s built-in toolbar/comments | Built-in UI |
| Edit DOCX from backend code | Document Engine SDK or CLI |
| Let Claude/Cursor edit DOCX files | AI > MCP |
| Add real-time collaborative editing | Collaboration |
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

