Base64 encode and decode
Convert text to Base64 and back. Handles accents and emoji, which most encoders do not.
0 characters
Result
0 characters
Questions
- Why do other Base64 tools break on emoji?
- Because btoa, the browser function most of them call directly, only accepts Latin-1. Anything outside it throws. This encodes the text to UTF-8 bytes first, which is what people mean when they say Base64 encode a string.
- Is Base64 encryption?
- No, and this matters. It is an encoding, fully reversible by anyone, with no key involved. It makes binary data safe to put in text, it does not hide anything.
- Can I encode a file?
- Not yet on this page. It is on the list.