网络工具

URL Parser

Parse URLs into protocol, host, path, query parameters, hash, and origin with local validation.

URL input

Paste an absolute URL or a relative path.

Href
https://zptools.com/search?q=json%20parser&tag=developer&tag=tools#results
Origin
https://zptools.com
Protocol
https:
Host
zptools.com
Hostname
zptools.com
Port
—
Pathname
/search
Search
?q=json%20parser&tag=developer&tag=tools
Hash
#results

Query JSON

{
  "href": "https://zptools.com/search?q=json%20parser&tag=developer&tag=tools#results",
  "origin": "https://zptools.com",
  "protocol": "https:",
  "username": "",
  "password": "",
  "host": "zptools.com",
  "hostname": "zptools.com",
  "port": "",
  "pathname": "/search",
  "search": "?q=json%20parser&tag=developer&tag=tools",
  "hash": "#results",
  "query": {
    "q": "json parser",
    "tag": [
      "developer",
      "tools"
    ]
  }
}

功能亮点

URL Components

Break URLs into protocol, origin, host, port, path, search, and hash.

Query Parameters

Inspect repeated query keys and decoded parameter values.

JSON Summary

Copy a structured JSON representation for debugging and tickets.

Relative Support

Use a configurable base URL to inspect relative links.

Copy Quickly

Copy parsed components or query JSON into docs and API clients.

No Requests

Parsing happens locally without loading or contacting the URL.

常见问题

No. It only uses the browser URL parser and never makes a network request.

Yes. Relative URLs are resolved against the base URL field.

Duplicate keys are grouped into arrays in the query parameter summary.

持续增长的高效、隐私优先开发者工具集合。所有工具都在浏览器中运行,数据不会离开你的设备。

工具

JSON 解析器JSON Schema 校验器JSON 转换器JSON 转 TypeScriptJSON MinifierOpenAPI 查看器代码格式化SQL 格式化cURL 转换器时间戳转换器Cron 解析器URL 编码器二维码工具URL ParserIP 与 CIDR 计算器Gzip 与 Deflate 工具JWT 解码器JWT 验签与 JWK 工具哈希生成器密码与 TOTPBase64 编码器UUID 生成器图片元数据图片压缩Tiny 图片压缩器图片工具箱 Pro屏幕录制正则测试器Case ConverterLorem Ipsum Generator文本 DiffMarkdown 与 Mermaid 预览颜色与对比度工具

法律

隐私政策服务条款

© 2026 ZPTools. 保留所有权利。