URL & HTTP Tools

URL Parser

Parses the individual components of a URL; relative addresses can be parsed in conjunction with the Base URL.

URL Components
Query Parameters

This tool only parses URL strings and does not access addresses, inspect websites, or initiate network requests.

Split full or relative URLs and list query parameters with the native URL API.

Inputs are only processed in your browser and are not uploaded to the server.

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

  1. Enter the full URL, or fill in the relative URL and base URL.
  2. Click “Parse URL.”
  3. Check the component fields and Query Parameters.
  4. 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.

Back to Developer Tools