HedgeDoc

What HedgeDoc is
HedgeDoc is a free, open-source Markdown editor for collaborative notes, diagrams and presentations, available in a web browser or on self-hosted infrastructure. Users can work on notes together in real time by sharing a link, and guest access is supported. Notes can include graphs, diagrams and embedded content; Markdown slides can be presented using reveal.js. Revision history records changes and lets users restore an earlier version. HedgeDoc 1.x provides six note permission settings, from open access to private, and only the note owner can change a note’s permission. Documentation describes authentication integrations such as LDAP, OAuth, SAML, GitHub, GitLab, Keycloak, Mattermost, Nextcloud and Microsoft Entra ID. Image uploads can use several storage backends, including filesystem, Imgur, S3, MinIO, Azure and Lutim. Deployment options include a ready-to-use bundle and an official Docker image supporting amd64 and arm64. Built-in PDF export is deactivated; the project suggests printing to PDF in a browser instead. HedgeDoc’s source code is licensed under AGPL 3.0.
Who it suits
HedgeDoc suits people or teams who want shared Markdown notes, diagrams or presentations in a browser or on infrastructure they host. Its self-hosted options and authentication integrations may suit organisations managing their own deployment.
What it does well
- Supports real-time collaboration through shared note links.
- Markdown slides can be presented with reveal.js.
- Revision history allows restoring older versions.
- Offers six note permissions in HedgeDoc 1.x.
- Provides self-hosted deployment options, including Docker.
What to know first
- Built-in PDF export is deactivated.
- Only the note owner can change note permissions.
- Multiple server instances should not use the same database.
- Native app coverage is web.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| HedgeDoc | open source · AGPL 3.0 | Free |
As hedgedoc.org lists them, read 7 Oct 2026. The maker's own page has the final word.
Getting started
- Open https://hedgedoc.org/
- Choose the web option or deploy HedgeDoc on infrastructure you host
- Use the ready-to-use bundle or the official Docker image
- Share a note link to collaborate in real time
HedgeDoc is a free, open-source editor for collaborative Markdown notes, diagrams and slide presentations, available in the browser or as a self-hosted service. It is best for Markdown-comfortable teams that want shared editing under their own deployment; the key trade-offs are the missing built-in PDF export and a limit on running multiple server instances against one database.
Overview
Sharing a note link enables real-time collaboration, and unlimited revisions let users revisit changes or restore an earlier version. Guest access makes it possible to involve collaborators without requiring every participant to be a named teammate. HedgeDoc stays focused on Markdown documents rather than offering a broader suite of document workflows, and it has no comments feature.
Self-hosting gives teams control over deployment, with a ready-to-use bundle and official Docker image available. The project’s FAQ cautions against running multiple HedgeDoc servers on the same database because the server process is not entirely stateless. That makes the deployment a better fit for a single-instance setup than a horizontally scaled service.
Key features
Collaboration and access control
HedgeDoc 1.x provides six note permissions: Freely, Editable, Limited, Locked, Protected and Private. Only the note owner can change a note’s permission, so owners retain control of access, but they need to choose settings carefully when sharing sensitive or collaborative work. Without comments, feedback must be incorporated into the note or handled elsewhere.
Presentations, diagrams and embeds
Markdown notes can be presented as slides through reveal.js, while support for graphs, diagrams and embedded content gives documents ways to explain information beyond prose. This makes HedgeDoc useful for teams that already write in Markdown and want notes and lightweight presentations in one workflow. It is less suited to readers who need a standalone presentation tool or a more general document editor.
Integrations and deployment choices
Authentication integrations include LDAP, OAuth, SAML, GitHub, GitLab, Keycloak, Mattermost, Nextcloud and Microsoft Entra ID. Image uploads can use filesystem, Imgur, S3, MinIO, Azure or Lutim storage. Docker images support amd64 and arm64. Administrators can configure HSTS and Content Security Policy; the project warns that disabling CSP significantly reduces application security.
Built-in PDF export is disabled following security vulnerabilities involving the headless Chromium instance used to generate PDFs. Browser print-to-PDF is the suggested workaround, but it is less convenient than an integrated export option.
Pricing
HedgeDoc is open source under the AGPL 3.0 license and has one free plan, HedgeDoc, priced at $0. It includes real-time editing, unlimited version history and guest access. There are no comments, and the plan’s web coverage does not include a native app. For teams that can host and maintain the service, the zero-price plan avoids a paid seat commitment; the cost is managing the deployment yourself.
Platforms
HedgeDoc is available on the web and as self-hosted software. Its official Docker image supports amd64 and arm64, while the web interface is the product’s native app coverage. The source code is licensed under AGPL 3.0.
Who it's for
Choose HedgeDoc if your team is comfortable writing Markdown, values real-time collaboration and revision recovery, and wants control over where the service runs. Its permissions, authentication integrations and image-storage options suit teams configuring a shared deployment. Look elsewhere if built-in PDF export, comment threads, native desktop apps or multiple application instances sharing one database are requirements.
Pros and cons
- Pro: Real-time editing, guest access and unlimited revisions support collaborative work without a paid plan.
- Pro: Markdown presentations, diagrams and embedded content extend shared notes into visual explanations and slide decks.
- Pro: Self-hosting, broad authentication integrations and multiple image-storage backends give administrators deployment choices.
- Con: Built-in PDF export is disabled, leaving browser print-to-PDF as the workaround.
- Con: The service should not be run as multiple instances against the same database, limiting that deployment pattern.
- Con: No comments or native app coverage means feedback and desktop use need other tools or a browser.
Alternatives
StackEdit is another free, open-source web editor if you want a browser-based Markdown option; no paid plans or usage limits are stated on its maker’s pages. PanWriter is worth considering if you want a free, open-source editor for Linux, macOS or Windows rather than a web-only tool.
HackMD may fit teams that prefer a web-based freemium service with a Free plan capped at three teammates, three invitees, three custom templates, 20 GitHub pushes per month and 1 MB per image. MarkText is a free, open-source alternative for Linux, macOS and Windows with no account or subscription.
Ghostwriter is a free, open-source GPL v3.0 option for Linux, macOS and Windows. Dillinger is another free web option, with no signup, paywall or usage limits. Zettlr offers free, open-source software for Linux, macOS and Windows without payment to download. Muesli is a free, AGPL-3.0 open-source alternative spanning web, self-hosted, API and desktop platforms.
For a broader shortlist, see Markdown editors, Writing Apps, Collaborative Document Software, Document Collaboration Software and Note-taking apps.
Verdict
HedgeDoc is a strong choice for Markdown-oriented teams that want free live collaboration, revision recovery and control through self-hosting. Its presentation and access features add useful range without requiring a paid plan. Choose another tool if dependable built-in PDF export, comment threads or a multi-instance deployment are central to your workflow.
Verdict
HedgeDoc combines collaborative Markdown editing with presentation, revision and permission features. Its disabled PDF export and server-scaling constraint are worth considering when planning a deployment.
Questions
How much does HedgeDoc cost?
The HedgeDoc plan is free. It is open source under AGPL 3.0.
Can I use HedgeDoc without self-hosting?
Yes. HedgeDoc is available on the web as well as for self-hosting.
Can people collaborate without accounts?
Guest access is supported, and users can collaborate in real time by sharing a note link.
Does HedgeDoc have a native app?
Its listed native app coverage is web.
Can I export a note as a PDF?
Built-in PDF export is deactivated. Browser print-to-PDF is suggested in the meantime.
What authentication integrations are documented?
The documentation describes LDAP, OAuth, SAML, GitHub, GitLab, Keycloak, Mattermost, Nextcloud, and Microsoft Entra ID.
Facts from HedgeDoc's own pages
- Authentication
- For production instances, the documentation recommends LDAP, SAML or OAuth2; it says the built-in username and password system lacks features such as two-factor authentication and self-service password resets. · docs.hedgedoc.org, 7 Oct 2026
- Community support
- The project invites users to ask questions and discuss improvements in its Matrix room or Discourse forum. · hedgedoc.org, 7 Oct 2026
- Deployment
- The project provides a ready-to-use bundle and Docker image for server installation. · hedgedoc.org, 7 Oct 2026
- Diagrams
- HedgeDoc supports multiple types of graphs, diagrams and embedded content. · hedgedoc.org, 7 Oct 2026
- Diagrams and embeds
- The product supports multiple types of graphs, diagrams and embedded content. · hedgedoc.org, 4 Oct 2026
- Image storage
- Image uploads can use filesystem, Imgur, S3, MinIO, Azure or Lutim backends. · docs.hedgedoc.org, 7 Oct 2026
- License
- HedgeDoc source code is available on GitHub under the AGPL 3.0 license. · hedgedoc.org, 7 Oct 2026
- Live collaboration
- Users can collaborate in real time by sharing a note link. · hedgedoc.org, 7 Oct 2026
- PDF export
- Built-in PDF export was deactivated after security vulnerabilities; the FAQ says it may return no earlier than HedgeDoc 2.1 and suggests browser print-to-PDF in the meantime. · docs.hedgedoc.org, 7 Oct 2026
- PDF export limitation
- PDF export was deactivated after security vulnerabilities related to the headless Chromium instance used to generate PDFs; browser print-to-PDF is suggested in the meantime. · docs.hedgedoc.org, 4 Oct 2026
- Permissions
- HedgeDoc 1.x offers six note permissions: Freely, Editable, Limited, Locked, Protected and Private; only the note owner can change a note’s permission. · docs.hedgedoc.org, 4 Oct 2026
- Permissions and revisions
- Notes have configurable access permissions, and revisions let users track changes and revert to older versions. · hedgedoc.org, 7 Oct 2026
- Presentation mode
- HedgeDoc supports creating and presenting slides written in Markdown, powered by reveal.js. · hedgedoc.org, 4 Oct 2026
- Presentations
- HedgeDoc supports building and presenting Markdown slides powered by reveal.js. · hedgedoc.org, 7 Oct 2026
- Product
- HedgeDoc is an open-source, web-based, self-hosted collaborative Markdown editor for notes, graphs and presentations. · hedgedoc.org, 7 Oct 2026
- Project history
- HedgeDoc was formerly called CodiMD and was renamed in 2020 to avoid confusion with another project of the same name. · hedgedoc.org, 4 Oct 2026
- Real-time collaboration
- Users can collaborate on notes in real time by sharing a note link. · hedgedoc.org, 4 Oct 2026
- Revision history
- Revisions track note changes and allow reverting to an older version. · hedgedoc.org, 4 Oct 2026
- Scaling limit
- The FAQ says multiple HedgeDoc server instances should not run against the same database because the server process is not entirely stateless. · docs.hedgedoc.org, 7 Oct 2026
- Security configuration
- The configuration supports HSTS and Content Security Policy headers, and the documentation recommends keeping CSP enabled. · docs.hedgedoc.org, 7 Oct 2026
- Support and community
- The project invites users to ask questions and discuss improvements in its Matrix room and Discourse forum. · hedgedoc.org, 4 Oct 2026
Where HedgeDoc stands on Freedom251
- Writing Apps#24 of 135
- Markdown editors#8 of 31
- Note-taking apps#80 of 216
- Document Collaboration Software#19 of 32
- Collaborative Document Software#20 of 33
