Base64 Encoder and Decoder
Convert text to and from base64 with correct UTF-8 handling, so emoji and non-Latin scripts survive the round trip. URL-safe output is available for tokens.
- Runs in your browser
- Accepts: text, base64
- Produces: base64, text
- Free · No sign-up
Loading the tool…
How to use base64 encoder and decoder
- Paste text or base64.
- Choose encode or decode.
- Copy the result.
Practical examples
Encoding a Unicode string
The text "café ☕" is encoded as UTF-8 bytes before base64, so decoding returns the original characters rather than mojibake.
Limitations to know about
- Invalid base64 input is reported instead of being partially decoded.
- This tool encodes text. Use Image to Base64 for binary image data.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Related tools
All developer tools Image to Base64 Converter Get a data URI string for inline images and CSS.
Open tool
URL Encoder and Decoder Percent-encode query values or decode encoded URLs.
Open tool
Hash Generator (SHA-1, SHA-256, SHA-512) Compute secure hashes of text or files.
Open tool
JWT Decoder Read JWT header, payload and expiry without sending the token.
Open tool
Version 1.0.0 · Last updated 2026-12-06 · Processing: local browser