Decompose a URL into protocol, host, path, query, and hash components
URL
Paste any URL — parsed using the native URL API.
Components
Origin
https://example.com:8080Protocol
https:Username
userPassword
passHost
example.com:8080Hostname
example.comPort
8080Pathname
/path/to/resourceSearch
?foo=bar&baz=quxHash
#sectionQuery Parameters
Edit, add, or remove rows — the rebuilt URL updates below.
No query parameters. Click Add row to add one.
Rebuilt URL
Rebuilt from edits via URLSearchParams.toString().
https://user:pass@example.com:8080/path/to/resource#section