ENCODING

Encoding, everything devs need.

Convert between Base64, URL, HTML entity, Unicode escape and Hex — locally in your browser.

Text ⇄ Base64 (UTF-8 safe).

Everything runs locally in your browser

What can this tool do?

Convert between common text encodings: Base64, URL encoding, HTML entity escaping, Unicode (\uXXXX) escaping and hex bytes — handy for debugging, all local.

示例与注意事项Example & notes

一个例子A worked example

旧系统导出的一串「测试」是乱码:按「被当成 Latin-1 解读的 UTF-8」还原,得到正确的「测试」。The garbled string "测试" from a legacy export is UTF-8 misread as Latin-1 — converting it back yields 测试.

注意事项Things to watch

相关问答More Q&A

怎么判断原始编码?How do I identify the source encoding?

常见做法是逐个尝试并用可读性验证,页面提供一键轮换尝试。Try the candidates and judge by readability — the page can rotate through them for you.

支持批量转换吗?Does it handle batches?

支持按行批量转换,适合处理整份导出文件。Yes — convert line by line, which suits whole exports.

Further reading

觉得好用?Found it useful?