URL Encoder
Percent-encode text for a URL — with the right function for the job.
Runs in your browser — nothing you type is sent anywhere
What are you encoding?
Escapes everything, including : / ? # & = — right for a single parameter value, so a value containing an ampersand cannot split into two parameters.
Encoded
The result appears here as you type. Nothing is sent anywhere — the work happens in this page.
Everything happens in your browser. URLs frequently carry tokens, session identifiers and email addresses in their parameters, so nothing typed here is transmitted or logged.
About the URL Encoder
A URL can only contain a restricted set of characters. Everything else — spaces, accents, ampersands, anything non-Latin — has to be written as a percent escape, so a space becomes <code>%20</code> and an ampersand becomes <code>%26</code>.
The part that catches people out is that there are two different encodings, and choosing the wrong one produces a bug rather than an error. Encoding a whole address must leave the characters that give it structure alone — the colon, the slashes, the question mark, the ampersands between parameters — or it stops being an address. Encoding a single value inside that address must escape exactly those characters, or a value containing an ampersand splits into two parameters and quietly corrupts whatever receives it.
Both are offered here as a plain choice, with what each one does spelled out, rather than a single button that is right half the time. If you are encoding something to put after an <code>=</code> in a query string, you want the one that escapes everything.
Anything can be encoded, including emoji and non-Latin text, which become several escapes each because the encoding works on UTF-8 bytes rather than characters. That is why one Hindi or Japanese character turns into three percent escapes.
It runs in your browser. URLs regularly carry access tokens, session identifiers and email addresses, so nothing typed here is transmitted or logged.
How to use the URL Encoder
Paste your text
A whole address, or the single value you want to put inside one.
Choose which kind of encoding
One value escapes everything including & and =. A whole URL leaves the structure intact.
Check the result
Spaces become %20 and each non-Latin character becomes several escapes, since the encoding works on bytes.
Copy it
One tap to the clipboard, or download it as a text file.
Frequently asked questions
Which option should I choose?
What happens if I use the wrong one?
Why does one emoji become several escapes?
Should a space be %20 or +?
Is my text sent anywhere?
You may also need
URL Decoder
Turn a wall of %20s back into readable text — and see what a long URL is made of.
Base64 Encoder
Encode text to Base64, including emoji and every alphabet, with a URL-safe option.
UTM Builder
Build campaign links your analytics will actually group together properly.
QR Code Generator
Make a QR code for a link, Wi-Fi, contact card, WhatsApp and more — download as PNG or SVG.