URL 解析器
将 URL 解析为各组成部分:协议、主机、路径、查询、哈希、端口、用户名和密码。免费、隐私、100% 客户端运行。
Local only
最近历史
暂无历史
使用方法
- 将完整 URL 粘贴到输入框。
- 查看解析后的组件和查询参数。
- 按需复制或下载结果。
使用此工具的任务
构建 URL query strings from objects
Construct properly encoded 查询 strings 从 JavaScript objects. Handle arrays, nested objects, 和特殊 characters 正确. 任务
解码 a Punycode internationalized domain name to Unicode
转换 an ACE-encoded domain (xn--...) back to its readable Unicode form, and encode Unicode domains for DNS lookup. 任务
编码 text for safe use inside a URL query string
Turn arbitrary 文本 (具有 spaces, ampersands, Unicode, equals signs) 为值 该能够是 placed directly 之后 ?键= 在 URL 无 breaking parsing. 任务
提取 all URLs from a block of text
Find 每个 URL (http, https, ftp) 在 unstructured 文本和 列表它们为 validation, deduplication, 或批量过程. 任务
生成 a QR code for a URL
Create scannable QR 代码该 encodes URL, 具有 control 遍历大小, 错误校正, 和格式化. 任务
Implement CORS 安全
CORS (Cross-源 Resource Sharing) allows controlled cross-源 requests. Learn 到 configure origins, 方法, headers, 和 credentials 安全. 任务
Look 上 meaning 的 HTTP 状态代码
获取 the category, reason phrase, and common usage for any HTTP status code (1xx-5xx). 任务
解析 a URL into components and construct URLs from parts
Decompose URL 为协议, 主机, 路径, 查询, 片段 — 和构建 URL 从 individual components 安全. 任务
解析 and understand DNS records
DNS records 映射域 names 到 IPs, mail servers, 和其他数据. Learn , AAAA, CNAME, MX, TXT, NS, 和 SOA 记录 types. 任务
解析 URL query strings
Query strings 通过键-值 pairs 在 URLs 之后 ?. Learn parsing, 编码, 和 handling 的 arrays, nested objects, 和特殊 characters. 任务
Use MQTT topic 结构为 IoT messaging
MQTT topics use slash-separated hierarchies 具有 wildcards 为 subscription. Learn topic 设计, QoS 级别, 和 retained messages. 任务
Write URL validation regex
URL validation regex 必须处理协议, 域, 端口, 路径, 查询, 和片段. Learn practical patterns 和当 到 use URL parser instead. 任务
使用此工具的管道
常见问题
- 会提取哪些 URL 组件?
- 工具提取协议、用户名、密码、主机、主机名、端口、路径、查询字符串、哈希片段、origin 和 href,以及解析后的查询参数。
- 会把我的 URL 发送到服务器吗?
- 不会。解析完全在浏览器中通过内置 URL API 完成,数据不会离开你的设备。
相关工具
URL 编码器
对文本进行百分号编码,以安全地用于 URL。免费、隐私优先、100% 纯客户端运行。支持组件模式(编码所有保留字符)和完整 URL 模式(保留 ://? 等结构),支持 UTF-8/ASCII/Latin1/UTF-16LE 字符集,适合构建查询参数、路径片段和 API 请求。 工具
URL 解码器
将百分号编码的 URL 文本解码为可读字符。免费、隐私优先、100% 纯客户端运行。支持 UTF-8/ASCII/Latin1/UTF-16LE 字符集,遇到截断的百分号或非法十六进制会明确报错,适合解析查询参数、路径片段和 API 响应中的编码内容。 工具
HTTP 状态码参考
常见 HTTP 状态码(1xx-5xx)参考表,包含名称、类别和描述。免费、隐私、100% 客户端运行。 工具