URL Parser

Deconstruct any URL into its core components. Paste a URL and instantly see the protocol, hostname, port, path, query parameters, and hash - parsed using the browser's native URL API.

FAQ

Protocol (https), hostname, port, pathname, hash fragment, origin, and every query parameter as a key-value table. It uses the browser's built-in URL constructor for standards-compliant parsing.

Percent-encoded characters in the URL are decoded automatically. Query parameter values show their decoded form. The copy button includes the plain text result.

Yes. The browser's URL API supports any protocol, not just HTTP/HTTPS. You can parse ftp://, mailto:, ws://, file://, and custom protocol URLs. The parser will extract all applicable components for any valid URL scheme.

The parser uses the WHATWG URL Standard via the browser's built-in URL constructor. This is the same standard used by all modern browsers, Node.js, and Deno, ensuring consistent, standards-compliant results across platforms.

Hostname is just the domain or IP address (e.g., example.com). Host includes the port if non-default (e.g., example.com:8080). For standard ports (80 for HTTP, 443 for HTTPS), host and hostname are the same. The parser shows both so you can see all details.

The parser requires a valid, fully-formed URL. If the URL is malformed, it shows an error message. Try adding the protocol (https://) if the parser rejects your input.