Tools / Editor
Pele to PNG Converter
Convert Pele 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.
- Paste source, select the renderer, and verify the complete diagram in the preview.
- Select PNG, choose a scale and background, then export the image.
- Open the saved file in the target application. Check line visibility, text size, and whether the background fits the document.
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 --> BExport choices that affect the result
| Choice | Effect |
|---|---|
| Pixel dimensions | Raster dimensions depend on the rendered diagram and export scale. Enlarging the image later does not restore lost detail. |
| Background | Choose a background deliberately. Transparent diagrams can lose contrast when placed on a different document color. |
| Limits | Oversized 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.