Convert Mermaid to PNG

Paste Mermaid code and download a crisp PNG that drops straight into Word, PowerPoint, Google Docs, Notion or a chat. Choose 2× or 4× for high-resolution slides and print; everything is drawn on your device.

Free forever · Runs on your device · 0 bytes uploaded

    How to mermaid to PNG

    1. Paste your Mermaid code, or choose a .mmd or .md file.
    2. Pick a size (2× is sharp on most screens) and a theme.
    3. Click “Create PNG”, check the preview and download it.

    Also good for

    • Mermaid to PNG converter
    • export Mermaid diagram as PNG
    • Mermaid PNG high resolution
    • Mermaid diagram with transparent background
    • Mermaid flowchart to PNG

    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.

    How do I get a high-resolution PNG?

    Choose 4× under PNG size. The diagram is drawn at four times its normal size, which stays sharp on large screens, in slides and in print.

    Can the PNG have a transparent background?

    Yes. Tick “Transparent background” to place the diagram on coloured slides or dark pages.

    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