Paste any URL to instantly break it down into its components. Edit parts individually and rebuild the URL.
Enter URL
URL-decode parameter values
Scheme Auth Host Port Path Query Fragment
Parsed Components
Query Parameters
0 params
No query parameters. Parse a URL or add one below.
Rebuilt URL
Parse a URL above to see the rebuilt result here.
URL Structure Reference
A URL (Uniform Resource Locator) follows a standard structure defined by RFC 3986. Understanding each component helps with debugging, API development, and web scraping.
A URL (Uniform Resource Locator) consists of several components: the scheme/protocol (e.g., https), optional username and password for authentication, the hostname (domain name or IP address), an optional port number, the path to the resource, an optional query string containing key-value parameters separated by &, and an optional fragment/hash identifier that refers to a section within the page.
How does URL query string parsing work?▼
URL query string parsing splits the portion of the URL after the ? character into individual key-value pairs. Each pair is separated by an & character, and the key is separated from the value by an = character. Values are typically URL-encoded (percent-encoded), so special characters like spaces are represented as %20 or +. Parsing involves splitting these pairs and decoding the keys and values.
What is the difference between URL encoding and URL parsing?▼
URL encoding (percent-encoding) converts special characters into a safe format using % followed by hex values, ensuring the URL is valid for transmission. URL parsing is the reverse analytical process — it takes a complete URL string and breaks it down into its structural components (scheme, host, path, query, fragment) so each part can be inspected or modified individually.