URL Encode
This free online URL encoder converts text into the percent-encoded form that URLs require, the moment you type it.
How to use
- Type or paste the text or parameter value you need to encode.
- The percent-encoded result appears instantly; special characters and CJK text become %XX escapes.
- Paste the result into your URL query string; it was encoded on your device and never left your browser.
Frequently asked questions
When do I need to URL-encode a value?
Whenever a value travels inside a URL: query parameters, path fragments built dynamically, UTM tags, redirect targets. Any character that has special meaning in URL syntax — space, &, =, ?, #, %, and all non-ASCII text like Chinese — must be encoded or the URL can break or change meaning.
Why do I get %20 instead of + for spaces?
This tool follows the encodeURIComponent convention, where a space becomes %20. The + for space belongs to the older form-encoding rules used by HTML form submissions; mixing the two is a classic bug. Use %20 in query parameters unless a specific API documents +.
Which characters stay unescaped?
Letters, digits and - _ . ! ~ * ( ) remain as they are — they are unreserved or safe in practice. Everything else, including CJK text, emoji and URL syntax characters, becomes a percent-encoded %XX sequence based on the UTF-8 bytes.
Is my input uploaded to a server?
No. Encoding happens locally in your browser as you type. Your input never leaves your device, is never stored or logged, and disappears when you close the page.
Related tools
About this tool
This free online URL encoder converts text into the percent-encoded form that URLs require, the moment you type it. It matters whenever a value goes inside a URL: a search keyword with spaces in a query string, a Chinese product name in a link, an ampersand or question mark inside a parameter value, a token passed through a redirect. Leave them raw and such characters silently change the meaning of the URL — an unencoded & splits one parameter into two, a raw space breaks the request, a Chinese character may survive in one browser and corrupt in another client. The encoder applies the encodeURIComponent convention used by every serious backend and frontend framework: letters, digits and - _ . ! ~ * ( ) stay readable, everything else becomes a %XX escape, so the output is safe to drop into a query parameter anywhere. It updates live as you type, with no length caps and no signup. Everything runs entirely in your browser: your input is processed locally on your own device and never uploaded, stored or logged. Type or paste below and copy a URL-safe string.