Skip to content
Private: files never leave your device

URL Parser

Break a web address into its parts: protocol, host name, port, path, query parameters and fragment. Every value is decoded so it is easy to read, and the whole breakdown can be copied as JSON.

URL Parser tool

Protocol, host, port, path, query parameters and fragment, decoded.

Handled on your device, so your files stay private.

URL Parser at a glance

Paste any URL to see its protocol, host, port, path, query parameters and fragment in a clear table, with values decoded. Copy it as JSON. Free and private.

Cost
Free to use, with no account, watermark or usage cap.
Privacy
Processing happens on your device; nothing is sent to our servers.
Devices
Up-to-date Chrome, Edge, Firefox or Safari on computers, Android phones and iPhones.
Last updated

Parsing a URL, step by step

  1. Paste a full web address. If you leave out https://, it is added for you.
  2. Read each part in the table as you type.
  3. Look at the query parameters table for the name and decoded value of every parameter.
  4. Copy or download the breakdown as JSON.

The parts of a URL

Take https://shop.example.com:8080/blog/post?id=42#reviews. The protocol is https, the host is shop.example.com, the port is 8080 (when it is missing, 443 is used for https and 80 for http), the path is /blog/post, the query is id=42 and the fragment is reviews. The fragment never reaches the server: the browser uses it to jump to a spot on the page.

Handy for debugging

Long tracking links and API calls are hard to read in one line. Parsing them shows each parameter on its own row, decodes %20 and other escapes, and makes repeated parameters obvious. Parsing uses the same URL rules as your browser, so the result matches what a browser would request.

Private by design

This tool runs entirely in your browser. The addresses and text you paste are processed on your own device and are never uploaded or saved.

Frequently asked questions

Why is the fragment not sent to the server?

Browsers keep everything after # to themselves. It is used for jumping within a page or by JavaScript apps.

What happens to repeated parameters?

Each one is listed in the table. In the JSON output, repeated names become a list of values.

Is the top-level domain always correct?

It shows the last part of the host, such as .com or .uk. For addresses like example.co.uk, the registrable domain includes two parts.

Is anything uploaded?

No. Everything happens in your browser on your own device. Nothing you paste is sent or saved.