URL Parser

Inspect the components of an HTTP or HTTPS URL without opening the address or making a network request.

Text is processed locally in your browser and is not uploaded.

Query parameters
3

How to use this tool

  1. Paste an absolute URL beginning with http:// or https://.
  2. Remove embedded username and password credentials if present.
  3. Select Parse URL and inspect the normalized address, path, query entries, and fragment.

Understanding the output

The output uses the browser’s URL parsing rules. Query parameters are listed as an array so repeated names remain visible. Query values are decoded using URLSearchParams, while the path and fragment retain their URL representation. A default port is shown as default after normalization.

A repeated query parameter

https://example.com/?tag=a&tag=b produces two query entries named tag. Converting the query directly into an object could hide one value, so this tool preserves both in order.

Separate the destination from its parameters

The hostname identifies the host portion of the address, while the path and query can select a resource or provide input to an application. A fragment follows the hash sign and is commonly used by the browser for a location within the page. Understanding these boundaries helps diagnose a malformed link without repeatedly opening it.

The normalized URL may differ in appearance from the input. Hostnames can become lowercase, internationalized hostnames can use ASCII encoding, and default ports can disappear. These changes reflect parsing and serialization rules rather than a request to the server.

Parsing is not a trust or availability check

A well-formed URL can still lead to an unavailable or untrustworthy destination. This parser does not resolve DNS, follow redirects, inspect certificates, or assess reputation. It also refuses embedded credentials to avoid treating a sensitive login-bearing address as routine input. Review the hostname carefully before using any URL in a real workflow.

Method and supported input

The URL constructor parses an absolute HTTP or HTTPS address. URLSearchParams supplies decoded name-value pairs while preserving repeated parameter names.

  • The input is an absolute web URL, not a relative path.

Limitations

  • No network verification or redirect expansion is performed.
  • Parser normalization is not a byte-for-byte representation of the original string.

Common questions

Why does a plus sign become a space in a query value?

URLSearchParams follows form-style query decoding, where a plus sign represents a space.

Can I inspect a relative path such as /products?

Not here. Supply an absolute URL including the scheme and hostname so the base is unambiguous.

Sources and further reading