URL Parser
Break a URL into its parts
Developer · Text & Unicode
URL parts
How to use
Enter a URL
Enter an absolute URL with a scheme and hostname, such as https://user:password@example.com:8080/path?a=1#section.
Parse it
Press Parse to split the input into its URL API properties.
Review the parts
Review the protocol, credentials, host, origin, port, path, params, and fragment values.
Frequently asked questions
- Can it parse a relative URL?
- No. The input must be an absolute URL with a scheme and hostname.
- Does it visit the URL I enter?
- No. It only parses the string with the browser's URL API.
- Why does the display differ slightly from my input?
- The URL API normalizes details such as hostname casing and default ports. Params include `?`, and Fragment includes `#`.