PlantUML data
File type: Various data file
A pu file extension identifies a plain-text PlantUML source file. A pu file contains PlantUML instructions for generating one or more diagrams.
The file belongs to the PlantUML diagramming tool.
File type category:
Various data file
Date updated: October 22, 2026
PlantUML is open-source, Java-based software for creating diagrams from text descriptions. A pu file can describe sequence diagrams, activity diagrams and other supported diagram types.
The file contains diagram source data, including PlantUML commands, declarations and diagram content. PlantUML reads this source and generates a visual diagram from it.
PlantUML is available for Microsoft Windows and other platforms that support Java. The pu file extension can be edited as plain text.
Use PlantUML to read a pu file and render the diagram it describes. On Microsoft Windows, run the file with a PlantUML installation and a suitable Java runtime.
Because the file is plain text, it can also be opened in a text editor to view or edit its PlantUML source, although a text editor will not render the diagram.
A pu file is a diagram source file rather than a conventional document for format conversion. PlantUML can render its contents and export the resulting diagram to formats such as PNG or SVG.
These exports contain the rendered diagram and do not replace the original editable PlantUML source. Keep the pu file when the diagram needs to be edited later.