Free tool · Writing and text

Base64 and URL encoder and decoder

Encode text to Base64 or decode it back, and percent-encode or decode a web address. Handles accents and emoji correctly (UTF-8) and runs in your browser.

Use it

Input

Result


            

Optional, and you don't need it to use the tool. You'll get the SortedDesk newsletter, starting with an email asking you to confirm. Unsubscribe at any time. Only the email address goes to Kit, who run our mailing list. Privacy

How it works

Base64 turns any bytes into plain letters, numbers, + and /, so they can travel in places that only allow text (email attachments, data links, some APIs). It is encoding, not encryption: anyone can decode it, so never use it to hide a password.

URL encoding replaces characters that have a special meaning in a web address (spaces, &, ?, #, accents) with a % and two hex digits, for example a space becomes %20. The text is treated as UTF-8, so accented letters and emoji round-trip properly.

Questions

Is Base64 encryption?

No. Anyone can reverse it in a second. Use it for transport, never for secrecy.

What is URL-safe Base64?

A variant that swaps + and / for - and _ and drops the = padding, so it can sit inside a web address or file name.

Why does decoding fail?

The text may contain characters outside the Base64 alphabet, be cut short, or decode to bytes that aren't valid text (for example a picture).

Is my text uploaded?

No. Everything is converted in your browser.

Small print

Everything happens in your browser. Nothing you type or add is uploaded to us or anyone else, and the tool works with no account.

Free to use. Results are for convenience: check anything important before you rely on it.