Dev
Smart URL Parser
Input
Paste a full URL and parse its components.
Example: https://user:pass@example.com:8080/path?query=1#hash
Frequently Asked Questions
What parts of a URL does this tool parse?
Protocol (https:), hostname (example.com), port (:8080), pathname (/path/to/resource), query string (?key=value&key2=value2 parsed into individual parameters), hash/fragment (#section), username/password (if present in the authority). All per RFC 3986.
How are query string parameters decoded?
Each parameter key and value is percent-decoded (URL decoded). %20 becomes a space, %26 becomes &, etc. The tool also handles array parameters (key[]=a&key[]=b or key=a&key=b) and nested parameters common in PHP frameworks.
What is the URL fragment (#) used for?
The fragment (hash) identifier points to a specific location within a page. It is never sent to the server — the browser uses it client-side only. In single-page applications, the fragment is often used for client-side routing. Fragment changes do not trigger HTTP requests.