Handles any Unicode text, not just ASCII — a single euro sign breaks naive encoders built on btoa alone. Decoding accepts URL-safe Base64 with or without padding, which is what you usually find in the wild.
Runs entirely in your browser
Base64 encodes arbitrary data as plain ASCII text, which is why it turns up everywhere — data URIs, email attachments, API tokens, and anywhere binary needs to travel through a text-only channel. This tool encodes text to Base64 and decodes it back, and it handles the cases that trip up naive implementations.
Full Unicode is supported, not just plain ASCII: a single euro sign or emoji breaks encoders built on the browser’s btoa alone, whereas this encodes the UTF-8 bytes correctly. On decoding, it accepts URL-safe Base64 (which swaps a couple of characters) with or without padding, because that is the variant you most often encounter in tokens and URLs.
Everything runs in your browser, so the data you encode or decode is not uploaded. Use it to inspect a token, build a data URI, or convert text to a form that survives a text-only transport.
TechToolsHQ is an independent, reader-supported tech platform. If this free tool saved you time, solved a problem, or helped your workflow, consider supporting our work. Your support helps us keep our utilities 100% free, private, and ad-free for everyone.