Skip to main content

Encode or decode text

Make text safe for, or read it back from, a web address (URL), HTML, XML, JSON or Base64.

Command in the String toolkit · id ooa.string/encode · 3 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to change.
DirectionStringNoencodeEncode or decode.
FormatStringNourlURL: a value in a web address (a space is %20); HTML and XML: < > & and quotes; JSON: the inside of a JSON text (quotes, \n); Base64: UTF-8 bytes.

Outputs​

OutputTypeWhat it is
resultStringThe encoded or decoded text.