Skip to main content
SiteIndex
DeveloperReady to use

URL Parser

Break down a URL into protocol, host, path, query parameters, hash, and other useful components.

Guide

Interactive workspace

No account required
URL Parser
protocol
https:
host
www.siteindex.app
hostname
www.siteindex.app
port
—
pathname
/tools/json-formatter
search
?ref=docs
hash
#top
origin
https://www.siteindex.app
username
—
password
—
Edit components

Change a component and the full URL above rebuilds live.

Rebuilt query values use form encoding: spaces become + and literal plus signs become %2B.

Query parameters

How to use it

  1. Paste an absolute URL including its scheme.
  2. Read and copy protocol, hostname, path, query, fragment, and credential fields.
  3. Edit, add, or remove query parameters and use the rebuilt URL in the input field.
What is URL Parser?

Break down a URL into protocol, host, path, query parameters, hash, and other useful components.

How it works

SiteIndex splits a URL into its protocol, host, path, and hash, lists every query parameter as an editable row, and rebuilds the URL as values change.

Common uses
  • Inspect or edit every query parameter in a long tracking or API URL.
  • Copy a URL component before using it in code.
  • Rebuild a query string without visiting the destination.
Limitations
  • This uses the browser URL parser, not a reachability or safety check.
  • Credentials in a URL are displayed. Use synthetic URLs rather than passwords or signed private links.
Frequently asked questions
Does this decode encoded characters in query values?
Values are shown as returned by the browser's URL parser, which decodes standard percent-encoding.

Related tools