URL Encoder & Parameter Inspector
Convert reserved characters into percent-encoded hex codes. Inspect query parameter keys and values in an interactive breakdown table with zero server transmission.
Frequently Asked Questions
What is percent-encoding in URLs?
Percent-encoding (also known as URL encoding) replaces non-ASCII characters and reserved URL syntax with a percent sign `%` followed by a two-digit hexadecimal representation (e.g. space becomes `%20` or `+`, and slash becomes `%2F`).
What is the difference between encodeURI and encodeURIComponent?
`encodeURI` is intended for complete URLs and preserves reserved protocol/path delimiters like `:`, `/`, `?`, and `&`. In contrast, `encodeURIComponent` strictly encodes all characters, making it mandatory for individual query parameter values.
Why do query strings fail without encoding?
If a search query parameter contains characters like `&` or `=`, web servers mistakenly treat them as the start of a new parameter rather than part of the value.