Skip to main content

URL Parser

Break any URL into its components — protocol, host, path, query params, and fragment.

Protocolhttps
Hostexample.com:8080
Hostnameexample.com
Port8080
Pathname/path/to/page
Search?utm_source=google&q=hello+world
Hash#section
Originhttps://example.com:8080
KeyValue
utm_sourcegoogle
qhello world