Word and email
Use JPG when the destination handles standard image attachments better than transparent PNG or vector SVG.
JPG export · legacy compatibility
Export Mermaid diagrams as standard JPG images for Word documents, email builders, CMS uploads, help centers, and older tools that reject transparent PNG, WebP, or SVG.
No signup · No watermark · Local browser rendering · Solid background · Best fallback for strict upload forms
Export controls activate after your diagram renders locally.
JPG is not the highest-fidelity diagram format. It is the compatibility fallback: use it when the destination expects a normal photo-style image and rejects transparency, SVG, or modern web formats.
Use JPG when the destination handles standard image attachments better than transparent PNG or vector SVG.
Some CMS image fields reject SVG or WebP. JPG is a predictable fallback for article bodies and help centers.
JPG is useful for older presentation, ticketing, and document tools that only accept common raster files.
JPG cannot preserve alpha. The exporter uses a solid background; use PNG for transparent slides.
JPG diagrams should look like clean document images, not cutouts. Start with Clean Docs or Editorial Card.
JPG compression can soften small labels. Higher scale keeps Mermaid text readable after resizing.
FAQ
No. JPG does not support transparency. Use PNG or WebP if you need alpha; use JPG only when a destination needs a standard flattened image.
JPG is a lossy format. Export at 2x or 4x to keep Mermaid labels and connectors readable after compression and resizing.
Choose JPG only for compatibility with Word, email builders, older CMS fields, or strict upload forms that reject PNG transparency, WebP, or SVG.
No. The JPG exporter does not add a watermark.