HomeToolsWebURL Parser

URL Parser

Parse and break down URLs into protocol, hostname, path, port, query parameters, and hash components.

Web
Parsed & Rebuilt URL
https://user:pass@example.com:8080/path/to/resource#section-1

URL Components

Protocol
empty
e.g. http: or https:
Hostname
empty
Domain or IP address
Port
(default)
Port number if specified
Pathname
empty
Resource path
Hash / Fragment
empty
Anchor identifier
Username
(none)
Auth username
Password
(none)
Auth password
Origin
empty
Protocol + Domain + Port

Query Parameters (0)

No query parameters found. Click "Add Param" to create one.

What is URL Parsing?

A Uniform Resource Locator (URL) is a specific type of Uniform Resource Identifier (URI) that references a web resource and specifies the mechanism for retrieving it. A URL consists of multiple parts:

  • Protocol: The scheme used to retrieve the resource (e.g., http, https, ftp).
  • Host / Domain: The address of the server (e.g., example.com, sub.domain.org).
  • Port: The technical gate on the host (e.g., 80, 443, 8080).
  • Path: The specific path to the resource on the server (e.g., /path/to/page).
  • Query Parameters: Key-value pairs containing data passed to the server (e.g., ?search=query&sort=desc).
  • Hash / Fragment: An anchor identifier pointing to a specific section of the resource (e.g., #section-1).

How to use the URL Parser

  1. Input URL: Paste your complete URL into the input field.
  2. Review Breakdown: See the visual breakdown of the URL components immediately.
  3. Query Parameters: Review all query parameters in an organized key-value table.
  4. Modify & Generate: Edit existing query parameters or add new ones, and see the updated URL rebuild in real-time.
  5. Copy: Click the copy buttons to grab the entire rebuilt URL or individual components.

Contribute

Find a bug or want to suggest an improvement to this tool?