Parser
URL Parser
Break down URL parts and expand query params for debugging.
href
https://example.com/path?a=1&b=hello#intro
protocol
https:
origin
https://example.com
host
example.com
hostname
example.com
port
(empty)
pathname
/path
search
?a=1&b=hello
hash
#intro
Query parameters
- a = 1
- b = hello