Base64 Encode / Decode

Encode UTF-8 text to Base64 or decode Base64 back to text. The encoder handles Unicode safely (not just Latin-1), which avoids the classic btoa pitfalls with non-ASCII characters.

Common uses include embedding small assets in data URLs, inspecting Authorization headers, and debugging API payloads. Invalid Base64 input surfaces an error instead of silent garbage.

Privacy: Processed in your browser; we do not upload your input.

—

All tools · Home · Daily Top10