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

  • Release notes 2026/02/27
    After months of work, our Integration Builder has a fresh new look and a lot more power. We redesigned it to be easier to use,…
  • Release notes 2025/12/19
    We added country-based categorization. You can now categorize offers, integrations, and other items by a specific country, or keep them global across all markets. We also…
  • Release notes 2025/12/17
    More flexible lead rejection: based on validation rules, filters, or pingtree sales results, by source (iframe, API) or by partner (include / exclude). It is now possible to…