Base64 Encode/Decode
Encode text to Base64 or decode Base64 strings back to plain text.
Base64 is an encoding scheme that represents binary or text data using 64 printable ASCII characters, making it safe to embed in URLs, JSON, email, and data URIs. Use this tool to encode text to Base64 or decode a Base64 string back to readable text. Everything runs locally in your browser, so your input never leaves the page.
Frequently asked questions
What is Base64 used for?
Base64 lets binary data travel through text-only channels. It is common in data URIs (embedding images directly in HTML or CSS), email attachments (MIME), JSON Web Tokens, and storing small blobs in config files or APIs.
Does Base64 encrypt data?
No. Base64 is encoding, not encryption — anyone can decode it instantly. It hides nothing and adds no security, so use real encryption for anything sensitive.
Why is the Base64 output larger than the input?
Base64 represents every 3 bytes as 4 characters, so the encoded text is about 33% larger than the original. That overhead is the cost of being text-safe.
Does it handle Unicode, accents, and emoji?
Yes. Text is converted to UTF-8 before encoding, so accented letters, non-Latin scripts, and emoji round-trip correctly in both directions.
Is my data sent to a server?
No. Encoding and decoding happen entirely in your browser with JavaScript; nothing is uploaded, stored, or logged.