🔤 Base64 Encoder / Decoder
Convert text to Base64 and back in a tap — perfect for data URIs, API tokens, config values, and debugging Android payloads. It all runs in your browser, so nothing is uploaded or stored.
🔤 Encode & Decode Base64
What is a Base64 Encoder?
Base64 turns any data into a string of 64 safe characters so it can travel through channels that only accept text — JSON bodies, XML, URLs, HTML data URIs, or email. Paste text and this tool returns its Base64 form; paste Base64 and it decodes it back to the original text.
Because everything runs locally with a pure implementation, it's safe for API keys and tokens, works offline, and correctly handles emoji and non-English text by encoding UTF-8 bytes. Remember that Base64 is encoding, not encryption — it hides nothing, so never rely on it to protect secrets.
❓ Frequently Asked Questions
What is Base64 and why do Android developers use it?
Base64 is a way of representing arbitrary binary data using only 64 printable ASCII characters. Developers use it to embed small images as data URIs, to move binary blobs through text-only channels like JSON or XML, to encode HTTP Basic Auth headers, and to store keys or certificates in text config files. On Android it shows up in intents, shared preferences, and API responses.
Does this Base64 tool upload my text anywhere?
No. The encoding and decoding happen entirely in your browser with a pure JavaScript implementation — your text never leaves your device and nothing is stored or sent to a server. That makes it safe for tokens, keys, and sensitive payloads.
Does it handle emoji and non-English characters?
Yes. The text is first converted to UTF-8 bytes before encoding, so accented letters, emoji, and non-Latin scripts round-trip correctly — unlike the browser's built-in btoa(), which throws on multi-byte characters.
Is Base64 a form of encryption?
No — Base64 is encoding, not encryption. Anyone can decode it instantly, so never use it to hide passwords or secrets. It only makes binary data safe to transport as text; use real encryption or hashing when you need security.