About this base64 encode & decode
Base64 turns binary or special-character text into a safe alphabet of A-Z, a-z, 0-9, + and / so it can travel through email, URLs, JSON and HTML. Encode and decode here with proper Unicode support โ Sinhala, Tamil, emoji and all.
How to use it
- Paste text (to encode) or Base64 (to decode).
- Click the matching button.
- Copy the output.
The formula
Worked example
Frequently asked questions
Is Base64 encryption?
No! Base64 is just an encoding โ anyone can decode it instantly. Never use it to hide passwords or secrets.
Why does output end with = signs?
Padding. Base64 output length must be a multiple of 4, so = characters pad the end (0, 1 or 2 of them).
Can I encode a file?
This tool handles text. Small files can be encoded by developer tools, but large ones produce enormous strings.