Encode text to Base64 or decode Base64 back to text — with correct handling of emoji and international characters that breaks naive implementations.
How it works
- Choose whether you want to Encode text to Base64, or Decode Base64 back to text.
- Paste your string into the input field.
- The engine immediately processes the text, correctly handling complex UTF-8 characters and emojis.
Frequently asked questions
Why does the standard Javascript "btoa" fail on emojis?
The native btoa function only handles Latin-1 strings. Unicode characters must be UTF-8 encoded into bytes first — a step this tool does automatically.
Is Base64 considered encryption?
No. Base64 is merely a data encoding format, which is trivially reversible by anyone. Never use it to protect passwords or secrets.
Why does encoded Base64 text often end with an "=" sign?
It is padding. Base64 processes data in 3-byte groups. The equals sign pads the final block when the input length isn't a clean multiple of 3.