Paste an absolute URL and read the scheme, the host, the path, the query, and the hash.
1
A URL names a resource. The WHATWG URL Standard splits an absolute URL into a scheme, an authority, a path, a query, and a fragment. The query is a list of name and value pairs.
This page uses the URL parser built into the browser. It shows each part and each query parameter. Percent-encoding is decoded in the parameter values, which is what the URL Standard specifies for searchParams.
https://example.com/a?x=1#top
hostname example.com pathname /a search ?x=1 hash #top
https://example.com/?tag=a&tag=b
tag = a tag = b
example.com/path
https://example.com/path
A space in the input is not a valid URL. Encode it as %20 first, or use the URL Encode page.
A URL can carry a username and a password before the host. This page shows them. Do not leave a real password in a link you share.
An Internationalized domain name is shown as Unicode when the browser can display it, and the href keeps the ASCII form. The parser is the platform URL implementation, not a private copy of the standard.
The share link stores the URL text. The parts are computed again. Anyone who has the link can read that URL, including a query that holds a token.
The WHATWG URL Standard is the definition browsers implement. It replaced the older RFC 3986 parsing rules for web APIs. new URL throws a TypeError when the input is not an absolute URL.
example.com is reserved for examples by RFC 2606, published in February 1999. The address is not a host you control.