URL Parser | Split URL Parts and Query Parameters

Parse a URL into protocol, host, port, path, fragment, and query parameters for debugging links, redirects, tracking, and forms.

Basic Components
Query Parameters
KeyValue

What the URL Parser Breaks Down

The URL parser separates protocol, host, port, path, fragment, and query parameters so you can inspect how a link is structured.

Useful URL Checks

Use it to inspect UTM parameters, redirect targets, encoded spaces, fragments, tracking IDs, malformed links, and query values copied from ads or analytics tools.

Watch for Sensitive Parameters

Some URLs contain tokens, email addresses, session IDs, or private tracking data. Remove sensitive parameters before sharing parsed links publicly.

About This Tool

URL Parser breaks a URL into its component parts: protocol, hostname, port, pathname, query parameters, and fragment. It decodes percent-encoded values and presents each component in a readable table for debugging and analysis.

When to Use It

Use this when debugging a malformed URL, when extracting specific query parameters from a URL in a browser log, or when building or verifying URL structure in an API integration.

How to Use

  1. Paste the full URL into the input field.
  2. Click Parse to break it into components.
  3. Review each part: protocol, host, path, query, and fragment.
  4. Copy individual components as needed.

Frequently Asked Questions

What are query parameters?

Query parameters are key-value pairs in the URL after the question mark, for example ?id=123&colour=blue. They pass data to the server or control page behaviour.

What is a URL fragment?

The fragment is the part after the hash symbol (#) in a URL, for example #section-2. It tells the browser to scroll to a specific element on the page and is not sent to the server.

What does percent encoding in a URL mean?

Percent encoding replaces characters that are not safe in URLs with a % followed by the hexadecimal code. For example a space becomes %20.