Web & Systems

URL Parser

Break a URL into protocol, host, port, path, query, and fragment.

Read the guide

Run the tool

The calculation runs in your browser. This tool does not send your input to JVR Software.

More information

Back to the tool

What it is and when to use it

A URL identifies a resource and describes how a client can address it. URL Parser breaks one absolute URL into understandable fields. Use it to inspect a documentation link, confirm an integration destination, or see which parts of an address carry navigation and filtering.

How it works

The browser’s built-in URL parser recognises the scheme, host, optional port, path, query and fragment. It can normalise parts of the address, for example by suppressing an explicit default port. The origin combines scheme, host and effective port for ordinary web URLs.

How to use it

  1. Paste the complete URL, including its scheme.
  2. Inspect the hostname and scheme before relying on the address as a destination.
  3. Check the path, query and fragment individually, using Query Parser when you need the decoded keys and values.

Worked example

https://example.com:8443/catalog?colour=blue#sizes uses HTTPS with explicit port 8443, path /catalog, query colour=blue and fragment sizes. The browser can use the fragment to jump to a section. It sends the path and query in the HTTP request without sending the fragment.

Reading the result

The hostname identifies where the browser intends to connect. The first path segment can look like a hostname while still being part of a path. Internationalized names may appear in an ASCII wire representation. An empty port field can mean the scheme’s default port.

Common mistakes and limits

Parsing describes the address and does not contact it. Use URL Status to check an authorized public endpoint. Avoid pasting addresses that contain private credentials or login tokens, and handle generated links through URL utilities that preserve component boundaries.