URL encode, decode and read a query string
Percent-encode or decode a string, and split the query of a URL into names and values.
Good to know
- RFC 3986 percent-encoding is % followed by two hex digits.
- In form encoding (application/x-www-form-urlencoded) a space becomes +. In a plain URL, + is just +.
- encodeURI is for whole URLs and keeps ? & = #. Use component encoding for a single value.
Your input is processed in this browser only and never sent to a server. Results follow the standards and library behavior; check them before you put them in production.