Enter a URL to parse:

The output below will display a URL's parsed components from both the browser's DOM, and from the reference implementation for the WHATWG Living Standard. The output will be colored dark green unless a difference occurs between the two parsers in which case the affected URL component will be colored red.

Specify a base URL

Set =

URL components from DOM properties:

href
protocol
username
password
port
hostname
pathname
search
hash
error

URL components from the URL Reference Implementation:

href
protocol
username
password
hostname
port
pathname
search
hash
error