to-base64

The to-base64 operation encodes the input value into Base64. Base64 is a binary-to-text encoding scheme commonly used for transmitting binary data over text-based protocols such as HTTP.

How it works

  • Input – a string or binary value.
  • Output – the Base64-encoded representation of the input.
  • If the input is empty or cannot be processed, the result is an empty string.

Examples

InputOutput
helloaGVsbG8=
12345MTIzNDU=
{“id”:1}eyJpZCI6MX0=
(empty)“ (empty string)

Usage in PalDock

Use to-base64 when you need to:

  • Encode credentials, tokens, or payloads for APIs that require Base64 (e.g. HTTP Basic Auth, JWT header encoding).
  • Safely transmit binary content (images, files) in text-only fields.
  • Normalize data into a consistent, ASCII-safe representation.

Best Practices

  • Combine to-base64 with prefix to build Authorization headers, e.g. Bearer {token}.
  • Ensure that the receiving API expects Base64 — do not use this operation unless the integration specifically requires it.
  • Be aware that Base64 increases data size by ~33%, so avoid using it for very large payloads unless necessary.

References

Insights that
helps you grow

  • Free Affiliate tracking software
    Many companies (inlcuding YOU) search for free affiliate tracking software because they want to launch an affiliate program without committing to expensive monthly fees. The…
  • Release notes 2026/06/30
    We implemented numerous performance improvements and feature enhancements based on your feedback. We also significantly expanded the flexibility of the following features: The External Final Page…
  • Release notes 2026/04/30
    Based on your feedback, we’ve pushed the Integration Builder even further. We’ve rolled out a massive wave of UX fixes and performance updates. Here’s the…