Base64 Encoder/Decoder Encode & Decode Instantly
100% Private - No Server Processing
Convert text to Base64 and vice versa. Perfect for encoding data for APIs, URLs, and more. All processing happens in your browser.
How to use Base64 Encoder/Decoder
Your files stay private - everything is processed in your browser, nothing is uploaded.
Paste text
Enter your plain text or Base64 encoded string
Encode/Decode
Click the encode or decode button to convert your text
Copy result
Copy the converted text to your clipboard with one click
Encode Text
Convert any text to Base64 format instantly
Decode Base64
Convert Base64 back to readable text
Easy Copy
One-click copy to clipboard
When you need Base64 text
This is encoding, not encryption. Anyone can decode it.
An API wants a string, not raw bytes
Paste the text, encode, copy. Unicode is handled as UTF-8.
You have a Base64 blob and need the words back
Paste and decode. Garbage usually means the string was truncated or was never text.
You need to hide a secret
Do not use this. Use the text encryptor. Base64 is reversible with no password.
Encode vs encrypt
Stay on Base64
- The other side expects Base64.
- The payload is text.
- Secrecy is not the point.
Use another tool
- You need a password: Text Encryptor.
- You need URL-safe characters: URL Encoder.
- You need to hash, not encode: Hash Generator.
What this page does
- Input: Text only. Not a file or image encoder.
- Unicode: Yes. Encoded as UTF-8, then Base64.
- Size: About 33 percent larger than the source bytes.
- Privacy: Encode and decode stay in the tab.
Readable to anyone who decodes it
Base64 is an alphabet for bytes. It is not a lock. If the string must stay secret, encrypt it first, then encode if a text channel requires it.
If encoding was the wrong job
Percent-encode a URL
Query strings need URL encoding, not Base64.
Lock the text with a password
AES-256-GCM in this tab. Password lost means the text is gone.
Frequently Asked Questions
Is Base64 encryption?
No. It is encoding. Anyone can decode it.
Does the text leave the tab?
No. Encode and decode run in the browser.
Can I encode a file or image?
No. This page is text only.
Does Unicode work?
Yes. Text is treated as UTF-8.
Why is the result longer?
About 33 percent larger. Every 3 bytes become 4 characters.
Why does decode look like garbage?
The string may be cut off, wrapped wrong, or it was never UTF-8 text.
Should I use this to hide a password?
No. Use the text encryptor.
Is this the same as URL encoding?
No. URL encoding percent-encodes characters for links. Use URL Encoder for that.
Can I go both ways?
Yes. Encode text to Base64, or decode Base64 back to text.
Are originals overwritten?
No. You copy new text.
Does this work offline after load?
Yes.