# HedgeDoc

> Create real-time collaborative markdown notes

Source: https://talira.ai/catalog/hedgedoc-g2k26qc0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [documents / editors / markdown](https://talira.ai/categories/documents/editors/markdown), [productivity / notes](https://talira.ai/categories/productivity/notes)
- Platforms: web, docker[^7]
- Licence: AGPL-3.0-only[^8][^9]
- Pricing: Free and open source[^7][^8]
- Pricing notes: Free and open source under the AGPL; no paid plans or hosting from the project.
- Free tier: yes[^7][^8]
- Self-hostable: yes[^7]
- SSO: yes[^10]
- API: yes[^11]
- Backed by: [HedgeDoc](https://talira.ai/orgs/hedgedoc.md)
- Forked from [HackMD](https://talira.ai/catalog/hackmd-p8r6avdg.md) in 2018. The HackMD team proposed replacing the community's CodiMD code with their open-core rewrite of HackMD EE, relicensed under Apache 2.0; the community wanted to keep its code and the AGPLv3 licence

HedgeDoc is a self-hosted web app for writing Markdown notes together in real time, with a live preview, revisions, per-note permissions and slide decks powered by [reveal.js](https://talira.ai/catalog/reveal-js-3f558b3c.md). Notes can hold Mermaid and [Graphviz](https://talira.ai/catalog/graphviz-vpswh7h8.md) diagrams, UML sequence diagrams and flow charts, MathJax formulas, abc music notation and embedded YouTube, [Vimeo](https://talira.ai/catalog/vimeo-dmvmda6m.md), Gist and PDF content, and users can sign in with email, LDAP, SAML, OAuth2 and OpenID Connect, [GitHub](https://talira.ai/catalog/github-ppcgj756.md), [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md) and other providers. It's the community-driven fork of CodiMD, the open source edition of [HackMD](https://talira.ai/catalog/hackmd-p8r6avdg.md): the community forked it in 2018 and renamed it HedgeDoc in 2020. HedgeDoc 1.x is the stable release and is now maintenance-only, while HedgeDoc 2, a complete rewrite with a separate backend and frontend, is in alpha (demo at hedgedoc.dev). It's licensed under the AGPL and runs on Node.js with [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), MariaDB, [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md) or [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), or from the official container image.

## Links

- Website: https://hedgedoc.org/
- GitHub: https://github.com/hedgedoc/hedgedoc
- Docs: https://docs.hedgedoc.org/

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/hedgedoc-062dejr1qoxoxf>[^1]
- [YunoHost](https://talira.ai/catalog/yunohost-f9asga4s.md): <https://apps.yunohost.org/app/hedgedoc>[^2]

### Hosted for you

- [PikaPods](https://talira.ai/catalog/pikapods-c2638xaq.md): <https://www.pikapods.com/apps/hedgedoc>[^3]
- [Elestio](https://talira.ai/catalog/elestio-kc92fhjp.md): <https://elest.io/open-source/hedgedoc>[^4]
- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/hedgedoc>[^5]

## Problems it solves

- a self-hosted HackMD alternative for our team's shared Markdown notes
- write meeting notes in Markdown together and see the rendered preview as we type
- turn a Markdown note into a slide deck I can present from the browser
- draw Mermaid and Graphviz diagrams inside a shared note
- write math with LaTeX formulas in collaborative lecture notes
- let colleagues edit a note only after logging in with our LDAP or SAML directory
- share a read-only link to a Markdown document while only some people can edit it
- go back to an older version of a shared note after someone deleted a section
- a lightweight collaborative Markdown editor that runs on a Raspberry Pi
- a CodiMD replacement that's still maintained
- publish a Markdown note as a clean web page for people outside the team
- create notes from a script through HTTP requests and download their Markdown
- a hackathon notepad where anyone with the link can start writing straight away
- store images pasted into shared notes in our own S3 or MinIO bucket

## Features

- real-time collaborative Markdown editing with edit, view and split modes
- slide mode powered by reveal.js
- revisions that let you revert to any older version
- note permissions chosen from a dropdown, including read-only links and private notes
- Mermaid, Graphviz, flow chart and UML sequence diagrams, and abc music notation
- MathJax for LaTeX formulas
- embeds for YouTube, Vimeo, Gist and PDF
- table of contents, tags, YAML metadata, to-do lists and emoji
- save to Dropbox or as Markdown, HTML or raw HTML, and import Markdown from Dropbox or the clipboard
- image uploads to the filesystem, S3, MinIO, Azure, imgur or lutim
- sign-in with email, LDAP, SAML, OAuth2/OIDC, GitHub, GitLab, Google, Dropbox, Mattermost, Facebook and Twitter
- HTTP API with an OpenAPI description for notes, revisions and history; Prometheus /metrics endpoint
- PostgreSQL, MariaDB, MySQL or SQLite
- official container image on quay.io

## Limitations

- Doesn't export notes to PDF: the feature was removed over security problems, so use the browser's print to PDF[^6][^7]
- Doesn't support running several instances against one database: it leads to missing or broken content[^6]

## Capabilities

- Has an API: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [HackMD](https://talira.ai/catalog/hackmd-p8r6avdg.md): Build together with the ultimate Markdown editor
- [CryptPad](https://talira.ai/catalog/cryptpad-knmbhva0.md): Collaborative office suite, end-to-end encrypted and open-source
- [Etherpad](https://talira.ai/catalog/etherpad-66jep1zg.md): Real-time collaborative editing where authorship is the default
- [Outline](https://talira.ai/catalog/outline-35vkn7s0.md): The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.
- [Docmost](https://talira.ai/catalog/docmost-ahdnkbtn.md): Open-source collaborative wiki and documentation software, an alternative to Confluence and Notion
- [Notion](https://talira.ai/catalog/notion-czc8pajj.md): Connected workspace for docs, wikis, databases and AI

## Sources

[^1]: https://ca.unraid.net/api/apps/hedgedoc-062dejr1qoxoxf (checked 20 Nov 2026)
[^2]: https://app.yunohost.org/default/v3/apps.json (checked 21 Nov 2026)
[^3]: https://www.pikapods.com/apps/hedgedoc (checked 20 Nov 2026)
[^4]: https://elest.io/open-source/hedgedoc (checked 20 Nov 2026)
[^5]: https://railway.com/deploy/hedgedoc (checked 20 Nov 2026)
[^6]: https://docs.hedgedoc.org/faq/ (checked 20 Nov 2026)
[^7]: https://hedgedoc.org/ (checked 20 Nov 2026)
[^8]: https://github.com/hedgedoc/hedgedoc/blob/develop/README.md (checked 20 Nov 2026)
[^9]: https://github.com/hedgedoc/hedgedoc/blob/develop/LICENSE (checked 20 Nov 2026)
[^10]: https://docs.hedgedoc.org/configuration/ (checked 20 Nov 2026)
[^11]: https://docs.hedgedoc.org/dev/api/ (checked 20 Nov 2026)
