Slides and decks
Use transparent PNG when the diagram needs to sit on a branded slide, dark section, or presentation card without a white box.
PNG export · safest sharing format
Paste Mermaid code, preview it instantly, then export a clean PNG for slides, README files, blog posts, issue trackers, and documentation. PNG is the safest default when the diagram must look exactly as exported.
No signup · No watermark · Local browser rendering · Transparent background · 1x / 2x / 4x output
Export controls activate after your diagram renders locally.
PNG has the broadest destination support for Mermaid diagrams. It works in slide decks, GitHub issues, CMS editors, email builders, Word documents, README files, and internal docs without requiring the destination platform to understand Mermaid or allow SVG.
Use transparent PNG when the diagram needs to sit on a branded slide, dark section, or presentation card without a white box.
PNG is the safest fallback for documentation systems that do not render Mermaid consistently or block inline scripts.
Export at 2x or 4x so labels and arrows stay readable after CMS resizing, social previews, or ticket attachments.
Choose a transparent preset before exporting. PNG preserves alpha; JPG flattens the background.
Use 2x for normal docs and 4x for presentations, retina screenshots, or large cards.
Use PNG for compatibility, then switch to WebP when the target is a modern website and file size matters.
FAQ
Yes. The PNG exporter is free for single-diagram use and does not add a watermark to the exported image.
Yes. Use a transparent export preset and download PNG. The checkerboard preview is only a visual aid; it is not drawn into the exported file.
Most platforms resize images. Export at 2x for documentation and 4x for slides or retina displays so text and connectors stay sharp after scaling.
Choose PNG for maximum compatibility, SVG for vector workflows, JPG for legacy upload forms, and WebP for modern web pages where file size matters.