Skip to content

PlantUML Export

Export your architecture views as PlantUML diagram code — a widely-used text-based diagramming tool supported by Confluence, Javadoc, and many documentation pipelines.

  • Enterprise ecosystem — PlantUML is widely adopted in enterprise environments with existing rendering pipelines.
  • Confluence integration — Paste directly into Confluence pages using the PlantUML macro.
  • CI/CD rendering — Render diagrams in CI pipelines using the PlantUML server or CLI.
  1. Open the view you want to export.
  2. Click Export → PlantUML in the toolbar.
  3. The PlantUML code is generated and available for download or copy.

A system context view might export as:

@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
Person(user, "User", "A user of the system")
System(system, "My System", "The system being modeled")
Rel(user, system, "Uses")
SHOW_LEGEND()
@enduml

PlantUML code can be rendered using:

  • PlantUML server — https://www.plantuml.com/plantuml
  • PlantUML CLI — java -jar plantuml.jar diagram.puml
  • Confluence macro — Paste into a PlantUML block in Confluence
  • VS Code extension — Use the PlantUML VS Code extension for live preview
  • Mermaid — Alternative text-based export (better for GitHub/Markdown)
  • PNG and SVG — Image export for exact visual fidelity
  • Export overview — All export formats