Convert text to and from Base64, URL, Unicode and Hex. 100% local.
The Encoder / Decoder converts text to and from Base64, URL percent-encoding, Unicode escapes, and hexadecimal — the everyday "what do I do with this string of gibberish" tasks for developers, ops staff, and sellers. 编码互转工具支持 Base64、URL、Unicode、Hex 四种编码互转。Everything runs locally in your browser; nothing is uploaded.
Base64 and the other encodings here are representations, not cryptography. A Base64 string is trivially decodable by anyone — never use it to hide secrets, passwords, or personal data. If you need to protect a secret, use encryption (AES) with a key. 编码不等于加密,切勿用 Base64 保存密码或敏感信息。
Q: Does it handle Chinese / multi-byte text? — Yes. Base64 and Hex conversions use UTF-8 internally, so Chinese, Japanese, emoji and other multi-byte characters round-trip correctly. 支持 UTF-8 多字节字符。
Q: Why do I get an "invalid input" error when decoding? — The input is not in the expected format: a non-Base64 string, or an odd-length hex number. Check for missing padding (==) and copy the string exactly. 输入格式不对时请检查填充符号(==)或复制完整性。