Skip to content
Utilerio

URL Parser

Parse any URL into its components: protocol, host, path, query params and hash.

Was this tool useful?

About this tool

A URL encodes a lot of information in a compact string: the protocol, the host and optional port, the path, query parameters, and an optional fragment. Parsing it out manually is error-prone; this tool does it reliably using the browser's built-in URL API.

Query parameters are decoded from percent-encoding automatically, so %20 becomes a space and %2F becomes a slash in the display.

How to use it

  1. Paste or type any URL into the input.
  2. The breakdown appears instantly below.
  3. Copy individual components with the copy buttons.
  4. Query parameters are listed in a separate table so you can see each key and value clearly.

Examples

E-commerce search URL

https://shop.example.com/search?q=running+shoes&size=42&color=blue&sort=price#results
hostname: shop.example.com · path: /search · 4 query params · fragment: #results

Common problems

The parser adds https:// to my URL.
For convenience the tool adds a default protocol if none is present. The parsed result reflects the full URL including the added protocol.

Frequently asked questions