PlantUML Confluence Integration: Complete Setup Guide (2026)

PlantUML Confluence integration guide — GitHub, GitLab, Slack, WordPress and Notion platform setup comparison

PlantUML Confluence Integration: Complete Setup Guide (2026)

6+ Platform Integrations Covered
Cloud Confluence Cloud Support
DC Data Center and Server
Free Plugin Tier Available

Setting up plantuml confluence integration lets your team embed live, version-controlled UML diagrams directly inside Confluence pages — no image uploads, no broken links, no out-of-date screenshots. Diagrams update automatically when the source code changes and are tracked in Confluence page history.

This guide covers the full plantuml confluence plugin setup for Cloud, Server, and Data Center, plus integration guides for GitHub, GitLab, Slack, WordPress, and Notion. Whether you are documenting microservices architecture or writing API specs, PlantUML integrates with every major platform your team uses.

For quick diagram generation before setting up any integration, our free PlantUML generator online lets you create and export diagrams in seconds — no install, no Java required. Use it alongside any of the integrations in this guide.

Generate PlantUML diagrams before embedding them anywhere
Test and validate your diagram code in our free online generator first, then paste the source into Confluence, GitHub, GitLab, or any other platform.
Try Free Generator →
PlantUML — Platform Integration Overview Your PlantUML Source @startuml participant User participant API participant Database User -> API : request API -> Database : query Database –> API : data API –> User : response @enduml One source file Many integrations PlantUML Source (.puml) 📄 Confluence ✓ Marketplace plugin (Cloud + DC) ✓ {plantuml} macro in page editor ✓ Version controlled with page history PRIMARY INTEGRATION ★ 🐈 GitHub ✓ Browser extension (Chrome/Firefox) ✓ GitHub Actions auto-export ✓ Embed via plantuml.com server URL NEEDS EXTENSION / ACTIONS ☀️ GitLab ✓ Native support (Admin → Settings) ✓ Enable in markdown with plantuml block ✓ No plugin needed on self-hosted NATIVE ON SELF-HOSTED 💬 Slack ✓ Official PlantUML Slack app ✓ /plantuml command in any channel ✓ Renders PNG inline in thread 🖊️ WordPress ✓ PlantUML plugin in WP repository ✓ [plantuml] shortcode in posts ✓ Renders via plantuml.com server ◯ Notion / Jekyll / DokuWiki ✓ Embed via plantuml.com PNG URL ✓ Jekyll: plantuml-jekyll plugin ✓ DokuWiki: plantuml plugin One PlantUML source file → rendered automatically on every platform listed above Test any diagram free at aitoolsynergy.com/plantuml-generator/ before embedding

Why Use PlantUML Confluence Integration for Team Documentation?

The plantuml confluence integration solves the most common documentation problem: diagrams that go stale. When architecture diagrams live as uploaded image files, they quickly fall out of sync with the actual system. With PlantUML embedded directly in Confluence pages, the diagram source is part of the page — it rerenders whenever the page loads.

Confluence with PlantUML also enables version-controlled diagrams. Every edit to a diagram’s PlantUML code is tracked in Confluence page history, so you can compare how an architecture evolved over time alongside the text documentation that describes it.

📄
Confluence
✓ Plugin available
🐈
GitHub
✓ Extension + Actions
☀️
GitLab
✓ Native support
💬
Slack
✓ Official app
🖊️
WordPress
✓ Plugin available
Notion / Jekyll
✓ Via embed / URL

PlantUML Confluence Plugin: Atlassian Marketplace Setup

The plantuml confluence plugin is available on the Atlassian Marketplace. Multiple vendors offer PlantUML plugins — the most widely used is PlantUML Diagrams for Confluence, which supports both Confluence Cloud and Data Center with a free tier for small teams.

  • 1
    Open Confluence Settings

    Go to Settings → Apps → Find new apps (Confluence Cloud) or Settings → Manage add-ons → Find new apps (Server/DC). You need Confluence Admin permissions to install apps.

  • 2
    Search for PlantUML

    Type PlantUML in the app search box. Look for PlantUML Diagrams for Confluence or Comala PlantUML. Check the reviews, install count, and whether it supports your Confluence edition (Cloud vs Server/DC).

  • 3
    Install and Confirm

    Click Install. Confirm the permissions dialog. The plugin typically activates within 30 seconds — no Confluence restart is needed on Cloud; Server/DC editions may require a service restart depending on the plugin.

  • 4
    Test on a Page

    Open any Confluence page in edit mode. Type /plantuml in the editor to invoke the macro. A code input box appears — paste any PlantUML syntax between @startuml and @enduml, then save the page to see the rendered diagram.

💡 Free tier vs paid Most PlantUML Confluence plugins offer a free tier for teams under 10 users. Paid plans typically add larger diagram size limits, priority rendering, and version export features. For self-hosted Confluence Server, several open-source plugin options are available at no cost regardless of team size.

PlantUML Confluence Cloud vs Data Center vs Server

The plantuml confluence experience differs significantly between deployment types. Cloud users get managed plugin updates and simpler setup but less rendering control. Data Center and Server users can self-host a PlantUML rendering server for maximum performance, privacy, and offline support.

FeatureConfluence CloudData Center / Server
Plugin installationMarketplace UI — one clickMarketplace or manual upload
PlantUML renderingPlugin’s cloud renderer (vendor managed)Configure own PlantUML server or use plantuml.com
Self-hosted PlantUML server✗ Not supported✓ Supported — point to your own server
Offline diagram rendering✗ Requires internet✓ Yes (with local server)
Diagram source privacySent to vendor’s render serverStays on your network if self-hosted
Free tier available✓ Yes (most plugins)✓ Some open-source options
PDF export of pagesDiagram included in page PDFDiagram included in page PDF
Version historyTracked with page editsTracked with page edits
⚠️ Privacy note for Confluence Cloud With Cloud plugins, your PlantUML diagram source code is sent to the plugin vendor’s rendering server. If your diagrams contain sensitive system architecture, check the vendor’s data processing agreement before installing. Self-hosted Server/DC avoids this by keeping rendering on your own infrastructure.

PlantUML Confluence Macros: Embedding and Editing Diagrams

Once the plantuml confluence plugin is installed, diagrams are embedded using a macro in the Confluence page editor. The macro wraps your PlantUML code and replaces it with a rendered image when the page is published. The source code is stored inside the page, not as a separate file.

Using the Macro in the Page Editor

@startuml
!theme cerulean

package "Microservices" {
  [User Service]
  [Order Service]
  [Payment Service]
}

database "Shared DB"

[User Service] --> "Shared DB"
[Order Service] --> "Shared DB"
[Order Service] --> [Payment Service]
@enduml

Most plantuml confluence plugins support the full skinparam property set, all 40+ built-in themes, and the !include directive for shared stylesheets — though !include from external URLs may be restricted in Cloud environments for security reasons.

Keyboard Shortcut for Macro Insertion

ActionConfluence CloudServer / DC
Open macro browser/ in editor, type PlantUML{ in editor, type plantuml
Edit existing macroClick on diagram → EditDouble-click on diagram
Preview diagramPreview button inside macro dialogPreview button in macro editor

PlantUML GitHub Integration: README and Pull Request Diagrams

GitHub does not natively render PlantUML in markdown files — unlike Mermaid, which has been native since 2022. However, there are three reliable approaches to embed PlantUML diagrams in GitHub README files, pull requests, and wikis.

Option 1: plantuml.com Server URL (Simplest)

Encode your PlantUML code in the official URL format and embed it as a markdown image. No plugin or GitHub Actions required.

![Sequence Diagram](https://www.plantuml.com/plantuml/png/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vt98pKi1IW80)


![Architecture](https://www.plantuml.com/plantuml/svg/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vt98pKi1IW80)

Option 2: GitHub Browser Extension

The official PlantUML for GitHub browser extension renders PlantUML blocks fenced with backtick notation directly inside GitHub pages — including README files, issues, pull requests, and wikis. Available for Chrome and Firefox.

Option 3: GitHub Actions Auto-Export

Set up a GitHub Action that runs on every commit. The action installs PlantUML via Docker, generates PNG or SVG from all .puml files in your /docs/ folder, and commits exports back to the repository. For a detailed walkthrough, this developer guide on anoff.io covers the full GitHub Actions setup with PlantUML.

# .github/workflows/plantuml.yml
name: Generate PlantUML diagrams
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Generate diagrams
        uses: cloudbees/plantuml-github-action@master
        with:
          args: -tsvg docs/**/*.puml
      - name: Commit generated diagrams
        uses: EndBug/add-and-commit@v9
        with:
          message: "Auto-generate PlantUML diagrams"

GitLab Native PlantUML Support and Browser Extension

GitLab has native PlantUML support on self-hosted instances — no plugin needed. A GitLab administrator enables it in Admin settings by pointing to a PlantUML rendering server. Once enabled, any user can write fenced PlantUML code blocks in markdown files, wikis, merge request descriptions, and issue comments.

Enabling PlantUML in GitLab Admin Settings

StepPath in GitLab Admin
1. Open admin settingsAdmin Area → Settings → General
2. Expand Integrations sectionSettings → General → Integrations
3. Enable PlantUMLCheck “Enable PlantUML” and enter server URL
4. Set server URLUse https://www.plantuml.com/plantuml or your own server
5. SaveClick Save changes — works immediately, no restart needed
```plantuml
@startuml
[Frontend] --> [API Gateway]
[API Gateway] --> [User Service]
[User Service] --> [Database]
@enduml
```
💡 GitLab Cloud (gitlab.com) PlantUML rendering is not available on gitlab.com (SaaS) as of 2026. Use the browser extension or embed images via the plantuml.com URL method for gitlab.com projects. Self-hosted GitLab instances support native PlantUML when configured by an admin.

PlantUML Slack Integration: Diagram Sharing in Channels

The official PlantUML Slack integration allows team members to generate and share diagrams directly inside Slack channels without leaving the messaging interface. See the full list of PlantUML running options including Slack at plantuml.com/running.

Setting Up PlantUML in Slack

  • Visit the PlantUML Slack integration page and click Add to Slack
  • Grant the required permissions to the app
  • In any channel, type /plantuml followed by your diagram code
  • The app responds with a rendered PNG image posted inline in the channel thread
/plantuml
@startuml
Alice -> Bob : Feature request
Bob --> Alice : Confirmed for Sprint 3
@enduml
💡 Slack alternative If the Slack app is unavailable in your workspace, generate your diagram in our free PlantUML generator, download the PNG, and share it directly in Slack. For complex diagrams, this two-step approach gives you more control over theme and styling before sharing.

PlantUML Confluence vs WordPress Plugin and Notion Embeds

Beyond plantuml confluence, PlantUML integrates with several other content platforms. The WordPress and Notion options are simpler to configure but offer less native integration than the Confluence plugin ecosystem.

PlatformIntegration MethodNative?Best For
Confluence (Cloud)Marketplace plugin + macro✓ PluginEnterprise team wikis
Confluence (Server/DC)Self-hosted plugin + own server✓ PluginPrivate network documentation
GitHubBrowser extension / GitHub Actions✗ WorkaroundDev-first open source projects
GitLab (self-hosted)Admin settings → PlantUML server✓ NativeDevOps teams on GitLab
WordPressPlantUML plugin + shortcode✓ PluginTechnical blogs and public docs
NotionEmbed via plantuml.com PNG URL✗ URL embedIndividual or small team notes
Jekylljekyll-plantuml plugin✓ PluginStatic site documentation
DokuWikiPlantUML plugin from DokuWiki store✓ PluginOpen source team wikis

WordPress PlantUML Setup

Install the PlantUML Renderer plugin from the WordPress Plugin Directory. Once activated, wrap your diagram code in [plantuml]...[/plantuml] shortcodes in any post or page. The plugin renders diagrams via the plantuml.com server — no local Java install required.

Notion Embed (No Plugin Required)

Notion does not have an official PlantUML plugin. The workaround is to encode your diagram source into a plantuml.com PNG URL and insert it as an image block. While this works for static diagrams, the image does not update automatically when you change the diagram source — you must regenerate the URL manually.

Build your diagram, then embed it anywhere
Use our free PlantUML generator to create and refine any diagram, then copy the source code into Confluence, GitLab, Slack, WordPress, or any other platform in this guide.
Open Free Generator →

PlantUML Confluence Best Practices for Technical Writing Teams

Getting the most from plantuml confluence requires a few workflow conventions. These practices keep diagrams consistent, maintainable, and easy for non-developers to understand and update over time.

  • One diagram per Confluence macro. Avoid embedding multiple diagrams in a single macro block. Separate diagrams are independently editable and easier to review in page history.
  • Always add a title to embedded diagrams. Use title My Architecture — v2.3 inside the PlantUML code so the rendered diagram is self-labelled even when viewed outside the page context.
  • Apply a consistent theme. Add !theme cerulean (or your team’s chosen theme) to every diagram in the wiki. This creates a uniform look across all documentation pages without any manual styling.
  • Link diagrams to related pages. Add a Confluence internal link below each embedded diagram pointing to the page that documents the components shown. This creates a navigable documentation graph.
  • Use plantuml confluence for architecture decisions. Embed a component or C4 diagram alongside Architecture Decision Records (ADRs) to give the context that text alone cannot provide.
  • Review diagram source in pull requests. If you use Confluence for a team that also uses Git, store the canonical .puml source file in your repository and import it into Confluence on each release cycle to keep both systems in sync.
💡 PlantUML vs Gliffy and draw.io for Confluence Gliffy and draw.io are the most popular visual diagramming tools for Confluence. PlantUML is better when diagrams need to be version-controlled as text, generated from code, or shared across platforms (GitHub, Slack, Confluence) from a single source. For non-developers who prefer clicking and dragging, draw.io or Gliffy may be the right choice.

URL Generator, Shareable Links and Offline Export Options

Every PlantUML diagram can be shared as a URL — no Confluence or GitHub account required. The plantuml.com server encodes your diagram source in the URL path, so anyone with the link can view or download the rendered PNG or SVG without any tools installed.

Building a Shareable URL

The URL format is: https://www.plantuml.com/plantuml/FORMAT/ENCODED_SOURCE

  • Replace FORMAT with png, svg, pdf, or txt
  • Replace ENCODED_SOURCE with your diagram code encoded in PlantUML’s deflate+base64 format
  • Use the online encoder at plantuml.com, or any PlantUML editor including our free PlantUML generator, to get the encoded string automatically

Offline Export Without Java

To export PNG or SVG without Java, use VS Code in server mode or our browser-based generator. For batch CI/CD export, the official Docker image handles all diagram types without a local Java install.

See our PlantUML editor VSCode guide for export configuration, and our PlantUML cheat sheet for the full CLI flag reference.

PlantUML Confluence — Frequently Asked Questions

How do I add PlantUML to Confluence Cloud?

Go to Settings → Apps → Find new apps and search for PlantUML in the Atlassian Marketplace. Install PlantUML Diagrams for Confluence. Open any page in edit mode, type /plantuml to insert the macro, paste code between @startuml and @enduml, then save to render.

Is the plantuml confluence plugin free?

Most plantuml confluence plugins offer a free tier for small teams (typically under 10 users). Paid plans unlock larger diagram rendering limits, priority support, and advanced export features. For self-hosted Confluence Server and Data Center, several fully free open-source plugin options are available on the Atlassian Marketplace regardless of team size.

Does PlantUML work in Confluence Cloud or only on Server?

PlantUML works on both Confluence Cloud and Server/Data Center through different mechanisms. Cloud uses a marketplace plugin that sends diagram code to the vendor’s render server. Server/DC can use plugins or point to a self-hosted PlantUML server for full privacy and offline support.

Can I use themes and skinparam inside a Confluence PlantUML macro?

Yes — most plantuml confluence plugins support the full theme and skinparam system. Add !theme cerulean or skinparam properties inside the macro code block and they apply to the rendered diagram. The !include directive may be restricted in Cloud for security reasons.

How do I render PlantUML in GitHub without a plugin?

The simplest approach is to embed a plantuml.com image URL in your markdown file: ![Diagram](https://www.plantuml.com/plantuml/png/ENCODED_SOURCE). Replace ENCODED_SOURCE with the encoded version of your diagram — our free generator provides this automatically. Alternatively, install the official PlantUML for GitHub browser extension which renders PlantUML code blocks natively in GitHub pages without any server URL encoding.

Does GitLab natively support PlantUML?

Yes — self-hosted GitLab instances support native PlantUML when enabled by an admin in Settings → General → Integrations. GitLab.com (SaaS) does not support native PlantUML as of 2026 — use the browser extension or the plantuml.com URL embed for gitlab.com projects instead.

How do I embed a PlantUML diagram in Notion?

Notion has no native PlantUML plugin. The workaround is to encode your diagram as a plantuml.com PNG URL and add it as an image block using the Embed option. The image is static — it does not auto-update when the source changes. For live-updating team diagrams, Confluence with the PlantUML plugin is the better choice.

Can PlantUML diagrams be exported from Confluence to PDF?

Yes — when you export a Confluence page to PDF (using the built-in Export feature), embedded PlantUML diagrams are included as rendered images in the PDF output. The quality depends on the plugin — most render at PNG resolution, while some premium plugins support SVG-based PDF rendering for vector-quality output at any print size.

What is the best PlantUML integration for technical writing teams?

For Confluence-first teams, the Marketplace plugin is best — diagrams live inside pages and update with page history. For GitLab self-hosted teams, the native admin setting is simplest. For cross-platform teams, our free PlantUML generator is a practical starting point before embedding diagrams anywhere.

J
Joshua

SEO strategist and founder of AI Tool Synergy. Focused on building topical authority through data-driven content and free tools that actually work. Explore all free tools at aitoolsynergy.com/free-tools-online — no signup ever required.