UTILS.
Private by default
⌖

URL Parser

Break a URL into its protocol, host, port, path, query and hash parts.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Split any URL into its individual components and list each query parameter, all in your browser using the native URL API.

Paste a full URL and the browser's own URL parser splits it into protocol, hostname, port, pathname, search and hash. A part the URL does not have shows a dash. Every query parameter is listed as its own row with its decoded value, and a repeated key appears once per occurrence, in order.

Surrounding spaces are removed first. The parser needs a complete address, so a relative path or a host without a scheme, such as example.com/page, is reported as invalid. The sample URL contains a username and password, but the tool shows no separate rows for them.

Frequently asked questions

What does it show?
The protocol, hostname, port, pathname, search and hash, plus every query parameter as a separate row.
What if the URL is invalid?
An error message appears until the text is a URL the browser can parse.
Why is my URL reported as invalid?
It most likely has no scheme. Add https:// or another scheme in front of the address, since a bare host or path cannot be parsed on its own.
Are query values shown decoded?
Yes. The parameter rows show decoded values, while the search row keeps the query string as written in the URL.

More tools