URL Parser
Break down any URL into its individual components instantly
Input URL
Parsed Components
Paste a URL on the left to see its components
URL Structure
A URL can contain up to 8 components. Here's how they map to the sample URL:
What Is a URL Parser?
A URL parser splits a Uniform Resource Locator into its structural components as defined by RFC 3986. This tool uses the browser's built-in URL API which handles all edge cases: IPv6 addresses, IDN hostnames, relative paths, and percent-encoded characters. Query parameters are decoded automatically using URLSearchParams.
Frequently Asked Questions
Why does it require https:// or http://?
The browser's URL API requires a scheme to determine how to parse the rest. Without https:// or another scheme, the input is treated as a relative URL with no base, which fails. Prepend https:// if you only have a hostname.
Are query parameter values decoded?
Yes. The Query Parameters table shows decoded values. For example, q=hello+world shows hello world. The raw encoded query string is also shown in the Structure section.
Can I build a URL from scratch?
Use the Query String Builder to construct query strings from key-value pairs and get a complete URL.