Free tool · runs in your browser

Cloud architecture diagram generator

Turn Terraform, Kubernetes, or Docker Compose into an architecture diagram in seconds. ops0 detects regions, VPCs, availability zones, and subnets, draws them as nested boundaries, and flags the structural problems hiding inside — free, entirely in your browser, nothing uploaded.

100% client-side
No signup
Nothing uploaded
Diagram in seconds
Open on desktop

The diagram generator needs a real screen and a keyboard to paste infrastructure code and read the architecture. Open this page on a desktop browser to use it.

What it does

A cloud architecture diagram generator that understands the infrastructure.

Reads infrastructure, not shapes

Terraform HCL, `terraform show -json` plan and state, Kubernetes manifests, and Docker Compose are parsed into a resource graph with real dependencies, not hand-placed boxes.

Boundaries detected automatically

Regions, VPCs and VNets, availability zones, subnets, clusters, namespaces, and Compose networks become nested containers, so the diagram reflects how the estate is actually structured.

Architecture findings, not just a picture

Single-AZ databases, public database endpoints, security groups open to 0.0.0.0/0, overlapping CIDRs, missing NAT, absent WAF, and unattached volumes are detected as you paste.

Every finding explains itself

Each result carries why it was raised, the risk it creates, the best practice that resolves it, and the impact of fixing it. Severity rolls up into an A to F architecture score.

Honest about fidelity

Static Terraform cannot resolve variables, modules, count, or for_each. The tool says so, names what it could not resolve, and grades plan or state JSON as exact.

Exports that stay editable

SVG and 2× PNG for slides, Mermaid for GitHub and Notion, draw.io XML that opens with the layout intact, PlantUML for docs pipelines, and a plain text outline.

Supported inputs

Generate a diagram from Terraform, Kubernetes, or Docker Compose

The format is detected automatically, so there is nothing to configure. Paste code or drop a file — everything is parsed locally in your browser.

Terraform diagram generator

Terraform · OpenTofu · HCL

Paste Terraform or OpenTofu HCL and the generator parses every resource block, resolves references between them, and lays out VPCs, subnets, and availability zones as nested boundaries. Because raw HCL cannot resolve variables, modules, count, or for_each without a plan, the diagram is marked best-effort and tells you exactly what it could not resolve.

Diagram from Terraform state or plan

terraform show -json

Run terraform show -json against your state or a saved plan and paste the output for an exact diagram. Plan and state output has every variable, module, count, and for_each already resolved and records real dependencies, so nothing is missing and replica counts are correct. This is the most accurate way to visualize an existing Terraform estate.

Kubernetes architecture diagram

YAML · multi-document manifests

Paste one manifest or a whole multi-document YAML file. Deployments, StatefulSets, Services, and Ingress are grouped by namespace, and the edges are derived the way Kubernetes actually wires them: Service label selectors to workloads, Ingress backends to Services, and HorizontalPodAutoscalers to their scale targets.

Docker Compose diagram

docker-compose.yml

Paste a compose file and each service, network, and volume is drawn with the links between them — depends_on ordering, volume mounts, and network membership. Published ports and credential-shaped environment variables are flagged as findings.

Why it is different

A better way to draw cloud architecture than draw.io, Lucidchart, or Cloudcraft

Drawing tools

draw.io, Lucidchart, Cloudcraft, and Hava are surfaces you place shapes on. You drag every box, connect every line by hand, and keep it in sync as the infrastructure changes. The diagram is only ever as accurate as the last person who edited it.

This generator

This reads your infrastructure code and derives the architecture from it. Boundaries, dependencies, and grouping come straight from the source, so the diagram matches what the code actually declares — and it reviews the architecture it draws instead of only rendering it.

Detected automatically
Regions and availability zonesVPCs, VNets, VCNs, and subnetsClusters, namespaces, and resource groupsPublic database endpointsSecurity groups open to 0.0.0.0/0Single-AZ databases and disabled backupsOverlapping CIDR rangesMissing or single NAT gatewaysLoad balancers with no WAFPublic Kubernetes API endpointsPrivileged containers and mutable image tagsUnattached volumes and unused public IPs
Snapshot vs continuous

This tool is the snapshot. ops0 is the control.

This free tool
  • Point-in-time diagram from code you paste
  • No signup, no cloud credentials, no access to your account
  • Runs in your browser, nothing is uploaded
  • Structural findings, an architecture score, and exports
ops0, continuous
  • Reads live cloud read-only, so the graph reflects what is actually running
  • Includes resources created by hand that appear in no module
  • Blast radius before a change, drift after it
  • Routes the fix through policy, cost, approval, pull request, and audit

Common questions

Yes. The diagram generator runs entirely in your browser. Your Terraform, Kubernetes, and Docker Compose files are never uploaded to any server, and no cloud credentials are requested or used. You can confirm this in your browser DevTools Network tab.

This draws the code you pasted.
ops0 draws the cloud you actually run.

ops0 reads live cloud read-only, so the graph includes the resources nobody ever put in a module, stays drift-aware as things change, and shows the blast radius of a change before anyone approves it.

See the live Resource Graph