Developer & Data 100% Local Processing Limit: 5 MB

Base64 Text Encoder and Decoder

Encode plain text to Base64 and decode Base64 back to text with full UTF-8 Unicode support.

Sponsor Space
Sponsor Space

How to Use the Base64 Text Encoder and Decoder

  1. 1
    Choose Mode: "Encode" or "Decode".
  2. 2
    Enter or paste text into the input box.
  3. 3
    Toggle "URL-Safe Base64" if generating tokens for query strings (`-` and `_` instead of `+` and `/`).
  4. 4
    Click "Convert" and copy the resulting string.

Practical Example & Use Case

Common Real-World Scenario

Encoding Basic Auth credentials or JWT payload segments containing emojis and international characters without encoding corruption.

Technical Notes & Limitations

Browser Engine Architecture

Standard browser `btoa` fails on non-ASCII characters; WebUtilities uses a UTF-8 byte stream encoder to guarantee zero encoding exceptions.

Frequently Asked Questions

Will emojis and accents like "café ☕" work?

Yes! Full multi-byte UTF-8 Unicode is preserved perfectly.