Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to plain text. Fast, free, and runs entirely in your browser.
Plain Text
Base64 Output
How to Use the Base64 Tool
Select Encode to convert plain text into Base64 format, or Decode to convert a Base64 string back to readable text. The conversion happens automatically as you type — no button click needed.
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed binary data in text-based formats like JSON, XML, HTML, and email (MIME).
Common Use Cases
- Embedding images in HTML or CSS using data URIs
- Encoding binary data for JSON API payloads
- Encoding email attachments (MIME)
- Storing binary data in text-only environments
- Basic obfuscation of strings (not encryption)
FAQ
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode Base64 without a key. Never use Base64 to protect sensitive data.
Why does Base64 make data larger?
Base64 uses 4 characters to represent every 3 bytes of data, resulting in roughly 33% size increase. This trade-off is accepted when binary data must be transmitted through text-only channels.
Is my data safe?
Yes. All encoding and decoding happens in your browser. No data is sent to any server.