URL 编码解码
UpBox优盒工具箱,免费 URL 编码解码工具,支持完整网址与查询参数两种范围,中文、空格、特殊字符一键转义或还原,本地处理。
无需注册 · 数据不上传No sign-up · nothing uploaded
原始内容Input
参数值会转义 / 和 ? 等分隔符;完整网址会保留它们。Parameter values escape / and ?; full URLs keep them.
转换结果Result
字符数0
UTF-8 字节0
输入内容后自动转换
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器
工具介绍
URL 编码把中文、空格和 `&`、`#`、`?` 等字符转换成百分号形式,避免在地址栏和请求里被截断或误读;解码则是反向还原。 URL encoding turns Chinese, spaces and characters like `&`, `#` and `?` into percent escapes so links and requests are not truncated; decoding restores the readable form.
范围有两种:参数值会转义 `/`、`?` 等分隔符,适合拼进查询串;完整网址会保留这些分隔符,适合整条链接。两种都支持中文与 emoji。 Two scopes: parameter values escape separators like `/` and `?`, which suits query strings; full URLs keep them, which suits whole links. Both handle Chinese and emoji.
- 编码与解码双向Encode and decode
- 参数值 / 完整网址Parameter or full URL
- 中文与 emoji 支持Chinese and emoji
- 实时字符与字节统计Live character and byte counts
- 本地处理不上传Runs locally
使用说明
- 把网址或文本粘贴到左侧输入框。Paste a URL or text into the left box.
- 选择“编码”或“解码”,再选择范围。Pick Encode or Decode, then choose a scope.
- 结果会自动生成;需要反向时点“换向”。The result appears automatically; press Swap to reverse.
- 复制结果,或点“清空”重新开始。Copy the result, or clear to start over.
常见问题
为什么空格变成了 %20?Why did spaces become %20?
空格在 URL 中不合法,编码后以 `%20` 表示。解码时会还原为普通空格。Spaces are not valid in a URL, so they become `%20`; decoding restores a normal space.
参数值和完整网址有什么区别?What is the difference between the two scopes?
参数值会把 `/`、`?`、`&` 也转义,适合作为某个参数的内容;完整网址会保留它们,适合整条链接。Parameter values also escape `/`, `?` and `&`, which suits a single value; full URLs keep them, which suits a whole link.
解码报错怎么办?What if decoding fails?
通常是输入里存在不完整的 `%` 转义,例如只有一个 `%`。补全或换用原始编码串即可。Usually the input has an incomplete `%` escape, such as a lone `%`. Fix it or use the original encoded string.
会记录我粘贴的内容吗?Is my input recorded?
不会。转换在浏览器本地完成,没有网络请求,也不写入本地存储。No. Conversion runs locally with no request and nothing written to storage.