URL Parser & Analyzer
Break any URL into its components — protocol, host, path, query parameters and fragment. Encode, decode and inspect every part instantly.
🌐 Network & Web Tools
Free
Browser-based
URL Structure
A URL (Uniform Resource Locator) has a well-defined structure: scheme://[user:pass@]host[:port]/path[?query][#fragment]. Understanding each component is essential for web development, API debugging and SEO.
URL Components
| Component | Example | Description |
|---|---|---|
| Protocol | https: | Communication scheme (http, https, ftp…) |
| Username / Password | user:pass@ | HTTP Basic Auth credentials (rare in modern URLs) |
| Hostname | example.com | Domain or IP address of the server |
| Port | :8080 | TCP port — omitted when using default (80/443) |
| Path | /blog/post | Resource location on the server |
| Query string | ?id=1&sort=asc | Key-value pairs sent to the server |
| Fragment | #section | In-page anchor — processed by browser, not server |
URL Encoding
Special characters in URLs must be percent-encoded: spaces become %20, & becomes %26. This tool decodes percent-encoded values in query parameters automatically so you can read them clearly.