OpenAltFinder
HedgeDoc

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.

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!

Visit HedgeDoc
License
AGPL-3.0
Self hostable
Yes
Repository details
Version
1.11.1
Created
3/27/2019
Stars
7,363
Forks
584
Open issues
269
Last commit
8/11/2026

Updated 8/12/2026, 1:00:34 PM

View Repository
Repository activity

Similar open source alternatives