🔗 URL Parser
Parse URLs into components: protocol, host, port, path, query parameters, and hash — all in your browser, no upload, instant results.
About the URL Parser
This URL parser runs entirely in your browser. Paste any URL into the input above and click Parse to break it down into its components using the native URL JavaScript API. Nothing is uploaded to a server — parsing happens instantly with JavaScript on your device.
URL components explained
- Protocol — The scheme used to access the resource, such as
https:,http:,ftp:, ormailto:. - Hostname — The domain name or IP address of the server, for example
example.comor192.168.1.1. - Port — The network port. If omitted, the browser uses the default for the protocol (80 for HTTP, 443 for HTTPS).
- Pathname — The resource path on the server, like
/path/to/page. The path always begins with a slash. - Hash — The fragment identifier following the
#symbol, often used to navigate to an anchor within a page. - Query Parameters — Key-value pairs after the
?symbol, separated by&. The parser lists each one on its own row.
How to use the parser
- Paste or type a full URL into the input box.
- Click Parse — the result table appears below.
- Inspect each component, including every query parameter as a key-value row.
- Click Copy summary to copy a text version, or Clear to start over.
Frequently asked questions
Does this tool upload my URL? No. All parsing happens locally in your browser. Your URL never leaves your device.
What happens with invalid URLs? The parser uses the standard URL constructor, which throws on invalid input. You will see an error message and can correct the URL.
Are encoded query parameters decoded? Yes. The URLSearchParams API automatically decodes percent-encoded values, so %20 becomes a space and %3F becomes a question mark.
Are relative URLs supported? The parser requires an absolute URL (with protocol). If you need to resolve a relative URL, prepend a base such as https://example.com/.