Build together with the ultimate Markdown editor
open coreAGPL-3.0-onlyself-hostablefreeMCP
HackMD is a hosted Markdown editor where teams and communities write notes together in real time, with a live preview, comments and suggested edits, versions, per-note read and write permissions, and publishing to a public profile. Notes can become slide decks (slide mode) or be collected into books (book mode), and they render MathJax, Mermaid, Graphviz, PlantUML, sequence diagrams, flow charts, abc music and embeds such as YouTube, Figma and PDFs. Notes push to GitHub, and HackMD has a REST API, a CLI, a hosted MCP server at mcp.hackmd.io with OAuth sign-in, and browser extensions. It's free for teams of up to 3, Prime costs $5 per seat a month billed annually, and Enterprise adds SAML or LDAP single sign-on, role-based access control, a custom domain and self-hosting; HackMD reports a SOC 2 Type II audit. CodiMD is its open source edition under the AGPL, developed by the HackMD team without book mode; HedgeDoc is the community fork of CodiMD.
Ways to install
On your own server
On Kubernetes
Problems it solves
- write meeting notes in Markdown with the whole team editing at the same time
- a collaborative Markdown editor for our open source project's community docs and RFCs
- keep engineering docs in Markdown and push them to our GitHub repo
- turn a Markdown note into a slide deck without opening PowerPoint
- collect related Markdown notes into a navigable book for a course or handbook
- share a note publicly but let only my team edit it
- let community members suggest edits and leave comments on a draft
- a Google Docs alternative that writes plain Markdown
- draw Mermaid diagrams and write LaTeX math in shared notes
- let my AI agent read and update our team's Markdown notes over MCP
- script note creation and updates from CI through an API
- clip web pages and AI chat logs into my Markdown notes from the browser
- single sign-on with SAML for our company's Markdown knowledge base
- host a collaborative Markdown editor on-premises for a regulated team
- a free self-hosted real-time Markdown editor for our hackathon
- a Confluence alternative where docs are plain Markdown with Git-style versions
- a vendor with a SOC 2 Type II report for our team's shared notes
Features
- real-time collaborative Markdown editing with live preview
- inline and page comments, suggested edits and emoji replies
- versions, with unlimited history on Prime
- read and write permissions per note (owners, signed-in users, everyone)
- publishing notes to a public profile, with custom permalinks
- slide mode and book mode
- MathJax, Mermaid, Graphviz, PlantUML, sequence diagrams, flow charts and abc notation
- embeds for YouTube, Vimeo, Gist, SlideShare, Speaker Deck, Figma and PDFs
- import and export with Dropbox, Google Drive and Gist; download as Markdown or HTML
- GitHub sync (push to GitHub), and GitLab integration on Enterprise
View 9 more
- note templates and YAML metadata
- full-text search and PDF export on Prime
- note insights
- REST API with API tokens (Swagger docs)
- hosted MCP server (mcp.hackmd.io) with OAuth 2.1, for notes, teams and search
- HackMD CLI
- Web Clipper browser extension for Chrome and Firefox
- Enterprise: SAML or LDAP SSO, role-based access control, custom domain and landing page, self-hosting
- CodiMD, the AGPL open source edition, to self-host
Ways to run it
HackMD
Free (up to 3 team members); Prime $5/seat/month billed annually; Enterprise on request45
Only in this edition
- book mode
- publishing and note insights
- GitHub sync
- the hosted MCP server and API
HackMD Enterprise self-hosted
Only in this edition
- on-premises deployment or managed hosting
CodiMD
Not included
- book mode, which only HackMD's hosted service has7
You arrange
- a server with Docker, or Node.js 14 to 16 for a manual deployment
- a database (the docs cover connecting your own)
- image storage and authentication settings (configuration options)
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Enterprise plan, priced by sales4 |
Forks
- HedgeDoc Create real-time collaborative markdown notes. Its own project since 2018.
Alternatives
The same job
These do what HackMD does.
- HedgeDoc Create real-time collaborative markdown notes
- Outline The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.
- CryptPad Collaborative office suite, end-to-end encrypted and open-source
- Etherpad Real-time collaborative editing where authorship is the default
- Docmost Open-source collaborative wiki and documentation software, an alternative to Confluence and Notion
- Notion Connected workspace for docs, wikis, databases and AI