// DEV / URL-PARSE

URL 解析URL Parser

拆解 URL 的协议、主机、路径、查询参数与锚点,参数自动解码。Break a URL into protocol, host, path, query parameters and hash, with automatic decoding.

输入或粘贴完整 URL 后实时解析,空输入不会产生结果。Paste a full URL to parse it in real time. Empty input produces no output.

常见问题FAQ

URL 解析会帮我补全协议吗?Does the URL parser add a missing scheme?

默认需要完整 URL。勾选“自动补全 https://”后,可以粘贴 example.com/path 这类缺协议的地址。By default a full URL is expected. Turning on the https:// toggle lets you paste addresses such as example.com/path without a scheme.

查询参数会自动解码吗?Are query parameters decoded automatically?

会。表格里同时显示原始值和解码后的值,解码失败(比如不完整的 % 转义)时保留原文并标注。Yes. The table shows both the raw and the decoded value, and keeps the original text with a warning when decoding fails, for example on incomplete % escapes.

同类工具Related tools

所有计算都在你的浏览器本地完成,输入内容不会上传到任何服务器。Everything runs locally in your browser. Nothing you type is ever uploaded to a server.