URL解析器
在浏览器中处理或呈现URL解析。
使用步骤
如何使用
- Paste an absolute URL, including its protocol when possible.
- Choose Parse URL to inspect each component and query parameter.
- Copy the normalized URL or an individual component when you need it elsewhere.
A local URL inspection tool
Parsing happens entirely in your browser with the built-in URL and URLSearchParams APIs. The pasted address is never opened, fetched, resolved, or sent to a server.
What gets displayed
Review the normalized URL, origin, protocol, username, port, hostname, pathname, search, hash, and each decoded query parameter. Values remain text; parsing does not validate that a destination exists or is safe.
常见问题
你可能还想知道
Does this open the URL?
No. It only parses the text you paste. No network request is made.
Why does the normalized URL differ from my input?
The standard URL parser applies URL syntax rules such as lowercasing a hostname, resolving dot segments, and serializing query parameters consistently.
Can I parse a relative path?
Enter an absolute URL with a protocol, such as https://example.com/path. Relative paths need a base URL, which this tool does not invent.