RaaTools
Advertisement

Base64 Encoder / Decoder

Encode text or files to Base64, or decode Base64 strings back to plain text or binary.

Or encode a file:

Advertisement

What is Base64?

Base64 is an encoding scheme that converts binary data (bytes) into a string of ASCII characters. It uses 64 printable characters: A–Z, a–z, 0–9, + and /. Base64 increases data size by about 33% but makes binary data safe to transmit in text-based protocols.

When is Base64 used?

  • Embedding images in CSS or HTML as data URLs (data:image/png;base64,...)
  • Storing binary data in JSON payloads
  • Email attachments (MIME encoding)
  • Basic authentication HTTP headers (Authorization: Basic dXNlcjpwYXNz)
  • JWT (JSON Web Token) payloads

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode a Base64 string without any key. Never use Base64 to hide sensitive information — use proper encryption instead.