什麼是 URL 解析器?

免費線上 URL 解析器。解析 URL 的通訊協定、主機、路徑、查詢參數等組成部分。

為什麼要使用 URL 解析器?

  • Parses: protocol, hostname, port, path, query, hash
  • Query params as key-value table
  • Copy any component individually
  • Real-time parsing as you type

如何使用 URL 解析器 — 逐步教學

1

Paste a URL into the input field.

2

View all parsed components.

3

Copy any component with the copy button.

4

Review query parameters as key-value pairs.

URL 解析器適合誰?

  • API 除錯
  • URL 分析
  • 查詢參數擷取
  • 網頁開發

URL 解析器 — 常見問題

URL 由哪些部分組成?

URL 包含:通訊協定(https://)、主機名稱(example.com)、連接埠(:8080)、路徑(/page)、查詢(?key=value)與片段(#section)。範例:https://example.com:8080/path?key=value#section

什麼是查詢參數?

查詢參數是 URL 中「?」後面的鍵值對,以「&」分隔。範例:?name=hello&age=25 有兩個參數:name=hello 與 age=25。

準備好使用 URL 解析器 了嗎?

免費線上工具 — 在瀏覽器中運作,無需註冊。立即開始使用。

立即試用
Free Forever · No Sign-up

179 Free Tools at Your Fingertips

All free online tools for developers, designers, students, and creators. Every tool works in your browser — no sign-up, no data collection.