Diagram format converters
Turn infrastructure code and diagram formats into editable, native .drawio architecture diagrams — or export your .drawio to an image. Every converter is powered by the same AI engine that drives Diagrams.so.
Convert draw.io to PNG or SVG
Import a .drawio file and export a crisp PNG or SVG — with resolution and transparent-background options — no desktop app to install.
Convert JSON to a diagram
Paste a JSON structure — infrastructure, a service map, or config — and get a native, editable .drawio diagram with the entities and relationships drawn for you.
Convert Mermaid to an editable .drawio diagram
Paste your Mermaid and get a native .drawio you can actually edit — real draggable shapes and connectors instead of a rendered image, ready for Draw.io.
Convert PlantUML to an editable .drawio diagram
Paste your PlantUML and get a native .drawio you can edit — real draggable shapes and connectors instead of a rendered PNG, ready for Draw.io.
Convert Terraform to an architecture diagram
Paste your Terraform configuration and get a native, editable .drawio architecture diagram — with official cloud icons, VPC boundaries, and the connections drawn for you.
Frequently asked questions
What formats can I convert?
Terraform (HCL), Mermaid, PlantUML, and JSON convert into editable architecture diagrams, and you can export an existing .drawio out to a PNG image. Each converter has its own page under /convert.
Is the output editable, or just an image?
The diagram converters return a native, fully editable .drawio (mxGraphModel) XML file — you can drag nodes, relabel, and restyle in Draw.io, Confluence, or the VS Code extension. The exception is the .drawio-to-PNG converter, whose whole purpose is to produce a static image.
Do I need to install anything?
No. Every converter runs in the browser. There are no extensions, no local servers, and no Python or Node setup to manage.
Is Terraform read from a file or from my live cloud account?
From the configuration text you paste, not from your live account. Diagrams.so does not connect to your cloud or read your Terraform state, so no credentials are needed and nothing is provisioned.
What export formats are available?
Diagrams generate as native .drawio, and you can also export them to PNG or SVG. The .drawio-to-PNG converter turns an existing .drawio file into a PNG image.