URL Parser & Analyzer

Paste any URL to instantly break it down into its components. Edit parts individually and rebuild the URL.

 
URL-decode parameter values
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.

scheme://user:pass@hostname:port/path?key=value#fragment
ComponentExampleNotes
SchemehttpsProtocol (http, https, ftp, etc.)
UsernameadminOptional authentication
PasswordsecretOptional, insecure in URLs
Hostnameexample.comDomain or IP address
Port8080Default: 80 (HTTP), 443 (HTTPS)
Path/api/usersResource location on server
Querypage=1&sort=nameKey-value pairs after ?
Fragmentsection-2Client-side anchor after #
Embed this tool on your site
<iframe src="https://devtoolbox.dedyn.io/tools/url-parser" width="100%" height="700" frameborder="0"></iframe>

Frequently Asked Questions

What are the components of a URL?
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.
Keyboard Shortcuts
Ctrl+Enter Parse URL
Ctrl+Shift+C Copy rebuilt URL
Ctrl+L Clear