Live URL Viewer

The output below will display a URL's parsed components from the browser and from jsdom/whatwg-url for the URL 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.

Browser's URL components

href
protocol
username
password
port
hostname
pathname
search
hash
error

jsdom/whatwg-url's URL components

href
protocol
username
password
hostname
port
pathname
search
hash
error