Developer

Text Encoding Converter

Text ↔ UTF-8, UTF-16 & ASCII bytes.

Text input
Byte output

This free text encoding converter turns any text into its raw bytes and back again, entirely in your browser. Encode to UTF-8, UTF-16 (LE/BE), UTF-32 (LE/BE), ASCII or Latin-1 (ISO-8859-1), and view the result as hexadecimal, decimal, binary, octal, Unicode code points or Base64. Choose a separator (space, comma, newline or none) and an optional 0xor \x prefix, force uppercase hex, and prepend a byte-order mark. A live byte, character and code-point count sits above both panes.

Switch to Bytes → Text to decode. Paste bytes in any base (or Base64) and decode them with a full set of legacy and Unicode charsets — UTF-8, UTF-16, ASCII, the ISO-8859 family, the Windows code pages, plus Shift_JIS, EUC-JP, Big5, GBK, KOI8-R and more via the browser's nativeTextDecoder. It's a practical way to see how multi-byte characters and emoji are stored, debug mojibake and encoding mismatches, inspect byte counts, and recover text from a byte dump. Copy or download the result with one click.

Related tools