URL Encoder and Decoder
Convert text to percent-encoded form for safe use in a URL, or decode an encoded address back into something readable.
Use component when the text goes inside a query parameter, so that slashes and ampersands are escaped. Use full URL when encoding a whole address, so the structure survives.
Frequently Asked Questions
What is the difference between the two modes?
Component encoding escapes everything that has meaning in a URL, including / ? & = and :, so it suits values going inside a query parameter. Full-URL encoding leaves those characters alone so a complete address stays functional.
Why do spaces become %20 sometimes and + at other times?
Percent encoding uses %20. The plus sign comes from the older form-encoding rules used for application/x-www-form-urlencoded bodies. Both appear in the wild, so check which your server expects.
Why does decoding sometimes fail?
Because a % must be followed by two valid hex digits. A stray percent sign — common in text that was never encoded in the first place — makes the whole string invalid.
Do non-English characters work?
Yes. Characters outside ASCII are first converted to UTF-8 bytes, then each byte becomes a percent escape. Hindi, Tamil and emoji all encode and decode correctly here.