Decode Base64 string



How Base64 Decoding Works

Base64 decoding reverses the 6-bit-per-character ASCII mapping back into the original UTF-8 text or raw byte string. Developers commonly decode Base64 strings when inspecting JWT header/payload segments, Kubernetes Secret YAML manifests, SAML assertions, HTTP Authorization: Basic headers, and email attachments.

  • Padding (= or ==): Standard Base64 pads output length to a multiple of 4 characters. URL-safe Base64 variants replace + and / with - and _.
  • Need to encode instead or use the CORS-free API? Switch to the Base64 Encoder or see CLI/JS examples on the Base64 API & FAQ page.
Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy