SuperDoc (online demo) is an open source document editor bringing Microsoft Word capabilities to the web with real-time collaboration, extensive formatting options, and easy integration. Self-hostable with Vanilla JS, React, Vue, and more (code examples).
- 📝 Microsoft Word compatible: View and edit DOCX documents with great import/export, advanced formatting, comments, and tracked changes
- 🛠️ Easy to integrate: Open source, can be self-hosted, seamlessly integrates with React, Vue, vanilla JavaScript, and more
- 👥 Real-time collaboration: Features multiplayer editing, live updates, commenting, sharing, and revision history
- 📐 Extensible architecture: Modular design makes it easy to extend, brand, and customize
- ✅ Dual licensed: Available under AGPLv3 for community use and Commercial license for enterprise deployments
npm install superdocOr install with CDN
<link rel="stylesheet" href="https://unpkg.com/superdoc/dist/style.css" />
<script type="module" src="https://unpkg.com/superdoc/dist/superdoc.umd.js"></script>import 'superdoc/style.css';
import { SuperDoc } from 'superdoc';
// For CDN use - `SuperDocLibrary.SuperDoc`
const superdoc = new SuperDoc({
  selector: '#superdoc',
  toolbar: '#superdoc-toolbar',
  document: '/sample.docx', // URL, File or document config
  documentMode: 'editing',
  pagination: true,
  rulers: true,
  onReady: (event) => {
    console.log('SuperDoc is ready', event);
  },
  onEditorCreate: (event) => {
    console.log('Editor is created', event);
  },
});For a list of all available properties and events, see the documentation or refer to SuperDoc.js
Visit our documentation site and code examples. Key topics include:
- Installation
- Integration guides
- Collaboration setup
- Advanced customization
- Best practices
We keep our big work-in-progress items here:
- Check out our SuperDoc roadmap
- We prioritize the solving of big DOCX import/export/formatting needs
We love contributions! Here's how you can help:
- Check our issue tracker for open issues
- Fork the repository and create a feature/bugfix branch
- Write clear, documented code following our style guidelines
- Submit a PR with detailed description of your changes
See our Contributing Guide for more details.
- Discord - Join our community chat
- GitHub Discussions - Ask questions and share ideas
- Team email - Get help from our team
- Open Source: GNU Affero General Public License v3.0
- Commercial: Enterprise License
- Marijn Haverbeke and the community behind ProseMirror - which we built on top of to make SuperDoc possible
- Tiptap and the many amazing editors of the web - from which we draw inspiration
- These wonderful projects that SuperDoc uses: Yjs, FontAwesome, JSZip, and Vite
Created and actively maintained by Harbour and the SuperDoc community
 
  