What this tool does
This free Base64 tool converts text to Base64 and decodes Base64 back to text. Everything runs entirely in your browser using the native btoa and atob functions with full UTF-8 support — nothing is uploaded to any server, so it is safe for sensitive text.
When you would use it
- Embedding a small image or file inside JSON or a data URI.
- Reading a Base64 value from an API response or a JWT payload.
- Decoding a Basic Auth header to check its contents.
Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect passwords or secrets. Learn more in our guide: Base64 Encoding Explained.
Frequently Asked Questions
Is my text uploaded anywhere?
No. Encoding and decoding happen locally in your browser. Your input never leaves your device.
Does it support emoji and other languages?
Yes — this tool encodes text as UTF-8 first, so emoji and non-English characters work correctly.
Why do I get an error when decoding?
Decoding fails if the input is not valid Base64 (for example, if it contains spaces or is truncated). Check that you pasted the complete, unmodified Base64 string.