Escapes everything, including : / ? & =. Use it for one value going into a parameter.
Related Tools
Escapes everything, including : / ? & =. Use it for one value going into a parameter.
Related Tools
The URL Encoder/Decoder percent-encodes a single value or repairs a whole URL, decodes either one back, and breaks any query string it finds into a readable table of parameters. Made for the moment you're staring at a tracking link or a redirect and need to know what's actually in it.
The guide behind this tool
URL Encoding: encodeURI vs encodeURIComponent, and the Plus Sign
The two JavaScript functions are not interchangeable, and picking the wrong one is the most common URL bug there is. Plus where %2520 comes from.
Choose Encode or Decode.
When encoding, pick "Value" for one parameter or "Whole URL" to keep the link's structure intact.
Paste your URL or text, copy the result, and read the parameter table underneath if there's a query string.
Value mode escapes everything, including : / ? & and =, which is right for one parameter you're inserting into a link. Whole URL mode leaves that punctuation alone and only fixes what isn't legal, such as spaces. Run "https://example.com/search?q=hello world" through value mode and you get an unusable string; whole URL mode gives you back the same link with %20 in the right place.
18+ Free Tools
Explore all categories
From text processing to developer utilities, all free, all instant, no sign-up.