Base64 Encode and Decode: Private, in Your Browser
Encode text to Base64 and decode it back.
Base64 writes any bytes using 64 safe characters, which is how text travels inside tokens, data addresses and configuration files. This tool encodes text as UTF-8, so accents and emoji survive, and reads both the standard and the URL-safe alphabet, with or without padding. What gets decoded is often a credential or a token, so it is decoded on your device.
How to use Base64
- Paste text or Base64 into the box.
- Leave Which way on Work it out, or choose Write Base64 or Read Base64; turn on URL-safe in Options for addresses.
- Press Copy result, or Use as input to send the result back up.
Base64: common questions
Is it safe to decode a Base64 token in an online tool?
In this Base64 tool it is: encoding and decoding happen in your browser, on your device, and nothing you paste is sent to a server. Credentials and tokens written in Base64 stay with you, and the tool works offline.
Can the Base64 decoder read URL-safe Base64 without padding?
Yes. The Base64 decoder reads both the standard alphabet (+ and /) and the URL-safe one (- and _), with or without the = padding at the end. A character that does not belong in Base64 is named, with its position.
Does Base64 encoding keep accents and emoji?
Yes. The Base64 tool encodes text as UTF-8 before writing it in Base64, so accents and emoji survive, and decoding reads the bytes back as UTF-8 text.
Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.