URL Encoder / Decoder
Percent-encode text for safe use in URLs, or decode an encoded URL back to readable form.
Component vs full-URL encoding
Use component mode (JavaScript's encodeURIComponent) when inserting a value into a query string — it encodes every reserved character including & and =, which would otherwise break parameter parsing. Use full URL mode (encodeURI) to clean up a complete URL while preserving its structure: slashes, the query ? and fragment # stay intact.
Frequently asked questions
Why do spaces become %20 and not +?
Percent encoding per RFC 3986 uses %20 for spaces. The + convention only applies inside application/x-www-form-urlencoded form data; most modern APIs expect %20.