mermaid.wastelands.net / v1
Diagrams, over HTTP.
Turn Mermaid source into a cacheable PNG, SVG, or JPG. Built for places that only understand an image URL—especially Google Sheets.
Open the sample SVGGET endpoint
/v1/mermaid
Percent-encode the diagram in source. PNG is the default response.
- source
- Mermaid source · required
- format
- png · svg · jpg
- theme
- default · neutral · dark · forest
- width / height
- positive pixels · max 4096
- scale
- raster multiplier · max 4
- background
- transparent or a hex colour
Google Sheets
One formula. One diagram.
=IMAGE(
"https://mermaid.wastelands.net/v1/mermaid?format=png&source="
& ENCODEURL(A2)
)Sheets does not display SVG through IMAGE(), so use PNG there.