Base64 Encoder / Decoder

Encode or decode Base64 strings instantly, with full Unicode (UTF-8) support. Works offline — nothing is sent to a server.

Runs entirely in your browser — no uploads

About this tool

Base64 Encoder/Decoder converts text to Base64 and back with correct UTF-8 handling, so emojis and non-Latin scripts round-trip perfectly.

Invalid Base64 input is detected and clearly flagged instead of producing garbage. All conversion is local JavaScript.

Free · no account No file uploads Works on mobile

FAQ

Why Unicode-safe encoding?
Naive atob/btoa calls break on multi-byte characters. We route through UTF-8 first so “héllo☃” encodes correctly in both directions.
Can I decode files or images?
This tool handles text. For images, paste a data URI’s Base64 payload and decode to view the text representation — binary-to-file decoding isn’t included.
Is Base64 encryption?
No — Base64 is an encoding, not security. Anyone can decode it; never use it to protect secrets.