<nodisp>TITLE: Text Encoding format </nodisp>

PlantUML Text Encoding

PlantUML uses a special encoding to transform a uml text description like:

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

into

Syp9J4vLqBLJSCfFib9mB2t9ICqhoKnEBCdCprC8IYqiJIqkuGBAAUW2rJY256DHLLoGdrUS2W00

The advantage of the last encoding is that it is easier to use in URL.

To achieve such an encoding, the text diagram is:

  1. Encoded in UTF-8
  2. Compressed using Deflate algorithm
  3. Encoded back in plain ASCII using a transformation close to base64

You can use -encodeurl or -decodeurl in the command line flags to encode or decode the text.

You will find here some implementation of this encoder:


You can contribute on this page by clicking here
EnglishLocal