| PlantUML | |
|---|---|
| Software | |
| Release checked | 1.2026.9 · November 8, 2026 |
| Local environment | Java 11+ recommended · Separate Java 8 builds |
| Runnable file | Official Compiled jar under the selected license |
| First diagram | Sequence with two participants and two messages |
| Editable source | UTF-8 text · .puml |
| Output file | SVG · Check text, direction and metadata |
Check the official runnable JAR and Java
Use the homepage button to open PlantUML’s official downloads. The stable distribution checked in the official downloads and Releases on November 8, 2026 is 1.2026.9. Distinguish the Compiled jar options by license and choose terms permitted by your company or project. Source-code archives, sources.jar and javadoc.jar are not the JAR to run in this guide.
The local JAR method requires Java. First enter the following in a terminal to check the Java version that actually runs:
java -version
The official starting guide recommends Java 11 or later; special Java 8-compatible builds are separate. If the command is not found or the version is unsuitable, first check an official Java distribution and its installation requirements for your OS and CPU. Downloading the JAR does not also install Java.
Match the working folder and JAR name
Place the downloaded runnable JAR in a new working folder you control. The following commands assume you prepared the filename plantuml.jar. For example, if the downloaded file is plantuml-1.2026.9.jar, either match the name without changing the file’s contents or type, or use its actual name in the commands.
Set the terminal’s current folder to that working folder, then check:
java -jar plantuml.jar --version
This guide uses the options for 1.2026.9. Checking the Java version and checking execution of the PlantUML JAR are different steps. For Unable to access jarfile, first compare the JAR name, location and current folder. For Java version errors, check the selected build and the Java version actually running.
Save the first sequence code as PUML
Enter the following document-review request example in a plain-text editor. It is a practice with two participants and two messages, without real personal information or work material. The Korean labels are retained from the original: 작성자 means writer, 검토자 means reviewer, and the messages request a draft review and return review comments.
@startuml
participant "작성자" as Writer
participant "검토자" as Reviewer
Writer -> Reviewer: 초안 검토 요청
Reviewer --> Writer: 검토 의견 전달
@enduml
Distinguish the display names after participant from code aliases after as. Writer and Reviewer are the names used in messages. -> is a solid-line message and --> is a dashed-line message; read the request and response from top to bottom. Check that the second arrow returns from Reviewer to Writer.
Save UTF-8 text as first-sequence.puml in the same working folder as the JAR. Check that the actual extension has not become .puml.txt, and keep ordinary double quotation marks " and the opening and closing @startuml and @enduml. Do not mix word-processor formatting or curly quotation marks into the code.
Generate SVG and distinguish it from the source
Use the following command in the terminal in the same folder:
java -jar plantuml.jar --charset UTF-8 --svg first-sequence.puml
--charset UTF-8 specifies the input character encoding, and --svg specifies the output format. On successful processing, the default result is first-sequence.svg beside the source. Keep a copy first if output with the same name already exists. Enclose each path in double quotation marks if it contains spaces.
| File | Role |
|---|---|
plantuml.jar | Runnable program that processes diagrams |
first-sequence.puml | Text source for editing participants and messages |
first-sequence.svg | Resulting picture to open, check and share |
Do not stop after an error-free message or the existence of a file. Open the SVG and check two participants, 작성자 and 검토자, and two messages, the request and the comments, including arrow directions and order. Check Korean text, clipping and overlap in the environment that will receive it. If output is missing or is an error diagram, start by comparing the current folder, input name, start/end markers, aliases and quotation marks.
Check shared-file metadata and keep the editable source
PlantUML output can contain source-related metadata. Check the sharing conditions so that you do not send invisible information unintentionally. If you need a result without that metadata, add --disable-metadata to the output command above:
java -jar plantuml.jar --charset UTF-8 --svg --disable-metadata first-sequence.puml
This option does not keep your working PUML source for you. To make changes, edit the participants and messages in the PUML and generate the output again. Separate edits in the SVG are not automatically included in the next generation; use a distinct name for any separately edited version you need to keep.
Distinguish Graphviz and other editors
This sequence diagram does not require a separate Graphviz installation. Official guidance distinguishes the conditions for types such as class and deployment diagrams that use Graphviz. A successful sequence diagram does not verify the requirements for every other diagram type.
For automatic layout of nodes and relationships written in DOT, see Graphviz. To drag shapes into place for a flowchart, see draw.io. Do not put one tool’s syntax unchanged into another program. IDE plugins, server setup and complete UML design are separate tasks from this first local sequence workflow.
Official sources
- Official PlantUML downloads, runnable JARs by license ↗
- Official PlantUML 1.2026.9 release and files ↗
- Official starting guide, Java 11 and separate Java 8 builds ↗
- Official sequence diagrams, participants, aliases and arrows ↗
- Official command line, output, encoding and metadata ↗
- Official SVG output guide ↗
- Official distinction between diagram types using Graphviz ↗
- Fixed 1.2026.9 options, --svg, --charset and --disable-metadata ↗
