Encode text for safe use in URLs and decode percent-encoded strings back to readable form, with separate handling for full URLs and individual query parameter values.
Getting started
Paste the text or URL you want to encode or decode.
Choose component encoding for a single parameter value, or full-URI encoding for a complete address.
Switch between encode and decode as needed.
Copy the result directly into your code, request or browser.
Why it helps
Distinguishes component from full-URI encoding, which is the distinction most people get wrong.
Correctly encodes spaces, ampersands and question marks that would otherwise break a query string.
Handles Unicode via UTF-8 percent-encoding exactly as the specification requires.
Decoding malformed input reports the problem instead of failing silently.
In practice
Building a query string containing a search term with spaces or symbols.
Reading a long redirect URL that has been encoded inside another URL.
Debugging a request where a parameter arrives truncated at an ampersand.
Constructing an OAuth redirect URI that must be encoded exactly.
Everything people ask most about the url encoder & decoder, answered plainly.
Keep exploring
More from Developer Tools and beyond — most people who use this one reach for these next.