开发者工具

Split a URL into components online

Split a URL into protocol, host, path, query, and hash.

全部工具

URL Splitter

Upload file
Drag & drop a file here, or choose a file.
输入
输出

使用方法

  1. Paste a URL.
  2. Click Convert to split path/query/hash.
  3. Copy the output.

Best practices

  • For best performance, try with smaller inputs first.
  • Preview the output before downloading or sharing it.
  • Avoid pasting sensitive data on shared devices.

隐私

部分工具在浏览器内运行。某些功能可能需要服务器处理。

示例
Example 1
输入
https://example.com/path/to/page?utm_source=test&x=1&x=2#section
输出

                                    
Example 2
输入
/relative/path?query=1
输出

                                    

Was this tool helpful?