HedgeDoc
Real-time collaborative markdown note editor you can self-host — write together with rich formatting and seamless sharing.
Open source alternative to:
HedgeDoc (formerly CodiMD) is an open-source, self-hosted realtime collaborative markdown editor. Multiple users can edit the same document simultaneously with real-time sync, making it ideal for meeting notes, documentation, and knowledge sharing.
HedgeDoc supports the full CommonMark markdown spec plus many extensions: math equations (MathJax/KaTeX), diagrams (Mermaid, PlantUML, Graphviz), syntax-highlighted code blocks, interactive checklists, and embedded media. Documents can be published as presentations (using reveal.js), exported to PDF, or shared via public link.
For teams that collaborate on text documents, HedgeDoc provides a lightweight, privacy-friendly alternative to Google Docs or Notion. It integrates with various authentication providers (LDAP, OAuth, email) and can be deployed with Docker. Each document gets a shareable URL and notes are stored with full version history.
Categories:
Frequently Asked Questions
What is HedgeDoc, and how is it different from Notion?
HedgeDoc is an open-source, web-based, self-hosted collaborative markdown editor — the successor to the older CodiMD project, which was renamed in 2020 to avoid confusion with another tool. Unlike Notion's block-based editor, HedgeDoc works with raw Markdown you can paste into any other tool, with live preview and syntax highlighting. It also includes a presentation mode powered by reveal.js for turning notes into slides.
How does real-time collaboration work in HedgeDoc?
Multiple users can edit the same document simultaneously in the browser, with changes synced as they type — only a note link needs to be shared to invite collaborators. A per-note permission dropdown controls whether viewers can edit, have read-only access, or need to log in. Every note also keeps a full revision history, so any past version can be restored with one click.
What does it take to self-host HedgeDoc?
HedgeDoc has low system requirements and runs smoothly on a Raspberry Pi according to the project. The team provides both a ready-to-use bundle and a Docker image, with an install guide walking through setup. The source is AGPL-3.0-licensed TypeScript, and the project is currently working on a complete rewrite — HedgeDoc 2 — with an alpha available at hedgedoc.dev.
Does HedgeDoc support diagrams and rich content beyond Markdown?
Yes — HedgeDoc supports graph and diagram embeds (Mermaid and similar), mathematical formulas, and embedded media alongside plain Markdown. The presentation mode uses reveal.js to render a HedgeDoc document as a slide deck directly in the browser. These features make it more flexible than a basic text editor while staying focused on a single-document-per-note model.
Looking for contributors
This project is actively seeking help, join the community!
Repository details
Updated 8/12/2026, 1:00:34 PM
View RepositoryRepository activity
Compare HedgeDoc with
Similar open source alternatives
AppFlowy
Open source Notion alternative that brings projects, wikis, and teams together with AI while keeping you in control of your data.
HelixNotes
A fast, privacy-first local markdown note-taking app built with Tauri and SvelteKit. Your notes stay as plain .md files on your device.
Obsidian
Etherpad
Open-source real-time collaborative text editor you can self-host.
Google DocsJotty
Lightweight self-hosted app for managing personal file-based notes and checklists.
ONLYOFFICE
Self-hosted office suite with real-time collaboration.
Google Docs
CryptPad
CryptPad is an end-to-end encrypted, zero-knowledge collaborative office suite. Write, edit, and share documents, sheets, and code without servers reading them.
Google Docs