Convert Mermaid to SVG
Turn Mermaid code into a standalone SVG with a real width and height. It stays sharp at any zoom, opens in Figma, Illustrator and Inkscape, and embeds cleanly in websites and README files.
Free forever · Runs on your device · 0 bytes uploaded
How to mermaid to SVG
- Paste your Mermaid code, or choose a .mmd or .md file.
- Pick a theme, and a transparent background if you like.
- Click “Create SVG”, check the preview and download it.
Also good for
- Mermaid to SVG converter
- export Mermaid diagram as SVG
- Mermaid SVG download
- Mermaid diagram for Figma
- Mermaid chart to vector image
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.
Can I edit the SVG afterwards?
Yes. Text stays as real text and shapes as vector paths, so Figma, Illustrator, Inkscape and most design tools can open and edit it.
Is the SVG safe to put on a website?
Mermaid runs in strict mode, which removes scripts and click handlers from labels, so the SVG holds only the drawing and its styles.
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 ImageTurn Mermaid diagram code into a PNG or SVG.
- Mermaid to PNGSave a Mermaid diagram as a sharp PNG image.
- 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.