// DEV / URL-CODEC
URL 编解码URL Encode / Decode
对 URL 组件或完整链接进行百分号编码与还原。Percent-encode and decode URL components or full links.
URL 组件会把 & / ? = 等分隔符也转义,适合拼接查询参数的值;完整链接只转义非法字符,保留链接结构。Component scope escapes separators like & / ? =, which suits query values. Full URL keeps the link structure intact.
结果Result
常见问题FAQ
URL 编码和编码整个链接有什么区别?What is the difference between component encoding and full URL encoding?
本工具的“组件编码”对应 encodeURIComponent,会转义 / ? & = 等分隔符,适合处理单个参数值;“整体编码”对应 encodeURI,保留链接结构,适合处理整条 URL。Component encoding behaves like encodeURIComponent and escapes separators such as / ? & =, which suits a single parameter value. Full encoding behaves like encodeURI and keeps the URL structure intact.
同类工具Related tools
- JSON 格式化JSON Formatter
- JSON 校验JSON Validator
- JSON 对比JSON Diff
- YAML / JSON 互转YAML ↔ JSON
- Base64 编解码Base64 Encode / Decode
- Unicode 编解码Unicode Encoder
- URL 解析URL Parser
- 哈希生成Hash Generator
- 正则测试Regex Tester
- 密码强度检测Password Checker
- 随机密码Password Generator
- 颜色转换Color Converter
- User Agent 解析User Agent Parser
- UUID 生成UUID Generator
- 时间戳转换Timestamp Converter