Free Tool

URL Parser

Break any URL into its components — protocol, hostname, port, path, query parameters, and hash. Displays each query parameter as a key-value pair.

URL Parser

URL components explained

A URL has up to seven components: protocol (https:), hostname (example.com), port (:8080), path (/a/b), query (?key=val), hash (#section), and origin (protocol + hostname + port).

How to use

  1. Paste any URL and click Parse.
  2. Each component is shown in its own labelled row.
  3. Query parameters are listed as individual key-value pairs.

All parsing runs in your browser using the URL API — nothing is sent to any server.

Frequently Asked Questions

Does it handle relative URLs?
No. The parser requires a fully-qualified URL with a protocol (https:// or http://).