Mermaid to PDF

Export a single-page A4 PDF from your Mermaid diagram. Rasterized locally in the browser.

All processing on this page runs locally in your browser unless noted otherwise.

How to use

  1. Paste Mermaid and confirm the preview.
  2. Click Download PDF to save an A4 page with the diagram centered.
  3. For print-critical work, export SVG or a high-scale PNG instead.

FAQ

Is this a vector PDF?

No. v1 rasterizes the diagram to PNG then embeds it in an A4 PDF. Prefer SVG when your toolchain accepts it.

Uploaded to a server?

No. jsPDF runs in your browser.

Related tools