Web Tool

Base64 Encoder & Decoder

Convert text to Base64 and back, the right way. Every character is encoded as UTF-8, so emoji and accented letters round-trip perfectly. Flip a switch for URL-safe output. Everything runs in your browser.

Base64 output
FAQ

Base64, explained

What is Base64 encoding?+

Base64 represents binary data using 64 printable ASCII characters (A to Z, a to z, 0 to 9, plus and slash). It lets you carry bytes safely through channels that only expect text, such as data URIs, email, JSON, and cookies.

Why do emoji and accented letters work here?+

Many Base64 tools call the browser btoa function directly, which only handles Latin1 and throws on characters like é or an emoji. This tool encodes your text to UTF-8 bytes first, so any Unicode character round-trips exactly.

What is URL-safe Base64?+

URL-safe Base64 swaps the plus and slash characters for dash and underscore and drops the trailing equals padding, so the result can sit inside a URL or a JWT without extra escaping. Turn on the URL-safe option when encoding to produce it.

Is Base64 the same as encryption?+

No. Base64 is a reversible encoding, not a cipher. Anyone can decode it, so it provides no secrecy on its own. Use it to transport data, and use real encryption when you need to protect it.

Is my text sent to a server?+

No. Encoding and decoding happen entirely in your browser, so nothing you paste leaves your device. It is safe to use with tokens, keys, and other private data.

Related tools

All tools →

More in General Tools.