URL 编解码工具

编码模式:
输入内容
输入 URL 组件(参数值、查询字符串等)
转换结果

编码模式说明

  • Component 模式:使用 encodeURIComponent/decodeURIComponent,适用于 URL 参数值、查询字符串等
  • Full URL 模式:使用 encodeURI/decodeURI,保留 URL 结构字符(: / ? # [ ] 等),适用于完整 URL