Web & Developer Utilities100% Client-Side

URL Parser and Query Parameter Inspector

A URL can carry routing details and data in the same line. Paste an address to see its scheme, hostname, port, path, query string, and fragment as separate fields in a JSON report. The parser keeps the serialized query in one field and lists decoded values in another. That makes it easier to spot a repeated filter or tell which characters belong to an encoded value.

Input
85 chars•1 lines
Output

How to Use the URL Parser Online

  1. 1Paste a full address or enter a hostname followed by the path and query you want to inspect. The parser assumes HTTPS when the scheme is omitted.
  2. 2Compare host and hostname if the address includes a port. Check origin when you need the scheme and authority together for a configuration value.
  3. 3Read search for the serialized query and searchParams for the individual decoded values. Repeated keys are grouped into an array in the order they appear.
  4. 4Copy the JSON report if you need to attach the breakdown to a bug report or use it as a test fixture.

Input & Output Examples

Both tag values appear under one key. The fragment remains separate from the search parameters.

Input Sample
https://example.com/search?tag=api&tag=web&sort=recent#results
Expected Output
{
  "href": "https://example.com/search?tag=api&tag=web&sort=recent#results",
  "origin": "https://example.com",
  "protocol": "https",
  "host": "example.com",
  "hostname": "example.com",
  "port": "443",
  "pathname": "/search",
  "search": "?tag=api&tag=web&sort=recent",
  "searchParams": {
    "tag": [
      "api",
      "web"
    ],
    "sort": "recent"
  },
  "hash": "#results"
}

The report adds the HTTPS scheme and keeps the explicit port. The query field preserves the plus sign and the decoded value shows a space.

Input Sample
docs.example.com:8443/guides?q=hello+world
Expected Output
{
  "href": "https://docs.example.com:8443/guides?q=hello+world",
  "origin": "https://docs.example.com:8443",
  "protocol": "https",
  "host": "docs.example.com:8443",
  "hostname": "docs.example.com",
  "port": "8443",
  "pathname": "/guides",
  "search": "?q=hello+world",
  "searchParams": {
    "q": "hello world"
  }
}

Practical Developer Workflows

  • Check whether a search request sends multiple values for the same filter and record the order in which they were supplied.
  • Compare a staging URL with a production URL by looking at the hostname and port separately from the route.
  • Inspect a callback URL to distinguish its outer query parameters from an encoded address embedded in one value.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Hostname is the domain name or IP address. Host includes the port when it appears in the normalized authority. The separate port field also reports 443 for HTTPS and 80 for HTTP when the parser uses the default.

Explore Other Tools

12 suggested tools

View all tools