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

    1. Paste your Mermaid code, or choose a .mmd or .md file.
    2. Pick a theme, and a transparent background if you like.
    3. 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

    flowchart
    flowchart TD
        Start([Order placed]) --> Pay{Paid?}
        Pay -->|Yes| Ship[Pack and ship]
        Pay -->|No| Remind[Send a reminder]
        Remind --> Pay
        Ship --> Done([Delivered])
    sequenceDiagram
    sequenceDiagram
        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 back
    classDiagram
    classDiagram
        class Customer {
          +String name
          +String email
        }
        class Order {
          +String id
          +Date placedAt
          +total() Number
        }
        Customer "1" --> "*" Order : places
    erDiagram
    erDiagram
        CUSTOMER ||--o{ ORDER : places
        ORDER ||--|{ LINE_ITEM : contains
        PRODUCT ||--o{ LINE_ITEM : "appears in"
    gantt
    gantt
        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, 4d
    pie
    pie title Where the week goes
        "Coding" : 45
        "Meetings" : 30
        "Reviews" : 15
        "Email" : 10

    Private by design — and you can check

    Your files are never uploaded, because there is nowhere to upload them to.

    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

    Free and open source. Forever.

    No ads, no accounts, no servers looking at your files. If Fizzdoc saved you time, a star on GitHub helps more people find it.

    Star Fizzdoc on GitHub11