Base64 Encoder/Decoder

Free online tool to encode text to Base64 or decode Base64 back to text. Works instantly in your browser.

A Base64 encoder rewrites bytes using 64 text-safe characters so the data can travel in text.

Example: A = QQ==

Text tools on this site use UTF-8. This Base64 page uses the browser byte mapping (one character code from 0 to 255 per byte), which matches UTF-8 for English letters.

Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data that needs to be stored and transferred over media that are designed to deal with textual data.

Common Uses:

  • Encoding binary data in URLs
  • Embedding images in HTML/CSS (data URIs)
  • Email attachments (MIME)
  • Storing complex data in JSON