All tools
TOOL IDB-SWE-018
Base64 codec

Desktop only

Engineering tools are available only on desktop screens.

Base64 codec

Base64 / Base64URL encode and decode. UTF-8 safe text, raw hex bytes, and proper padding handling. Convert between modes without losing data.

3-byte → 4-char encoding first triplet
3 input bytes 4 sextets 4 base64 chars
Engineering notes

Variants

  • Standard: A-Z a-z 0-9 + / and = padding.
  • URL-safe (RFC 4648 §5): swaps + → -, / → _, omits padding. Required for JWT, query params, filenames.

Size overhead

  • Output ≈ 4 × ceil(N / 3) bytes — ~33% overhead.
  • For binary, prefer hex input here so byte values are unambiguous.

Result

Live