Skip to content
MermaidViewer

Best Mermaid editors

The best Mermaid editor depends on the job. A fair 2026 comparison of MermaidViewer, mermaid.live, Mermaid Chart and mermaidviewer.com.

By MermaidViewer editorsPublished Updated

There are now many ways to write Mermaid diagrams online. We compared the most popular options on speed, AI features, saving, sharing, exports and price. (Yes, we make one of them — we've tried to be fair and note where others are better.)

At a glance

ToolBest forAIAccounts & savingExports
MermaidViewer (mermaidviewer.net)Fast code-first editing with AI, sharing and embeds5 total on Free, then paidOptional; folders, tags, versionsPNG every plan; SVG & PDF on Pro
Mermaid Live Editor (mermaid.live)Official free playgroundNoLocal onlyPNG, SVG
Mermaid Chart (mermaidchart.com)Teams needing collaboration & visual editingYes (paid tiers)YesPNG, SVG, PDF
mermaidviewer.comSimple viewer with AI and templatesGeneratePaid plansPNG, SVG, Markdown
VS Code / Obsidian pluginsDiagrams inside your editor or notesDepends on pluginYour filesVaries

How we compared

We looked at first-load speed, whether you can start without an account, editor quality (highlighting, autocomplete, error messages), AI capabilities, saving and organisation, sharing and embeds, export formats and price. Features change often, so check each tool's site for the latest details.

Our take

  • Need a quick, free playground? Mermaid Live Editor is the reference and always up to date.
  • Need real-time team collaboration? Mermaid Chart is the most complete platform.
  • Want the fastest all-round editor with AI, saving and embeds at a low price? That's what we built MermaidViewer for — try it now.

The best mermaid editor is the one that matches where the diagram has to live, not the one with the longest feature grid. This page compares five ways to write Mermaid in 2026. We make MermaidViewer, so the notes on our own product are labeled as ours. The other notes are what you can check on the public sites: mermaid.live, Mermaid Chart, mermaidviewer.com, and the editors already inside VS Code and Obsidian. Features move. If a price or a button matters to a purchase, confirm it on that product's site the week you decide.

How to judge an editor

Start with the job, then the tool.

  • A ten-minute syntax check wants the official playground.
  • A diagram that will be edited for a year wants saving, history, and a name.
  • A workshop wants more than one cursor.
  • A README wants the text in Git, and any preview is fine.
  • A slide wants an export, usually SVG or a high-resolution PNG.

Speed still matters. If the editor demands an account before it shows a preview, a lot of people will bounce back to whatever already works. AI matters when you are staring at a blank file or a parser error. It matters less when you already know the syntax and you are changing one label. Export matters when the destination cannot render Mermaid. Price matters when every editor on the team would need a seat.

MermaidViewer, which we build

MermaidViewer is a code-first editor with a live preview. You can use it without an account. AI can generate a diagram, edit one you describe, fix a parser error, or explain a diagram you pasted. Accounts are optional. With an account you get folders. Version history is on the paid plans. You can publish an embed. JPG, SVG, and PDF downloads are a Pro feature, in the editor and on the converter pages.

Our prices, from the plan code, are simple. Free is $0: 3 saved diagrams, 5 AI uses in total, and a 1× PNG with a watermark. Starter is $6.99 a month or $69.90 a year: 30 diagrams, 500 AI chats a month, and PNG up to 4× with no watermark. Pro is $11.99 a month or $119.90 a year: unlimited diagrams, unlimited AI with fair use, PNG and JPG up to 8×, plus SVG and PDF, notes and view stats. The $6.99 number is Starter. Details and the current list sit on pricing.

We do not have multiplayer cursors. We do not have a visual canvas as the primary way to edit. If those are the purchase, we are the wrong row in this table. We are the row for people who want to stay in text, keep the bill small, and still have AI and a place to file diagrams.

Mermaid diagram
mermaid
flowchart LR
  A[Blank page] --> B[AI draft or paste]
  B --> C[Edit text]
  C --> D[Preview]
  D --> E[Save, embed, or export]
Open in the live editor

The PNG, SVG, and PDF pages render in the browser and then use the same plan limits as the editor. Free PNG is 1× with a watermark. Starter unlocks PNG up to 4× with no watermark. Pro unlocks PNG and JPG up to 8×, plus SVG and PDF. The export guide walks through those scales.

mermaid.live, the official playground

mermaid.live is the open-source playground from the Mermaid project. Live preview, sample diagrams, PNG and SVG, share URLs, no account. There is no AI inside the editor. It points people to Mermaid Chart for that. History is local to the browser.

This is the best editor when you are testing syntax, especially new syntax. It tracks Mermaid releases quickly, because it is the reference place to try the library. It is also the right scratchpad for an SVG you need once. It is a weak archive. Local history disappears with the browser data, and there are no folders. We say more on the live editor comparison. If someone claims mermaid.live cannot export SVG, they are mistaken. It can.

Use it as the compatibility check for anything you write elsewhere. Same library, same syntax. If a diagram renders there and fails in a docs site, the docs site is probably on an older Mermaid build. That is a useful thing to know, and the official playground is how you know it.

Mermaid Chart

Mermaid Chart is the hosted platform from the Mermaid team. It has visual editing and realtime collaboration. MermaidViewer does not have multiplayer cursors, and this is the product that does that job. Co-editing and SSO show up on their Premium tier in the account docs we read.

Prices we will cite come from Mermaid's own account documentation, help center, 2026, billed annually. They change, so recheck mermaid.ai. Basic is free, with 3 diagrams and 15 AI credits. Plus is $10 per user per month, with unlimited diagrams and 300 AI credits a year. Premium is $20 per user per month, with 2000 AI credits a year, co-editing, and SSO. Enterprise is custom. The longer reading, including what we refused to guess, is on the Mermaid Chart comparison.

Pick Mermaid Chart when the buyers are a team, the editors include people who will not learn the syntax, and a per-seat price is acceptable. It is a poor fit when the only person editing is you and the diagram already lives in a README. You would be paying for a canvas you do not open.

mermaidviewer.com is a different site

The similar name causes real confusion, so this section is blunt. mermaidviewer.com is not mermaidviewer.net, and it is not the product we build. It is another browser editor. From their public site you can see a live preview, an AI generate button, and export to SVG, PNG, and PDF. Documentation is at docs.mermaidviewer.com.

They have a pricing page. We are not quoting a number we did not verify for this article. Open their pricing page yourself if cost is the reason you are comparing us. A copied price goes stale, and a guessed price is worse. Judge that editor the way you would judge ours: does the preview match the Mermaid you need, does the AI draft survive a careful read, and do the exports open in the tool you actually use.

Treat the name clash as a reminder to look at the domain in the address bar before you paste anything sensitive. Both sites can be legitimate products. They are not the same account, the same billing, or the same support inbox.

An editor inside your notes

VS Code and Obsidian are the "editor inside notes" options, and for many people they are the best mermaid editor overall. The diagram is not a separate product. It is a fenced block in a file you already have.

Obsidian renders a mermaid fence in reading view without a community plugin. Your vault is the archive. Themes follow the note. The limit is the Mermaid version Obsidian ships. A brand-new diagram type can fail in the vault and succeed on mermaid.live. When that happens, simplify the syntax or export a picture. Our Obsidian guide covers the usual blank-diagram causes.

Recent VS Code releases preview Mermaid in the built-in Markdown preview beside the file you are editing. Older installs need the Markdown Preview Mermaid Support extension. The diagram sits in the repo, the diff is a normal diff, and review happens in the pull request. You do not need an account with us or with anyone else for that path. Extensions can add more comfort, but the core loop is the file. The VS Code guide and the Markdown guide are the practical versions of this paragraph.

Pick notes when the diagram's home is the note. Pick a browser editor when you are drafting something that does not have a file yet, when you want AI in the same window, or when you need an embed for people who will never open the repo. A lot of teams draft in the browser and then commit the text. That is a healthy split. The browser is not the system of record. The file is.

A short decision

You needStart here
Official scratchpad, PNG and SVG, no accountmermaid.live
Visual editing and live co-editingMermaid Chart
Code, AI, folders, a low priceMermaidViewer
Another browser editor to trymermaidviewer.com, and read their pricing there
The diagram inside a note or a repoObsidian or VS Code

None of these is a universal winner. mermaid.live wins the blank Tuesday afternoon. Mermaid Chart wins the workshop and the company login policy. The notes apps win when the picture should be boring infrastructure next to the code. We win, in our own biased view, when you want AI and saving without a per-seat canvas product. If that bias is the problem, use the table and ignore the last sentence.

If you are choosing between text and a drag-and-drop canvas more broadly, the draw.io, Lucidchart, PlantUML, and Graphviz pages are about languages and tools, not only about editors.

A code pane beside a preview, and when that is not a drawing app, is the mermaid diagram visual editor. Free options you might actually keep are diagram tool free and a free online diagram tool.

Frequently asked questions

What is the best free Mermaid editor?

For a free scratchpad, mermaid.live exports PNG and SVG with no account. MermaidViewer's editor is also free without an account, with a 1× watermarked PNG and 5 AI uses in total. JPG, SVG and PDF downloads on MermaidViewer are on Pro.

Other comparisons