URL 编码
都在当前标签页进行。不上传。
输入
输出
使用步骤
Percent-encode or decode a string in this tab. Nothing is uploaded.
Open URL encode
A sample query is already encoded on the right. Encode is selected.
Paste text or a query
Encode uses encodeURIComponent. Switch to Decode to turn % sequences back.
Copy the result
Copy puts the encoded or decoded string on the clipboard.
常见问题
能在这里做 URL 编码吗?
能。编码使用百分号编码(encodeURIComponent),解码把 % 序列还原为文本。
会上传吗?
不会。编码在当前标签页进行。
加号怎么处理?
解码时 + 变成空格,和查询字符串的常见做法一样。
这是完整的 URL 解析器吗?
不是。只编码或解码你粘贴的字符串,不把 URL 拆成各部分。
解码失败怎么办?
% 序列损坏会报错。修正十六进制字符对后重试。