URL Parser
Parse a URL online into protocol, host, port, path, query parameters and fragment. Read long tracking links and debug query strings at a glance.
Runs in your browser · Nothing uploadedFree · No sign-up
Something not working, or missing a feature? Send feedback
About the URL Parser
The URL Parser splits a URL into protocol, credentials, host, port, path, query parameters and fragment, and decodes each query value, which makes long tracking or API URLs easy to read.
Everything runs in your browser, so your input is never uploaded to a server.
How to use the URL Parser
- Paste a full URL.
- Read each component and the decoded query parameters.
- Copy any part you need.
Example
Input
https://user:[email protected]:8443/search/results?q=red+shoes&size=42&tag=sale&tag=new#reviews
Result
{
"href": "https://user:••••@shop.example.com:8443/search/results?q=red+shoes&size=42&tag=sale&tag=new#reviews",
"protocol": "https",
"username": "user",
"password": "••••",
"hostname": "shop.example.com",
"port": "8443",
"origin": "https://shop.example.com:8443",
"pathname": "/search/results",
"pathSegments": [
"search",
"results"
],
"query": {
"q": "red shoes",
"size": "42",
"tag": [
"sale",
"new"
]
},
"hash": "reviews"
}The query is decoded (+ becomes a space), the repeated tag key becomes a list and the password is masked.
Common mistakes
- Missing scheme. example.com/path is not a full URL, so it cannot be parsed. Add https:// in front.
- Unencoded # or & in values. A # starts the fragment and & starts a new parameter, so a value containing them is cut short. The sender must percent-encode them as %23 and %26.
- Credentials in URLs. user:password@host sends credentials in clear text and ends up in logs. Prefer an Authorization header.
Works well with the URL Parser
- URL Encode / Decode: encode or decode a single parameter value.
- JSON Viewer: explore the parsed result as a tree.
- JWT Decoder & Verifier: decode a token passed in a query parameter.
Frequently asked questions
Does it follow the URL?
No. The URL is only parsed in your browser; no request is made.
Why are some parameters listed twice?
Query strings can repeat a key (tag=a&tag=b). Each occurrence is shown in order.
Why is the password masked?
So it is not exposed when you share your screen or a screenshot. Nothing is sent anywhere either way.
Which URL rules does it follow?
The WHATWG URL Standard that browsers use, so the host, port and path are read exactly as your browser would read them.
Guides and tutorials
Related tools
Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more online. Rename variables and keys in one paste.
Remove Duplicate Lines
Remove duplicate lines from text online, keeping the first occurrence and the original order. Optionally ignore case, extra spaces and empty lines.
Sort Lines
Sort lines of text online alphabetically, naturally (item 2 before item 10), by number or by length, in ascending or descending order. Runs in your browser.
Remove Line Breaks
Remove line breaks from text online: join broken lines from a PDF or email into one paragraph, or into a comma-separated list. Optionally keep paragraph breaks.
Remove Extra Spaces
Remove extra spaces from text online: collapse repeated spaces and tabs, trim every line and squeeze blank lines. Clean pasted text in one click.
Slug Generator
Turn any title into a clean URL slug online: lowercase, accents removed, symbols dropped, words joined with hyphens or underscores. One slug per line.