URL Parser

Inspect URL structure and query parameters

Enter a URL to see its components and query parameters here

What is URL Parser?

URL Parser breaks a URL into its parts, such as the protocol, hostname, path, and query string. Query parameters are split into key-value pairs, and the tool also shows the URL length, query count, and any duplicate query keys. The origin combines the protocol, hostname, and port.

For example, entering https://example.com/search?q=url#results shows the hostname example.com, the path /search, the query string ?q=url, and the fragment #results.

How to Use

  1. Enter the URL you want to inspect. Include the scheme, such as https://.
  2. The URL parts, query parameters, URL length, and duplicate status appear automatically.
  3. Copy the value you need.

Use Cases

  • Checking which part of a long URL is the hostname, path, or query
  • Reviewing query parameters in an API request URL
  • Checking for duplicate query keys or a long URL
  • Checking a shared URL for credentials or unexpected parameters

Things to Keep in Mind

  • Review URLs that contain a username or password before sharing them.
  • Query parameters appear as decoded values.
  • Internationalized domain names use punycode (the xn-- form).
  • Default ports, such as 443 for https, are omitted.