ToolPal

URL 解析器

将任何URL解析为其组成部分 — 协议、主机名、端口、路径、查询参数和片段。

在上方输入URL以查看其组件

使用方法

将任何URL解析为其组成部分 — 协议、主机名、端口、路径、查询参数和片段。

  1. 1Paste or type any URL into the input field at the top.
  2. 2The tool instantly parses it into components: protocol, hostname, port, pathname, query string, and fragment.
  3. 3Review the Query Parameters table to see each key-value pair extracted from the URL.
  4. 4Click the copy icon next to any component to copy just that value.
  5. 5Use 'Copy as JSON' to copy all parsed components as a structured JSON object.

主要功能

  • Parses all URL components: protocol, username, password, hostname, port, pathname, query string, hash, and origin
  • Displays query parameters as a key-value table for easy reading
  • Per-component copy buttons plus 'Copy as JSON' for all fields at once
  • 100% client-side using the browser's built-in URL API — no data ever leaves your browser

常见问题

了解更多