Skip to content
MyDailyTool

URL Parser

Decompose any URL into its components — protocol, host, port, path, query parameters, and fragment. Great for debugging redirect chains, API endpoints, and UTM parameters.

Protocol
https:
Hostname
www.example.com
Port
8080
Path
/path/to/page
Origin
https://www.example.com:8080
Hash
#section
Username
user
Password
•••
Query parameters
KeyValue
utm_sourceemail
utm_campaignspring
id42

How to use the url parser

Paste any URL — every component (protocol, host, port, path, query, hash) is decomposed below, with each query parameter as its own row.

Formula & explanation

Uses the WHATWG URL parser via the browser-native URL constructor. This is the same parser browsers use to decide where to navigate.

Examples

https://api.example.com/v1/users?id=42&format=json → host: api.example.com, path: /v1/users, params: id=42, format=json.

Frequently asked questions

Are query values URL-decoded?
Yes — searchParams returns decoded values. The full search string (search field) shows them encoded.

Related developer tools tools