URL Parser

ComponentValue
protocolhttps:
originhttps://example.com:8443
usernameuser
passwordpass
hostnameexample.com
port8443
pathname/path/to/page
search?utm_source=newsletter&tag=api&tag=analytics
hash#section
Query keyValue
utm_sourcenewsletter
tagapi
taganalytics
Parsed locally in your browser with URL and URLSearchParams. Your input stays only on this page.

Break a URL into its components

Paste an absolute URL to see its protocol, origin, hostname, port, path, query, fragment, and any embedded credentials. Repeated query keys stay visible as repeated rows. Empty components show a dash.