What it does
The PlantUML Server turns text descriptions into diagrams, such as sequence, class, activity and state diagrams, for example to show up-to-date diagrams in documentation or a wiki. The diagram source is encoded into the URL (compressed, or as hex after ~h), and a GET request returns PNG, SVG or text art. Free, no key needed. The images belong to the author of the source; run your own server for sensitive diagrams, as PlantUML is open source.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed.
- From the browser
- Yes (CORS)
- Interface
- REST, HTTP-GET
- Provider
- plantuml.com
More information: https://plantuml.com/server
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.plantuml.com/plantuml/svg/~h407374617274756d6c0a416c6963652d3e426f623a2048656c6c6f0a40656e64756d6c'
JavaScript
const response = await fetch("https://www.plantuml.com/plantuml/svg/~h407374617274756d6c0a416c6963652d3e426f623a2048656c6c6f0a40656e64756d6c");
const text = await response.text();
console.log(text);
Python
import requests
response = requests.get(
"https://www.plantuml.com/plantuml/svg/~h407374617274756d6c0a416c6963652d3e426f623a2048656c6c6f0a40656e64756d6c",
timeout=30,
)
print(response.text)
The JavaScript works in a web page as well as in Node.js 18 or newer.