Base64 Encoder & Decoder

Encode text and images to Base64 or decode Base64 data back to readable text with full UTF-8 support.

Plain Text
Base64 Result

What is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that translates binary data into a set of 64 standard ASCII characters (A-Z, a-z, 0-9, +, /). It was created to safely transmit data across channels that only reliably handle plain ASCII text, such as email protocols (MIME) and HTTP headers.


Common Use Cases for Base64

  • Embedding Images: Embed icons or images directly into HTML or CSS stylesheets as Data URIs (`data:image/png;base64,...`), avoiding extra HTTP requests.
  • Web APIs: Safely transmitting JSON payloads, credentials, and cryptographic signatures in URLs and HTTP headers.
  • Security & Tokens: Base64URL encoding is standard in JSON Web Tokens (JWT).