Back to Developer Tools

RFC 3986 & WHATWG URL Decomposition

URL Parser

Parse a URL locally into protocol, hostname, port, pathname, query parameters and fragment.

  • Processed locally
  • No upload required
  • No account required

Planning inputs

Suggested next steps

Continue this workflow

Move to a practical next or previous step without transferring your entered values.

About URL Parser – Break Down URLs, Query Parameters & Components

Deconstruct web URLs into standardized RFC 3986 and WHATWG components locally in your browser.

Examine scheme, hostname, explicit or default port, path segments, fragment identifiers, and itemized query parameters with duplicate key preservation.

Input is processed locally in your browser and is not sent to Navorika.

How the calculation works

WHATWG URL compliance

Parsed using standard browser URL and URLSearchParams specifications without external regex pitfalls.

Duplicate key preservation

Iterates multi-value parameters (such as ?tag=js&tag=react) without overwriting repeated keys.

Credential protection

Reports username and detects password presence without displaying plaintext secret strings in output summaries.

How to use this tool

  1. 1Enter or paste a fully qualified absolute URL into the input field.
  2. 2Review the decomposed protocol, hostname, port, and pathname components.
  3. 3Inspect the query string and individual key-value query parameters.
  4. 4Check hash fragment anchors and authentication presence.
  5. 5Copy the parsed component breakdown or export to CSV.

Understanding the result

The protocol defines the application transport (e.g. https:, http:, ftp:).

Default ports (such as 443 for HTTPS and 80 for HTTP) are identified even when omitted from the URL string.

Query parameters are separated from path and fragment components, making it simple to inspect analytics and API parameters.

Important limitations

  • Parsing a URL tests syntactic validity; it does not verify that the target domain exists or the endpoint returns 200 OK.
  • Relative URLs require an explicit base URL and cannot be parsed without one.
  • This tool does not execute HTTP requests or interact with destination web servers.

Explore this topic

Frequently asked questions

How does the parser handle repeated query keys?

Standard URLSearchParams handles multiple values for the same key. The parser iterates all entries to ensure parameters like ?filter=a&filter=b are fully preserved.

Why does the tool reject relative paths?

According to RFC 3986, relative paths (e.g. /products/item) lack protocol and authority context and cannot be resolved into absolute endpoints without a known base URL.

Is my URL sent to an external server?

No. All parsing runs client-side in your browser using the native Web API URL object. No URL data is transmitted over the network.

Related tools

Selected from curated relationships first, then the same subtopic and category.

Learn more

Related guides

View all guides