Tools / Editor

Mermaid to PNG Converter

Convert Mermaid code to PNG with Pele. Preview your diagram, choose the available export options, and download an image for docs or slides.

Choose PNG for the destination

Export PNG when the receiving application needs a raster image. PNG is a practical choice for slides, issue trackers, and documents that accept standard images. It preserves crisp edges without JPEG-style lossy compression.

Check labels and branching before export

Diagram source

graph TD
    A[User opens Pele Editor] --> B[Write Mermaid code]
    B --> C{Preview looks right?}
    C -- Yes --> D[Export PNG]
    C -- No --> E[Edit diagram]
    E --> B
The two decision branches remain meaningful only if their labels are readable in the final document. Inspect the downloaded file at the size your readers will actually see.

Export choices that affect the result

ChoiceEffect
Pixel dimensionsRaster dimensions depend on the rendered diagram and export scale. Enlarging the image later does not restore lost detail.
BackgroundChoose a background deliberately. Transparent diagrams can lose contrast when placed on a different document color.
LimitsOversized exports are rejected above 16,384 pixels on either side or 40 million total pixels. Lower the scale or use SVG.

Common questions

Why does the downloaded image look different in another application?

Check the application’s display scale, background, and format support. Keep a copy of the source and compare the exported file at normal size before changing the diagram itself.