Developer tools
URL parser
Parse protocol, host, path, query, and hash β then tweak query params and rebuild the URL.
href
https://example.com/path?q=2&lang=en#section
protocol
https:
host
example.com
hostname
example.com
port
(default)
pathname
/path
search
?q=2&lang=en
hash
#section
origin
https://example.com
queryJson
{
"q": "1",
"lang": "en"
}Rebuilt URL
https://example.com/path?q=2&lang=en#section
Your data never leaves the browser.
How it works
- Paste a full URL including protocol.
- Inspect parts and optionally set a query param.
- Copy the rebuilt URL.
FAQ
- Relative URLs?
- Use an absolute URL with http(s):// for reliable parsing.
- Uploaded?
- No. Parsing uses the browser URL API only.