URL Encode
Percent-encode text for a URL: one value or a whole address, spaces as %20 or +.
The result appears here as you type.
How to use this tool
- Type or paste the textIt is encoded as you type, accented and non-Latin letters included.
- Choose what it isOne value escapes everything reserved; Whole address keeps : / ? # & = so the link still works.
- Copy it into your URLCopy the result, or swap it back to check it decodes to what you typed.
What problem does this solve?
A space, an ampersand or an accented letter in a query value breaks a link or changes what it means. This encoder escapes text the way browsers do, either strictly for a single value or gently for a whole address, so the result is safe to paste into a URL.
Who needs this?
- Developers building links and API requests by hand
- Anyone putting a search term, email or name into a URL
- People preparing form-encoded data with spaces as +
You might also need
FAQ
What is the difference between One value and Whole address?
One value escapes every reserved character, including / ? & =, which is right for a single query value (it is encodeURIComponent). Whole address keeps those characters so the address still works (it is encodeURI).
Should spaces be %20 or +?
%20 works everywhere in a URL. + means a space only in form-encoded query strings, which is what HTML forms send. Turn on Spaces as + if that is what the receiving side expects.
Is my text sent anywhere?
No. Encoding runs in your browser. Nothing you type is uploaded, logged or put in the page address.