Base64 Encoder & Decoder

Encode and decode Base64 instantly. Convert text or files to Base64 with auto-detection. Free, fast, and 100% client-side.

Input (Text)
Encode a file to Base64
Output
Result will appear here...

FAQ

Is Base64 encoding encryption?
No. Base64 is an encoding scheme, not encryption. It provides no security and can be easily decoded by anyone.
Can I encode files with this tool?
Yes. Use the file input to select any file and it will be converted to a Base64 data URL using FileReader.
Does it support Unicode text?
Yes. The tool handles UTF-8 encoding properly, so international characters are encoded and decoded correctly.
How does auto-detect work?
When enabled, the tool checks if your input looks like a valid Base64 string (correct character set and length) and automatically switches between encode and decode modes.

Related Tools