Parse URLs into their components, inspect query parameters, and understand exactly what each part of a URL contains.
Enter an absolute HTTP or HTTPS URL.
Status
Components
Parameters
Unique
Path
Protocol
| Component | Value | |
|---|---|---|
| Full URL | https://www.example.com:8080/products/search?category=developer%20tools&page=2&sort=popular#results | |
| Protocol | https: | |
| Username | — | |
| Password | — | |
| Host | www.example.com:8080 | |
| Hostname | www.example.com | |
| Port | 8080 | |
| Origin | https://www.example.com:8080 | |
| Pathname | /products/search | |
| Query String | ?category=developer%20tools&page=2&sort=popular | |
| Hash | #results |
| # | Key | Value | Encoded Value | |
|---|---|---|---|---|
| 1 | category | developer tools | developer%20tools | |
| 2 | page | 2 | 2 | |
| 3 | sort | popular | popular |
{
"url": "https://www.example.com:8080/products/search?category=developer%20tools&page=2&sort=popular#results",
"components": {
"href": "https://www.example.com:8080/products/search?category=developer%20tools&page=2&sort=popular#results",
"protocol": "https:",
"username": "",
"password": "",
"host": "www.example.com:8080",
"hostname": "www.example.com",
"port": "8080",
"origin": "https://www.example.com:8080",
"pathname": "/products/search",
"search": "?category=developer%20tools&page=2&sort=popular",
"hash": "#results"
},
"queryParameters": [
{
"key": "category",
"value": "developer tools",
"encodedKey": "category",
"encodedValue": "developer%20tools"
},
{
"key": "page",
"value": "2",
"encodedKey": "page",
"encodedValue": "2"
},
{
"key": "sort",
"value": "popular",
"encodedKey": "sort",
"encodedValue": "popular"
}
],
"stats": {
"parameterCount": 3,
"uniqueParameterCount": 3,
"hasQuery": true,
"hasHash": true,
"hasCredentials": false,
"isHttps": true,
"pathSegmentCount": 2
}
}