Skip to main content

URI Parser

v1.0.0

Decompose any URI into protocol, host, port, path, query parameters, and fragment.

Parsed components
protocolhttps:
usernameuser
passwordpass
hostnameexample.com
port8080
pathname/path/to/page
search?key=value&foo=bar
hash#section

Query parameters

key=value
foo=bar