Tools / Editor
Mermaid to WebP Converter
Export Mermaid diagrams as WebP for compatible web destinations. Set scale and background, then check the downloaded image in your publishing tool.
Choose WEBP for the destination
Export WEBP when the receiving application needs a raster image. WebP is useful for web images where the destination supports it. Check that the publishing system preserves the format and displays the exported image correctly.
- Paste source, select the renderer, and verify the complete diagram in the preview.
- Select WEBP, 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.