URL 解析器 | URL Parser
Parse any URL into its components: protocol, hostname, port, path, query parameters, and hash fragment. All processing runs in your browser.
URL Components
🔒
Protocol
https
🌐
Hostname
example.com
🔌
Port
8080
📁
Pathname
/path/to/page
🔍
Search
?name=John&age=30&lang=en
#️⃣
Hash
#section-2
🏠
Origin
https://example.com:8080
Visual Breakdown
https://example.com:8080/path/to/page?name=John&age=30&lang=en#section-2
Protocol Hostname Port Path Query Hash
Query Parameters (3)
1
Key
name
Value
John
2
Key
age
Value
30
3
Key
lang
Value
en
Encoding Info
Full URL (encoded)
https://example.com:8080/path/to/page?name=John&age=30&lang=en#section-2
Full URL (decoded)
https://example.com:8080/path/to/page?name=John&age=30&lang=en#section-2