Proxy service : get SVG file of a diagram

0 votes
asked Feb 16, 2015 in Wanted features by MAV (460 points)
Hi guys,

Is it possible to get a SVG XML file of a diagram by using the proxy service?

Thank you !


1 Answer

+1 vote
answered Sep 20, 2019 by Erik Bachmann (160 points)

Oh yes indeed: section "Proxy service"

Proxy service

With the proxy service, the source description of the diagram can be fetched by the PlantUML Server from a remote document.

The proxy service uses the following URL scheme: /plantuml/proxy?src=RESOURCE&idx=INDEX&fmt=FORMAT

  • RESOURCE is the complete URL of the document which contains the diagram description (with the @startxxx and @endxxx tags), it could be a .html or a .txt file.
  • INDEX is optional, it specifies the occurrence (starting at 0) of the diagram description that will be parsed when there are more than one diagram descriptions in the remote document. It defaults to zero.
  • FORMAT is optional, it specifies the format to return. Supported values are: png, svg, eps, epstext and txt. Default is png,

For example, try this link:

Note that the address of the remote document is specified as a parameter, so it is not necessary to URL encode the URL.