Category: Developer tools

URL Parser

Break a URL into its protocol, host, path and query parts

Paste a URL to see its protocol, host, hostname, port, path, search string, hash and every query parameter as a table. Runs entirely in your browser.

Protocolhttps:Hostuselocaltools.comHostnameuselocaltools.comPort-Pathname/searchSearch?q=privacy+tools&sort=ascHash#resultsOriginhttps://uselocaltools.com
Query parameters
qprivacy toolssortasc

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

A URL parser splits a link into the pieces browsers and servers use to route it: the protocol, the host and port, the path, and the query string. This tool also lists every query parameter as a key-value pair, which is useful for checking tracking links, debugging redirects, or reading an API endpoint at a glance.

How to use it

  1. Paste a full URL, including its scheme, into the input box.
  2. Review the parsed protocol, host, path and hash.
  3. Check the query parameters table for every key and value.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Is my URL sent anywhere?
No. Parsing uses your browser's built-in URL parser, so the address never leaves your device.
Why does it reject a URL like /search?q=test?
The parser needs an absolute URL with a scheme, such as https://example.com/search?q=test, because a path alone has no host to parse.
What is the difference between host and hostname?
Hostname is just the domain, such as example.com. Host includes the port when one is set, such as example.com:8080.