URL Parser
Parse URL structure: protocol / host / path / query / anchor
URL Parser is a free online Developer tool. Parse URL structure: protocol / host / path / query / anchor Related terms: url · 解析 · parse · query · 参数 · protocol. Use it on this page without signing in.
https://user:pass@example.com:8080/path/to/page?id=42&q=%E5%B7%A5%E5%85%B7%E7%AE%B1&sort=desc#section-1组成部分
https:example.com8080example.com:8080https://example.com:8080/path/to/page?id=42&q=%E5%B7%A5%E5%85%B7%E7%AE%B1&sort=desc#section-1userpass查询参数(3 个)
| 键 (key) | 值 (value) |
|---|---|
| id | 42 |
| q | 工具箱 |
| sort | desc |
使用浏览器原生 URL API 解析。需输入完整 URL(含协议,如 http:// 或 https://),查询参数自动解码百分号转义。
使用说明
- 输入完整 URL
- 自动解析为协议、主机、端口、路径、查询参数、锚点
- 查询参数按 key=value 逐行展开,可编辑和重新编码
常见问题
- 查询参数编码? 自动解码 %XX 转义字符
- 支持相对路径吗? 需要输入完整 URL(含协议)
More Developer
View allJSON Formatter
Format, minify, validate JSON, convert to Go struct / TS interface
JSON Field Search
Search JSON by field, value or path with highlights, supports jq expressions
Timestamp Converter
Convert between Unix timestamps and dates, seconds and milliseconds
Cron Expression
Generate and parse cron expressions, preview next run time
UUID Generator
Generate UUID v4 / v7 / ULID / NanoID
Hash Calculator
Compute MD5 / SHA1 / SHA256 / SHA512 of text or files
JWT Decoder
Decode JWT header and payload, view expiry time
URL Encoder / Decoder
Encode and decode URL / URI components
FAQ about URL Parser
What can URL Parser do?
URL Parser is a Developer tool. Parse URL structure: protocol / host / path / query / anchor You can finish the job on this page.
Who should use URL Parser?
Anyone handling url · 解析 · parse · query · 参数 · protocol who does not want to install desktop software can use URL Parser in the browser.
Is URL Parser safe? Is my data uploaded?
This tool runs in your browser. We do not collect the content you enter into URL Parser just because you used it.
What similar tools exist?
Related tools in the same Developer group are listed at the bottom of this page.