Base64 Encoder / Decoder
Encode plain text to Base64, or decode Base64 back to readable text.
Ad space — 728×90 banner
Result
How to use the Base64 Encoder / Decoder
- Type or paste text (or Base64) into the box.
- Click Encode or Decode.
- Read the result below.
How it works
Base64 turns arbitrary data into a text-safe format using only 64 printable characters (A-Z, a-z, 0-9, +, /), which is why encoded output is roughly 33% longer than the original. It's commonly used to embed small images in CSS/HTML as data URLs, or to pass binary data through systems that only accept plain text, like JSON payloads or email.
Frequently asked questions
What is Base64 used for?
It's a way to represent binary or text data using only printable ASCII characters — commonly used in emails, data URLs, and API payloads.
Is this processed locally?
Yes — encoding and decoding use the browser's built-in btoa()/atob() functions, entirely client-side.