Paste your text
A search term, a parameter value or a whole address.
Paste a value or a whole address and get it percent-encoded, so spaces, accents and symbols travel safely inside a URL. Nothing is uploaded.
100% private — your text is processed in your browser and never sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
A search term, a parameter value or a whole address.
A value or parameter also encodes / ? & = #; a whole address keeps them.
The result updates as you type.
To URL-encode text, paste it in the input box with Encode selected and choose whether it is a single value or a whole address. Characters that are not allowed in a URL, such as spaces, accents and symbols, are replaced by a percent sign and two hexadecimal digits: a space becomes %20 and über becomes %C3%BCber. It all happens in your browser.
A URL can only contain a small set of characters. Anything else, including spaces, accented letters, emoji and characters with a special meaning such as & and #, has to be written as a percent sign followed by the hexadecimal value of each UTF-8 byte. That is why ü, which takes two bytes, becomes %C3%BC.
| Character | As a value (component) | In a whole address |
|---|---|---|
| space | %20 | %20 |
| & | %26 | & |
| = | %3D | = |
| ? | %3F | ? |
| / | %2F | / |
| # | %23 | # |
| + | %2B | + |
| % | %25 | %25 |
| ü | %C3%BC | %C3%BC |
| ç | %C3%A7 | %C3%A7 |
| € | %E2%82%AC | %E2%82%AC |
| @ | %40 | @ |
Encoding a value, like the text that goes after q= in a search link, must also escape / ? & = and #, otherwise they would be read as parts of the address. That is what encodeURIComponent does in JavaScript. Encoding a whole address should keep those characters, because they give the URL its structure, and only escape the rest. That is encodeURI. The example https://example.com/search?q=über & naïve encodes as a value to %C3%BCber%20%26%20na%C3%AFve.
The conversion runs in your browser. What you type, paste or drop is never uploaded, which matters when the text holds tokens, personal data or internal files.
More utilities that also run without leaving your browser.