Skip to content

Encode Text

  • Condition
  • Text & math
  • Advanced mode

Turns text into Base64, a URL's form, HTML, hex or a JSON string, or back again (as UTF-8). Text that can't be decoded gives Valid false and an empty Text.

In the editor, press Space on the canvas to add a step, then open Conditions > Text & math, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Operation

A choice
  • Base64 encode
  • Base64 decode
  • URL encode: For a value in a web address: spaces become %20.
  • URL decode
  • HTML encode: < > & and quotes become entities.
  • HTML decode
  • Hex encode
  • Hex decode
  • JSON escape: For text put inside a JSON string by hand.
  • JSON unescape

Starts as: Base64 encode Can come from another step's output

Text

Text

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Encode Text outputs
OutputGivesWhat it is
TextText
ValidYes or noFalse when the text couldn't be decoded.

More in Text & math