Hacker ApprovedDepartments

Mermaid

Hacker Approved

The most recommended of 11 diagram tools

A free text-based diagram tool whose diagrams can be versioned in git and render in GitHub, Markdown and editors, though large diagrams often look messy.

A free text-based diagram tool whose diagrams can be versioned in git and render in GitHub, Markdown and editors, though large diagrams often look messy.

139 people gave an opinion

recommend it
93
criticize it
46
approval share
67%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 93 people recommend itNeeds 10 or more, met.
  • 2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Diagrams stored as text in git

    “I love mermaid because I'm a huge fan of anything related to code that can I check into git”

    Comment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

    “I am a huge fan of mermaid diagrams because it lets me check in my diagrams into git.”

    Comment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

    “Mermaid is useful because it's text that can be checked in and versioned as usual.”

    Comment from 3 Mar 2026 in “Ask HN: How is your team changing documentation for AI-assisted coding?”
  • Renders in Markdown, GitHub and IDEs

    “Mermaid diagrams automatically render on Markdown and IDE chat windows as in VSCode or Cursor. So you get the best of both worlds”

    Comment from 14 Feb 2026 in “Monosketch”

    “It also renders on GitHub in markdown files with ```mermaid``` code blocks so it's super useful for adding architecture diagrams”

    Comment from 8 Jul 2026 in “Show HN: Free Mermaid Diagram Editor”

    “Mermaid is awesome, since it has broad support, can be committed to repos, and can be created and edited very easily by LLMs.”

    Comment from 31 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”
  • LLMs can generate and edit diagrams

    “An LLM driving mermaid with text tokens will produce infinitely more accurate diagrams than something operating in raster space.”

    Comment from 18 Feb 2026 in “15 years later, Microsoft morged my diagram”

    “The LLMs are also pretty good at generating Mermaid charts and tracing execution flows, which is a great way to understand code.”

    Comment from 14 Oct 2026 in “Gemini 4 Argon”

    “I've been having great success with LLMs generating Mermaid diagrams and flowcharts from a repo.”

    Comment from 13 Jan 2026 in “Show HN: Nogic, Turn codebase into a graph to understand how it fits together”
  • Easy to change and share

    “I make heavy use of Mermaid as I find it easier to make small changes”

    Comment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

    “Mermaid diagrams are even better because you don't waste characters on the visual representation but rather the relationships between them.”

    Comment from 13 Feb 2026 in “Monosketch”

    “A similar win I've found is documentating process flows with mermaid diagrams (.mmd).”

    Comment from 18 Mar 2026 in “Give your AI a codebase map or it will build one the expensive way”

What people warn about

Each mark is one comment

  • Large diagrams look messy

    “yes, mermaid is fine; but often looks bad - esp when visualizing large diagrams”

    Comment from 27 Sep 2026 in “Show HN: Reladraw – A diagram language where you decide where to place things”

    “A lot of diagrams end up looking a bit rough, especially with arrow routing and layout”

    Comment from 15 Apr 2026 in “Pretty Fish: A better mermaid diagram editor”

    “Virtually every diagram it makes that's over 6 nodes becomes a spaghetti mess”

    Comment from 14 Oct 2026 in “LLMs are bad at drawing diagrams. Or are they?”
  • Heavy browser needed for rendering

    “It still boggles my mind that mermaid's devs think you need an entire freakin' browser to render an SVG.”

    Comment from 18 Oct 2026 in “Pele – Mermaid diagrams as themeable SVG”

    “it is very heavy for this purpose (needs an entire chromium instance for the rendering)”

    Comment from 18 Oct 2026 in “Pele – Mermaid diagrams as themeable SVG”
  • Layout control is hard

    “hand-tuning the layout of Mermaid, having to try alternative engines or parameters, is not what I want”

    Comment from 12 Aug 2026 in “Show HN: Line9 - a Mermaid rendering engine with its own layout”

    “Mermaid couldn't render subgraphs in a different direction than the overall graph.”

    Comment from 29 Jan 2026 in “Beautiful Mermaid”

    “I had to do a lot of hacking/abuse of Mermaid to get it to do what I wanted”

    Comment from 10 Sep 2026 in “Ask HN: What fun and interesting project(s) are you working on?”

Other diagram tools people recommend

The four most recommended other diagram tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Mermaid compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
MermaidThis page934667%12—Approved
Reladraw28780%1——
SQL to ER diagram tool27196%2——
D2 diagram language21678%6—Approved
PlantUML16289%6—Approved
See all 11 diagram tools, ranked

What people said

40 of the 157 comments that mention it, newest first. Each links to the original comment.

“it's obviously much less time consuming to use a markup language to illustrate a network”

RecommendsComment from 23 Oct 2026 on Hacker News

“it is very heavy for this purpose (needs an entire chromium instance for the rendering)”

CriticizesComment from 18 Oct 2026 in “Pele – Mermaid diagrams as themeable SVG”

“It still boggles my mind that mermaid's devs think you need an entire freakin' browser to render an SVG.”

CriticizesComment from 18 Oct 2026 in “Pele – Mermaid diagrams as themeable SVG”

“Virtually every diagram it makes that's over 6 nodes becomes a spaghetti mess”

CriticizesComment from 14 Oct 2026 in “LLMs are bad at drawing diagrams. Or are they?”

“The LLMs are also pretty good at generating Mermaid charts and tracing execution flows, which is a great way to understand code.”

RecommendsComment from 14 Oct 2026 in “Gemini 4 Argon”

“yes, mermaid is fine; but often looks bad - esp when visualizing large diagrams”

MixedComment from 27 Sep 2026 in “Show HN: Reladraw – A diagram language where you decide where to place things”

“I had to do a lot of hacking/abuse of Mermaid to get it to do what I wanted”

CriticizesComment from 10 Sep 2026 in “Ask HN: What fun and interesting project(s) are you working on?”

“hand-tuning the layout of Mermaid, having to try alternative engines or parameters, is not what I want”

CriticizesComment from 12 Aug 2026 in “Show HN: Line9 - a Mermaid rendering engine with its own layout”

“a built-in alternate layout called `elk` that I find does a much cleaner job on complex flowcharts”

RecommendsComment from 12 Aug 2026 in “Show HN: Line9 - a Mermaid rendering engine with its own layout”

“It also renders on GitHub in markdown files with ```mermaid``` code blocks so it's super useful for adding architecture diagrams”

RecommendsComment from 8 Jul 2026 in “Show HN: Free Mermaid Diagram Editor”

“drawing a diagram often saves you >60 minutes of discussion and potentially multiple meetings”

RecommendsComment from 20 Apr 2026 in “Stop trying to engineer your way out of listening to people”

“There's multiple tools that generate architecture diagrams from text/code (Mermaid, LikeC4...)”

RecommendsComment from 18 Apr 2026 in “Claude Design”

“having LLMs work with mermaid diagrams makes describing and modifying circuits less annoying”

RecommendsComment from 17 Apr 2026 in “Show HN: Spice simulation → oscilloscope → verification with Claude Code”

“A lot of diagrams end up looking a bit rough, especially with arrow routing and layout”

MixedComment from 15 Apr 2026 in “Pretty Fish: A better mermaid diagram editor”

“how often are people posting raw mermaid diagrams in comments here?… I've never seen one”

MixedComment from 8 Apr 2026 in “Show HN: Orange Juice – Small UX improvements that make HN much easier to read”

“Mermaid is awesome, since it has broad support, can be committed to repos, and can be created and edited very easily by LLMs.”

RecommendsComment from 31 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“I love mermaid because I'm a huge fan of anything related to code that can I check into git”

RecommendsComment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“I make heavy use of Mermaid as I find it easier to make small changes”

RecommendsComment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“Then the mermaid code can live next to the document source, and I need not search for the original diagram file to edit and export.”

RecommendsComment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“I went a different route using diagram-as-code with Mermaid instead of manual drawing.”

RecommendsComment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“I am a huge fan of mermaid diagrams because it lets me check in my diagrams into git.”

RecommendsComment from 30 Mar 2026 in “I use excalidraw to manage my diagrams for my blog”

“As imperfect as they are, they mean you can insist the diagrams are updated in the same commit”

MixedComment from 22 Mar 2026 in “More common mistakes to avoid when creating system architecture diagrams”

“A similar win I've found is documentating process flows with mermaid diagrams (.mmd).”

RecommendsComment from 18 Mar 2026 in “Give your AI a codebase map or it will build one the expensive way”

“Great for summarizing a multi-step process and quick to render with simple tools.”

RecommendsComment from 12 Mar 2026 in “Claude now creates interactive charts, diagrams and visualizations”

“These have hard ceilings and there’s only so much you can work around the model”

MixedComment from 6 Mar 2026 in “As AI Turns Prevalent, UI Becomes Irrelevant”

“Mermaid is useful because it's text that can be checked in and versioned as usual.”

RecommendsComment from 3 Mar 2026 in “Ask HN: How is your team changing documentation for AI-assisted coding?”

“An LLM driving mermaid with text tokens will produce infinitely more accurate diagrams than something operating in raster space.”

RecommendsComment from 18 Feb 2026 in “15 years later, Microsoft morged my diagram”

“Mermaid diagrams automatically render on Markdown and IDE chat windows as in VSCode or Cursor. So you get the best of both worlds”

RecommendsComment from 14 Feb 2026 in “Monosketch”

“Mermaid diagrams are even better because you don't waste characters on the visual representation but rather the relationships between them.”

RecommendsComment from 13 Feb 2026 in “Monosketch”

“this gives you the best of both worlds: a visual representation that is still text-based and searchable”

RecommendsComment from 9 Feb 2026 in “How to elevate visual storytelling with Nano Banana Pro”

“Mermaid isn’t accessible by default either, but there’s current work in that direction”

MixedComment from 29 Jan 2026 in “Beautiful Mermaid”

“Mermaid couldn't render subgraphs in a different direction than the overall graph.”

CriticizesComment from 29 Jan 2026 in “Beautiful Mermaid”

“I've been having great success with LLMs generating Mermaid diagrams and flowcharts from a repo.”

RecommendsComment from 13 Jan 2026 in “Show HN: Nogic, Turn codebase into a graph to understand how it fits together”

“Wish there was something like Mermaid for typical AWS Architecture diagrams.”

RecommendsComment from 11 Jan 2026 in “Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering”

“which are just code that you can render using the mermaid diagram website”

RecommendsComment from 25 Dec 2025 in “The Port I couldn't Ship”

“A better way is to auto-generate e.g., class diagrams using PlantUML or Mermaid.”

RecommendsComment from 28 Nov 2025 in “Tell HN: Happy Thanksgiving”

“it changed how I could communicate and iterate on flows and higher-level designs”

RecommendsComment from 24 Nov 2025 in “Show HN: WireMD – Design Wireframes in Markdown”

“Mermaid is ubiquitous, and used extensively in virtually everywhere in the internet.”

RecommendsComment from 23 Nov 2025 in “Markdown is holding you back”

“you may decide architecture diagrams are in Mermaid but that is by no means a stanfard”

MixedComment from 22 Nov 2025 in “Markdown is holding you back”

“mermaid has much better support everywhere, including gitlab and github”

RecommendsComment from 11 Nov 2025 in “Codemaps: Understand Code, Before You Vibe It”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.