← All nodes
Security

Base64 / Hex Encode-Decode

Encodes text as Base64, URL-safe Base64 or hex — or decodes it back to readable text.

When to use it

Use it for payloads, tokens or file contents that arrive Base64-encoded from an API, or to encode values a target system expects in Base64 or hex.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ColumnselectYesSelect column…
Modeselect—encode
Formatselect—base64
Generate New Columncheckbox—true
New Column Nametext—Default: <column> Encoded / Decoded
Insert Afterselect—After the column

Example

Decode a Base64 payload

  • Column=Payload
  • Mode=Decode
Messages
IdPayload
1eyJvayI6dHJ1ZX0=
2not base64!
Decoded in a new column
IdPayloadPayload Decoded
1eyJvayI6dHJ1ZX0={"ok":true}
2not base64!not base64!

Row 2 is not Base64, so it is copied as it was and counted in the node's note.

Worth knowing

  • Text is encoded as UTF-8. Decoded bytes that are not UTF-8 text (an image, say) are left encoded and counted.
  • URL-safe Base64 uses - and _ instead of + and /, as JWTs and many web APIs do.
  • Untick Generate New Column to replace the column itself.

Others in Security