Website | Reference Guide (Local PDF)

Component that allows to quickly write :

The following non-UML diagrams are also supported:

The following text...

Bob->Alice: hello
Alice->Bob: goodbye

... generates a graphical call-flow diagram.

Local Installation Procedure

After trying the online version, if you're considering a more comprehensive local environment, a local installation of PlantUML is suggested. Before installation, ensure the following prerequisites are met:

Java: PlantUML requires Java to be installed on your machine.

GraphViz: Needed only for some diagrams.

Once ready, download the plantuml.jar file and execute it to access PlantUML’s graphical user interface. No further unpacking or installation procedures are needed.

Command Line Operations

For those familiar with command line interfaces or intending to integrate PlantUML with scripting or documentation platforms, PlantUML offers a convenient command line syntax. Follow these steps:

1.Compose a Text File: Document your PlantUML commands. Here's a sample sequenceDiagram.txt:

@startuml
Alice -> Bob: test
@enduml

2.Execute the File: Process the aforementioned text file:

java -jar plantuml.jar sequenceDiagram.txt

3.Alternative: Launch the Graphical User Interface and select the directory that contains the text files:

java -jar plantuml.jar -gui

Upon execution, a sequenceDiagram.png containing the sequence diagram will be generated.

Docker

Using Docker to test PlantUML provides an isolated environment without requiring a direct installation of PlantUML or its dependencies on your machine.

docker pull plantuml/plantuml-server:jetty
docker run -d -p 8080:8080 plantuml/plantuml-server:jetty

PlantUML Integration Capabilities


Tags: language   tool   dsl   architecture   format  

Last modified 06 December 2025