Home › Text Tools › Base64 & URL Encoder/Decoder

Base64 & URL Encoder/Decoder

Encode and decode Base64 text, and percent-encode or decode URL components.

Base64

URL component

Everything runs in your browser. Nothing you type is sent or stored. Do not paste secrets you would not show to others; encoding is not encryption.

How it works

Base64 text is encoded as UTF-8 first, so accented letters and emoji survive the round trip. Decoding reports an error if the input is not valid Base64 or does not decode to valid UTF-8. URL encoding percent-escapes every character that is not allowed in a URL component, the same as JavaScript's encodeURIComponent.