Tools / Editor

Mermaid to JPG Converter

Export a Mermaid diagram as JPG with a theme background. Choose a scale, inspect small labels and compare JPEG with PNG or SVG for your document.

Choose JPG for the destination

Export JPG when the receiving application needs a raster image. JPEG is widely accepted but its lossy compression can soften thin lines and small text. Choose it when the destination requires JPEG; PNG is often a better fit for crisp diagram labels.

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.
BackgroundJPEG has no transparency. This export includes a theme background even when a transparent background was requested.
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.