About url parser
A URL has several parts. The parser separates them so you can read and edit each one.
The parts
- Protocol (https), host (www.example.com) and optional port.
- Path (/products/shoes) and query string (?color=red&size=9).
- Fragment (#reviews), which stays in the browser and is not sent to the server.
A worked example
The address https://[email protected]:8080/a/b?x=1&y=2#top has protocol https, username user, host example.com, port 8080, path /a/b, query parameters x=1 and y=2, and fragment top. The tool lists each part and decodes percent-encoded values.
Debugging links
- Check for double encoding such as %2520, which means a space was encoded twice.
- Look for missing or repeated query parameters.
- Remember that the fragment never reaches the server.
Query strings
Repeated keys, such as tag=a&tag=b, are valid and mean a list. Keys and values are percent-encoded, so spaces appear as %20 or +.
