URL Parser

Inspect the scheme, host, path, fragment and repeated query parameters of a URL.

Input

Processed on your device

How to use URL Parser

Break an absolute URL into its components so you can see the origin, path, query pairs and fragment. Useful when checking a generated link or redirect destination.

  1. Paste the complete address including the scheme and parse it.
  2. Review the returned JSON and pay attention to repeated query keys and fragments.
Example input
https://example.com/products?item=notebook&color=blue&color=red#details

Example use

Audit a local example link to see whether a duplicated query parameter or trailing fragment explains a difference between two addresses.

Output and compatibility

The browser parses and normalizes URL syntax. The parser does not contact the host, check status, detect malicious sites or test redirects.

Troubleshooting

If the input fails, add the actual scheme to create an absolute URL or correct invalid hostname syntax. Never infer safety from parsing successfully.

Use URL Query Builder when assembling a URL with new parameters.

Frequently asked questions

Will it open the URL?

The parser works with the string locally.

Does it retain repeated query parameters?

The query array includes pairs in their parsed order.

Find a tool