Web Tools
URL Parser & Inspector
Inspect URL components and query parameters.
URL components
https://example.com:8443/docs/getting-started?q=hello%20world&tag=url&tag=web#exampleshttps://example.com:8443https:example.com8443/docs/getting-started?q=hello%20world&tag=url&tag=web#examplesQuery parameters (3)
qhello worldtagurltagwebAbout This Tool
URLs often carry several pieces of information in one string: the scheme used to access a resource, the host, an optional port, a path, query parameters, and a fragment. This inspector separates those parts so you can debug links, APIs, redirects, tracking parameters, and web application routes without manually splitting punctuation or accidentally losing repeated parameters.
How To Use It
- Paste an absolute HTTP or HTTPS URL, including the scheme such as https://.
- Review the normalized URL and each structural component.
- Inspect query parameters individually; repeated parameter names remain separate and in their original order.
- Copy any component you need for debugging or documentation.
Examples
Inspect an API URL
For https://api.example.com:8443/v1/items?page=2#results, the hostname is api.example.com, port is 8443, path is /v1/items, query is ?page=2, and fragment is #results.
Repeated query parameters
A URL ending in ?tag=web&tag=tools contains two tag entries. The inspector preserves both instead of converting them into an object that would lose one value.
Percent-encoded values
In ?q=hello%20world, the raw query remains visible while the parameter value is shown as hello world using the browser's standard URLSearchParams decoding behavior.
Useful Notes
Anatomy of an HTTP URL
A typical URL combines a scheme such as https:, a hostname, an optional non-default port, a pathname, an optional query beginning with ?, and an optional fragment beginning with #. The origin is the scheme, hostname, and effective non-default port together.
Browser-standard parsing
This tool uses the browser's built-in URL and URLSearchParams implementations rather than a custom parser. Browsers may normalize valid input—for example, removing a default HTTPS port, resolving dot segments in paths, or serializing percent encoding consistently. The normalized URL therefore may not be character-for-character identical to the pasted text.
Query strings and duplicate keys
Query parameter names are not required to be unique. Some APIs intentionally use forms such as tag=a&tag=b. The inspector displays entries as an ordered list so duplicate keys and empty values are not silently overwritten.
Privacy and scope
Parsing happens locally and this tool does not request the URL or test whether its host exists. It supports HTTP and HTTPS URLs only. URLs with embedded usernames or passwords are rejected so credentials are not echoed into the results interface.
FAQ
Does this tool visit the URL I paste?
No. It parses the text locally with browser URL APIs; it does not fetch the page, perform DNS lookup, or verify that the destination exists.
Why did :443 disappear from my HTTPS URL?
443 is the default port for HTTPS. Browser URL normalization can omit an explicitly written default port because it does not change the effective destination.
What is the difference between a query and a fragment?
The query begins with ? and commonly supplies parameters to the server or application. The fragment begins with # and identifies a location or client-side state; browsers normally do not send the fragment in an HTTP request.
Is URL parsing the same as URL encoding?
No. Parsing separates a complete URL into components. Encoding converts characters into a form suitable for URL components. Use Hanakash's URL Encode & Decode tool when you need percent encoding or decoding.
Related Tools
URL Encode / Decode
Convert URL text to and from percent encoding.
HTML Entity Encoder / Decoder
Convert text to and from HTML entities directly in your browser.
Base64 Encode / Decode
PopularConvert plain text and Base64 in either direction.
JSON Formatter & Validator
PopularValidate JSON, pretty-print it, minify it, and inspect JSON paths.