from-base64

The from-base64 operation decodes a Base64-encoded value back into its original string. It is the inverse of the to-base64 operation.

How it works

  • Input – a valid Base64-encoded string.
  • Output – the decoded string.
  • If the input is not valid Base64, the operation may return an empty string or the unmodified value, depending on the error handling.

Examples

Input (Base64)Output
aGVsbG8=hello
MTIzNDU=12345
eyJpZCI6MX0={“id”:1}
invalid!!“ (empty string) or unchanged

Usage in PalDock

Use from-base64 when you need to:

  • Decode API responses that provide values in Base64.
  • Convert stored tokens or payloads back into human-readable form.
  • Process binary content (files, images) that was encoded for transmission.

Best Practices

  • Always validate that the input is a valid Base64 string before decoding.
  • Be aware that decoding binary data may produce non-printable characters – only decode into text fields if the source is known to be textual.
  • Pair with to-base64 for round-trip transformations.

References

Related articles

Modify Field > combine
Modify Field > urldecode
Modify Field > urlencode
Modify Field > load-from-lead
Modify Field > regex-replace
Modify Field > to-base64
Modify Field > modify-date
Modify Field > format-date
Modify Field > do-not-send
Modify Field > first-regex-match

Insights that
helps you grow