Text Codec
Text Encoder and Decoder
Encode and decode Base64, Base64URL, URL, HTML entities, Unicode escapes, Hex, Binary, and other common text formats locally in the browser.
Input
Result
Supported Codecs
- Base64 / Base64URL: Commonly used for text, tokens, and URL-safe transport.
- URL Component: encodeURIComponent / decodeURIComponent。
- HTML Entity: Escapes &, <, >, quotes, and similar characters for HTML.
- Unicode: Supports JavaScript/JSON style escapes.
- Hex / Binary: Encodes UTF-8 bytes as hexadecimal or binary.