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

    1. Paste your Mermaid code, or choose a .mmd or .md file.
    2. Pick PNG or SVG, a size and a theme.
    3. 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

    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.

    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

    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