What this tool does
URL Parser parses input through new URL, displays Protocol, Username, Password, Hostname, Port, Host, Pathname, Search, Hash, and Origin, and lists the query parameters individually. It does not fetch, open, or verify that the target website exists.
- Supports absolute URLs, as well as Relative URLs plus Base URLs.
- Username and password are presented only as URL text fields, and exposing credentials in the real address should be avoided.
- Invalid URLs will display an explicit error and will not automatically guess and access the network.
How to use it
- Enter the full URL, or fill in the relative URL and base URL.
- Click “Parse URL.”
- Check the component fields and Query Parameters.
- Copy the required parsing results.
Common uses
- Debug ports, paths, queries, and fragments.
- Observe the results of relative paths based on different Base URLs.
- Check for normalization of internationalized domain names or percent-encoded paths.
Privacy and security
The URL is only handed to the browser URL parser as a string, and does not navigate, fetch, or check whether the target website exists.
URL Parser Features
Split full or relative URLs and list query parameters with the native URL API. Useful for everyday development and debugging; results can be reviewed, copied, or downloaded immediately.
FAQ
Will parsing the URL lead to a website?
No. new URL only parses strings and does not generate network requests.
Relative URLs Why do we need a Base URL?
Relative addresses lack protocol and host and must rely on the base address to determine the complete result.
Can the tool determine whether a website exists?
It cannot and does not attempt to detect it; it only describes the syntactic structure of the URL.
Are passwords in URLs secure?
Not safe. Even though this page does not upload content, embedding credentials in the real URL is not recommended.