PlantUML API Server

Diagrams as Code — UML, Cloud Architecture, Kubernetes, C4 and more.

A modern REST API and full editor around the official PlantUML Server. Render to PNG, SVG, TXT or PDF; discover AWS, Azure, Kubernetes, C4, GCP, security and icon libraries; and keep your diagrams as versionable text.

Diagrams as Code

📝 Plain text

Describe diagrams in a simple, readable language — no binary files, no drag-and-drop.

🔀 Version controlled

Diagrams live beside your code. One source of truth, not a stale export.

✅ Reviewed in PRs

A diagram change is a readable diff — proposed, discussed and approved like code.

⚙️ Generated in CI/CD

Regenerate on every build and publish to many formats automatically.

♻️ Reproducible

The same text always produces the same picture, on any machine, forever.

Not just UML

PlantUML draws far more than sequence diagrams. This service exposes it all.

UML

Sequence, class, component, deployment, activity, state, use-case & more.

AWS

Official AWS architecture icons via the modern awslib.

Azure

Microsoft Azure service icons for cloud architecture.

Kubernetes

K8s workloads, services & control-plane with the k8s icon set.

C4 Model

Context, Container, Component & Deployment — architecture as code.

GCP

Google Cloud architecture icons, bundled and INTERNET-safe.

Network & Security

Open Security Architecture (OSA) icons for network/security diagrams.

Icons & Libraries

Material, Office, Logos, Devicons, Font-Awesome, ArchiMate & sprites.

Themes

Restyle any diagram with dozens of built-in themes.

Interactive examples

Live-rendered on this page. Open any in the editor or call the API.

Basic sequence diagram
A minimal request/response sequence — the classic PlantUML hello world.
Basic sequence diagram

Browse all 20 examples →

Try the API

curl -X POST https://your-host/api/v1/render \
  -H 'content-type: application/json' \
  -d '{"source":"@startuml\nAlice -> Bob: Hello\n@enduml","format":"svg"}'

Full interactive documentation at /docs · schema at /openapi.json.

Architecture libraries