URL Encoder
URL Encoder - a browser-based internet & network utility.
Browser tool
About URL Encoder
Percent-encoding a URL or a value going into one, with the mode made explicit — because encoding a whole URL, a single query parameter and a form field each escape a different set of characters, and using the wrong one produces a link that looks right and breaks. Free online, nothing to join. Encoding is done by the browser, and whatever you paste is never transmitted.
How to use it
- Paste what needs encodingA full URL, or the single value that is going into one.
- Choose the mode deliberatelyWhole-URL preserves the structural characters; component escapes them; form mode encodes spaces as plus signs.
- Copy the resultAnd check that the structural characters you wanted preserved still are.
Why there are three modes and not one
Encoding a whole URL must leave the colons and slashes alone or it stops being a URL. Encoding a parameter value must escape them, because an ampersand or an equals sign inside a value would otherwise be read as structure. Form submission adds a third convention where a space becomes a plus rather than %20. One tool with one behaviour cannot serve all three, which is why so many links break.
What it does not do
- Encoding an already-encoded string double-encodes it: %20 becomes %2520. Decode first if you are unsure of provenance.
- This handles the encoding, not the validity. A well-encoded URL can still point nowhere.
Questions people ask
- Which mode should I use?
- Component mode for a value going into a query string, which is the common case. Whole-URL mode when you have a complete URL containing spaces or accented characters. Form mode only when building an application/x-www-form-urlencoded body.
- Why has my URL become full of %25?
- It was encoded twice. %25 is the encoding of the percent sign itself, so an already-encoded string has had its escapes escaped. Decode once and re-encode with the right mode.
Questions about ToolsVerse itself — privacy, cost, what happens to your files — are answered in the frequently asked questions.
Related tools
The tools people most often need alongside URL Encoder.
Can’t find the tool you need?
Tell us what you’re looking for and we’ll consider adding it.