Protocol specs
Attach the rendered transition map so implementers see legal state changes at a glance.
State diagram PNG export · free, no watermark
Paste Mermaid stateDiagram-v2 code, preview the machine, and export a clean PNG for protocol specs, workflow docs, and firmware reviews. Free, local rendering, no watermark.
No signup · No watermark · Local browser rendering · Transparent background · 1x / 2x / 4x output
Export controls activate after your diagram renders locally.
State machines describe behavior, and behavior docs travel — specs become PDFs, tickets get attachments, reviews happen in slides. An exported PNG keeps the transition map readable everywhere the code can't run.
Attach the rendered transition map so implementers see legal state changes at a glance.
Show the lifecycle of a ticket, order, or job as a static image that renders the same everywhere.
Export the machine to a slide or PDF so the review argues about behavior, not about rendering tools.
The sample above is a full edit-preview-export loop. Transitions carry the events that trigger them, and composite states nest whole machines inside a state.
Use direction LR so long transition chains read across the image instead of collapsing into a column.
Composite states render as boxes within boxes — export at 2x so inner labels stay readable.
SVG keeps transition labels sharp in platforms that accept it; PNG is the compatible default.
FAQ
Paste your stateDiagram-v2 code into the editor above, check the preview, then click Download PNG. Background, theme, and scale are set before export — all locally in your browser.
It is the current Mermaid syntax for state diagrams, with better layout and tooling than the original. Your existing v1 diagrams still render.
Yes. PNG, SVG, JPG, WebP, and PDF exports are free, with no signup and no watermark.
Export at 2x for documentation and 4x for slides so state names and event labels stay sharp after platforms resize the image.
PNG for compatibility, SVG for zoomable specs, PDF for print. Composite-state diagrams benefit from 2x or higher.