Toolwyn

Base64 encode / decode

BETA

Encode text to Base64 or decode Base64 back to text. Handles Korean, emoji, and any Unicode text correctly. Runs entirely in your browser.

Input
Output

Your text never leaves your device. Nothing is uploaded to a server.

Report a problem

Frequently asked questions

Why not just use the browser's built-in btoa()/atob()?

Those functions only handle Latin-1 text correctly and corrupt anything outside that range — Korean, emoji, or other Unicode text comes out garbled. This tool encodes UTF-8 bytes properly first, so any language round-trips correctly.

Can I encode/decode files, not just text?

Currently this tool works with text input/output (including uploading a .txt file). Binary file encoding isn't supported yet.

What happens if I paste invalid Base64 into Decode?

You'll get a clear error message instead of garbage output or a crash.

Is Base64 encryption?

No — Base64 is just an encoding, not encryption. Anyone can decode it instantly; don't use it to protect sensitive data.