Base64 Encoder/Decoder
Encode plain text to Base64 and decode Base64 back to plain text. Works with UTF-8 encoding.
Encode & Decode
Convert text to Base64 and back with a single click. Simple and intuitive interface.
URL Safe Mode
Use URL-safe Base64 encoding for safe transmission in URLs and HTTP headers.
UTF-8 Support
Full UTF-8 encoding support for special characters, emojis, and international text.
How to Use
1 Encode Text
- Enter your plain text in the input box
- Click "Encode to Base64"
- Copy the encoded result
2 Decode Base64
- Enter Base64 string in the input box
- Click "Decode from Base64"
- View the decoded plain text
Frequently Asked Questions
What is Base64 encoding?
Base64 converts binary data into text using 64 characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed images in HTML/CSS, transfer files via JSON, or encode data for URLs.
When should I use URL-safe Base64?
Use URL-safe mode (replace + with -, / with _) when encoding data for URLs, HTTP headers, or filename parameters. Regular Base64 can break in these contexts.
Why are there + and = in my encoded result?
That's perfectly normal! + is used for padding when data doesn't divide evenly by 3. For URLs, use "URL Safe Encode" instead. The = is also padding and can be removed safely.
Is my data secure?
Totally! All encoding/decoding happens right in your browser. Nothing is sent to any server. Your data stays private and secure on your device.