Convert MERMAID to PNG
Turn MERMAID files into PNG. The diagram drawn in the default theme at its natural size.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MERMAID files on the dialor turn it to pick what to do
Your Mermaid diagram as a PNG image.The diagram is drawn in the default theme at its natural size.
What you get
One PNG file with your diagram drawn from the Mermaid code. It uses the default theme and the diagram's natural size.
PNG is a lossless image format with an alpha channel, so the lines and text keep sharp edges.
What you can change
This conversion has no options. The theme and the size are fixed. To change the size of the image afterward, use resize PNG.
When it fails
If the Mermaid code cannot be parsed, the conversion stops with
input_corrupted. The file needs to hold valid Mermaid code for a diagram to be drawn.
MERMAID and PNG.What each format is.
The formats
Mermaid Diagram
Diagram code in the Mermaid language: flowcharts, sequences, classes, Gantt charts.
- Extensions
- .mmd .mermaid
- MIME type
- text
/x -mermaid - Kind
- Text and data
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same MERMAID to PNG conversion through the API, for your app or your agent.
$ cv convert report.mmd report.png$ cv convert report.mmd report.pngQuestions.What people ask about MERMAID to PNG.
No. The diagram is drawn in the default theme, and there are no options to change it.
The diagram is drawn at its natural size. To make it larger or smaller, you can resize the PNG afterward.
The file could not be parsed as Mermaid code. The conversion stops and no image is made.
One file, a single PNG for the diagram.