Convert Mermaid to PNG or SVG
Paste Mermaid code and get an image for slides, docs, README files or chat. Flowcharts, sequence, class, state, ER and Gantt diagrams are drawn right on your device, and you see the picture before you download it.
Free forever · Runs on your device · 0 bytes uploaded
How to mermaid to Image
- Paste your Mermaid code, or choose a .mmd or .md file.
- Pick PNG or SVG, a size and a theme.
- Click “Create image”, check the preview and download it.
Also good for
- Mermaid to PNG
- Mermaid to SVG online free
- export Mermaid diagram as image
- Mermaid flowchart to picture
- Mermaid live editor alternative
Mermaid examples to start from
flowchartflowchart TD
Start([Order placed]) --> Pay{Paid?}
Pay -->|Yes| Ship[Pack and ship]
Pay -->|No| Remind[Send a reminder]
Remind --> Pay
Ship --> Done([Delivered])sequenceDiagramsequenceDiagram
participant U as User
participant A as App
participant S as Server
U->>A: Log in
A->>S: Check password
S-->>A: OK
A-->>U: Welcome backclassDiagramclassDiagram
class Customer {
+String name
+String email
}
class Order {
+String id
+Date placedAt
+total() Number
}
Customer "1" --> "*" Order : placeserDiagramerDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE_ITEM : contains
PRODUCT ||--o{ LINE_ITEM : "appears in"ganttgantt
title Website launch
dateFormat YYYY-MM-DD
section Build
Design :a1, 2025-01-06, 5d
Development :a2, after a1, 10d
section Launch
Testing :after a2, 4dpiepie title Where the week goes
"Coding" : 45
"Meetings" : 30
"Reviews" : 15
"Email" : 10Private by design — and you can check
Your files are never uploaded, because there is nowhere to upload them to.
- No upload step existsFiles are read and written inside this browser tab. There is no server that could receive them.
- The browser enforces itThis page’s Content Security Policy only allows connections back to this site, which serves nothing but the app itself.
- See for yourselfOpen developer tools, watch the Network tab and run a job: no request carries your document.
- Open sourceEvery line is on GitHub, built on qpdf, pdf.js & pdf-lib.
Frequently asked questions
Are my files uploaded anywhere?
No. Fizzdoc does the work inside your browser tab, using open-source engines compiled to WebAssembly and JavaScript. Your file is read from your device, processed locally, and the result is saved straight back to your device. You can check this yourself: open your browser’s developer tools, go to the Network tab, and run a job — no request carries your file.
Which diagrams work?
Everything Mermaid can draw, including flowcharts, sequence, class, state, entity-relationship, Gantt, pie, mind map, timeline and Git graphs. If the code has a mistake, Mermaid’s own message tells you what to fix.
PNG or SVG?
SVG stays sharp at any size and is best for websites and design tools. PNG works everywhere, including Word, PowerPoint and chat apps; choose 2× or 4× for sharp slides and print.
Is Fizzdoc free?
Yes, and it stays free: no sign-up, no watermark, no daily limit and no premium tier. Fizzdoc is open source under the Apache-2.0 license, so anyone can run their own copy.
More private tools
- Mermaid to PNGSave a Mermaid diagram as a sharp PNG image.
- Mermaid to SVGSave a Mermaid diagram as a scalable SVG.
- Compress ImageMake JPG, PNG and WebP images smaller.
- Compress Image to 20 KBGet a photo or signature under 20 KB for an online form.
- Compress Image to 50 KBGet a photo or signature under 50 KB for an online form.
- Compress Image to 100 KBGet a photo or signature under 100 KB for an online form.
- Resize ImageMake images larger or smaller, by pixels or percent.
- Convert ImageConvert between JPG, PNG and WebP.