Encoder and decoder
Convert text to and from the encodings that turn up in URLs, headers, logs and markup: Base64, percent-encoding, hex, HTML entities, Unicode escapes and Punycode domain names. Nothing is sent.
完全在你的浏览器中运行 — 不会发送到任何地方
完全在你的浏览器中运行 — 不会发送到任何地方
Which encoding is this?
- Base64 — letters, digits, + and /, often ending in = or ==. Base64URL uses - and _ instead.
- Percent-encoding — %20, %3D and so on, in URLs and form data.
- HTML entities — &, <, ', in page source and templates.
- Unicode escapes — \u00e9, in JSON, JavaScript and logs.
- Punycode — labels starting xn--, the DNS form of a domain like 한국.kr.
Is Base64 a way to hide something?
No. It only makes bytes safe to carry in text; anyone can reverse it in a second. To keep something secret, use the encryption tool.
Why does my Base64 differ from another tool’s?
Usually the character encoding: this tool encodes text as UTF-8, while some older tools use Latin-1 or UTF-16. A trailing line break in the input also changes the result.
Is what I paste sent anywhere?
No. Encoding and decoding happen in your browser, and HTML is never rendered.