Encode or decode URLs and query strings with advanced handling for special characters.
- _ . ~)外,其余字节编码为 %HH。encodeURI 保留 URL 结构字符(: / ? #),encodeURIComponent 对全部保留字符编码,适用于参数值。%20;表单编码(application/x-www-form-urlencoded)中可写作 +。encodeURIComponent: 编码所有特殊字符(除 A-Za-z0-9-_.!~*'())
encodeURI: 保留 URL 结构字符 (:/?#[]@!$&'()*+,;=)
Form: 表单提交,空格 → +
Query: 与 Form 类似,用于查询字符串
URL 高级编解码。专为开发者打造的在线工具,纯前端运行,代码不离开浏览器。