URL Parser

Parse and analyze URL components instantly.

Protocol
https:
Hostname
example.com
Port
8080
Pathname
/path/to/page
Search
?name=John&age=25&city=New+York
Hash
#section1
Origin
https://example.com:8080
Full URL
https://example.com:8080/path/to/page?name=John&age=25&city=New+York#section1

Query Parameters

name=John
age=25
city=New York

URL Structure

A URL (Uniform Resource Locator) is composed of several parts: the protocol (http/https), hostname, port, pathname, query string, and fragment. Understanding URL components is essential for web development, API design, and debugging. The query string contains key-value pairs separated by &, while the fragment (#) points to a specific section of the page and is not sent to the server.