Developer
Base64 encoder and decoder
Encode text to Base64 or decode Base64 back to text. UTF-8 is used so accented and CJK characters survive a round trip.
Enter text to convert.
How to use
Paste plain text to encode, or Base64 to decode. Switch direction with the toggle. Invalid Base64 shows an error instead of garbled output.
Questions
- Why not use btoa directly?
- btoa only accepts binary Latin-1. This tool encodes UTF-8 bytes first, so “café” and “日本語” encode and decode correctly.
- Can I decode files?
- This page is for text. Very large binary payloads belong in a dedicated file tool; keep this one for snippets and tokens.