URL Parser
Parse and analyze URL components
Calculator
Sample URLs
URL Structure
protocol://username:password@hostname:port/pathname?search#hash- Protocol: The scheme (http, https, ftp, etc.)
- Username/Password: Authentication credentials (rarely used)
- Hostname: The domain name or IP address
- Port: The network port (default: 80 for HTTP, 443 for HTTPS)
- Pathname: The path to the resource on the server
- Search: Query string parameters (?key=value)
- Hash: Fragment identifier (#section)
Common URL Encodings
How to Use
Parse, analyze, and edit URL components
Enter your URL
Paste any URL into the input field to parse it automatically
View components
See all URL parts: protocol, host, port, path, query, and hash
Edit components
Enable edit mode to modify individual URL parts and query parameters
Manage query params
Add, edit, or remove query parameters from the table
Rebuild URL
Click Rebuild URL to construct a new URL from your changes
URL Structure
protocol://[username:password@]hostname[:port]/pathname[?query][#hash]
A complete URL contains the protocol, optional credentials, hostname, optional port, pathname, optional query string, and optional hash fragment. Brackets indicate optional parts.
Frequently Asked Questions
A URL (Uniform Resource Locator) is a web address that identifies a resource on the internet. It consists of: protocol (http/https), hostname (domain), port (optional), pathname (file path), query string (parameters after ?), and hash/fragment (section after #). For example: https://example.com:8080/path?key=value#section
A URI (Uniform Resource Identifier) is a broader term that identifies a resource. A URL is a type of URI that also provides the location (how to access it). URN (Uniform Resource Name) is another type that names a resource without location. In practice, URL and URI are often used interchangeably for web addresses.
Query parameters are key-value pairs added to a URL after the ? symbol. Multiple parameters are separated by &. They pass data to the server, like search terms or filters. Example: ?search=hello&page=2. Values should be URL-encoded to handle special characters safely.
URL encoding (percent-encoding) converts special characters to %XX format for safe use in URLs. Characters like spaces, &, ?, # have special meaning in URLs, so they must be encoded when used as data. Space becomes %20, & becomes %26. This prevents parsing errors and security issues.
The hash (fragment identifier) is the part after # in a URL. It identifies a specific section within a page and is handled by the browser, not sent to the server. Used for: anchor links (#section), single-page app routing, and tracking (some analytics use fragments).
Yes, URLs can include credentials in the format: protocol://username:password@hostname. However, this is rarely used for security reasons as credentials are visible in browser history, logs, and can be intercepted. Modern authentication uses headers or tokens instead.
Network & Security
IP lookup, DNS tools, SSL checker and security utilities