✳ OMNIVIEWER.ORG
FR

Export MERMAID

safe · secure · no server · works offline · fast

…or paste a file you copied in Finder, or just start typing at the cursor.

Or try it now

↓ scroll for about & FAQ

Preview

Drop a CSV file, or use the file picker.

Choose a format, its options, and the maximum size of the download.

It’s one lens on OmniViewer’s Mermaid Viewer & Linter — Render & Audit .mmd: drop a file and every tab is one click away. OmniViewer opens every file format, entirely in your browser — no upload, no server.

FAQ

Is my Mermaid diagram uploaded anywhere?

No. OmniViewer is a static page with no server-side processing: your .mmd file is read directly by your browser, and rendering, auditing, formatting, JSON export and statistics run locally. The file never leaves your computer, and neither does the diagram it draws.

Does this use mermaid.js?

No. The parser, the layout engine and the SVG writer are all written into this page — a fraction of the size of mermaid.js and its dependencies, with nothing fetched from a CDN. That means the viewer works with no network at all, and the coverage is our own: all twenty-four diagram types are drawn. Gantt included, where dates, durations and excluded weekends are about three hundred lines of calendar arithmetic here rather than dayjs and three plugins; and Sankey, treemap, radar, packet and architecture diagrams, which are each a small algorithm rather than a box and an arrow.

Which Mermaid diagram types can it draw?

All of them — twenty-four: flowchart (and its graph alias), sequenceDiagram, classDiagram, stateDiagram and stateDiagram-v2, erDiagram, pie, mindmap, timeline, journey, gitGraph, gantt, quadrantChart, requirementDiagram, sankey-beta, xychart-beta, block-beta, C4 (Context, Container, Component, Dynamic and Deployment), packet-beta, kanban, architecture-beta, radar-beta, treemap-beta, zenuml and info. Nothing Mermaid has a grammar for is parsed and then left undrawn. A first line that is not a diagram type at all is a different matter: the diagram tab says so, and the audit names the line.

Can I export the diagram as an image?

Yes, two ways. The diagram tab downloads an SVG — vector, small, and editable in any drawing tool — or a PNG rasterized at up to three times the diagram size. The image tab does the same on a themed card with a window frame, which is what you want when pasting into a README, a slide or a pull request.

What does the audit actually check?

Seventeen rules. Syntax errors are reported with a line and column. Beyond that it finds nodes nothing can reach, loops and the ids that form them, the same arrow written twice, nodes with no arrows at all, empty subgraphs, an id used for both a node and a subgraph, decision diamonds whose branches are unlabelled, classDefs that are defined but never applied, classes applied but never defined, click handlers naming nodes that do not exist, sequence participants nobody messages, state machines with no start or end, and pie charts with nothing to draw.

How large a Mermaid file can I open?

The raw and hex views are windowed — they read only the bytes needed to paint the screen — so they open a file of any size. Parsing, the audit, JSON and stats work on a bounded prefix and say so when they truncate. Drawing has its own limit: past a couple of thousand nodes the diagram tab stops and explains why, because a picture that large is not readable anyway, and points you at the tabs that still answer.

Can I paste a diagram instead of opening a file?

Yes. Paste or type Mermaid source onto the OmniViewer front page and it is recognized from the first meaningful line — flowchart, sequenceDiagram, classDiagram and the rest. A paste opens the Mermaid toolkit straight away; while you type, a “Continue in the mermaid editor” button beside the tabs waits until you are ready. You can also link one: /mermaid/diagram?url=… loads a diagram straight from a URL.