String URL encoder
Load your string and it will automatically get URL-escaped.
Input String(URL-escaped)
Output string
Tool options
Encoding Options
If selected, then all characters in the input string will be converted to URL-encoding (not just special).
String URL encoder
URLs can legally contain only a small set of characters. Spaces, ampersands, question marks, non-Latin letters and a hundred other characters must be percent-encoded — a space becomes %20, an ampersand %26 — before they can travel safely in a link, a query parameter or a form submission. This tool applies that encoding to any string you paste.
The distinction that matters: encoding only special characters versus encoding everything. Special-character mode is what you want almost always — it leaves letters, digits and safe characters alone, which is how a URL stays recognizable. The encode-all option converts every single character, useful when a value is being embedded in something stricter than a URL: a template that gets substituted later, a legacy system with a narrow parser, or debugging an encoding mismatch where you need to see exactly what is being sent.
A concrete case: a search query like cats & dogs must be encoded before it lands in a query string, or the ampersand splits the parameter in two. Paste the value, copy the encoded result, and the link works.
Encoding happens locally in your browser and the string never leaves your machine. No length limit beyond browser memory, and the output updates as you type.
String URL encoder Examples
Click to try!
This example URL-encodes a string that also happens to be a valid web link. Special characters in this example are a colon, slash, question mark and equals sign.
Encoding Options
If selected, then all characters in the input string will be converted to URL-encoding (not just special).
In this example, we've enabled the option that encodes absolutely all characters in a string to URL-encoding. This option makes non-special characters, such as letters get encoded to their hex codes prefixed by a percent sign.
Encoding Options
If selected, then all characters in the input string will be converted to URL-encoding (not just special).
All Text Tools
You May Also Like
We use cookies for analytics and advertising. You choose what's enabled. Essential cookies are always on. Privacy Policy