Convert text to binary, hexadecimal, decimal or octal, and back. Every character is first encoded as UTF-8, then each byte is written in the chosen base: A is 01000001 in binary and 41 in hex, while é takes two bytes and most emoji take four.
To decode, paste the bytes separated by spaces or commas. Hex bytes may carry a 0x prefix, and binary, hex or octal can also be one unbroken run of digits. Bytes that are not valid UTF-8 text are reported instead of being shown as garbage.
Everything runs in your browser. To convert a single number between bases, use the Number Base Converter .
Each character is first encoded as UTF-8 bytes, then each byte is written as eight binary digits. ASCII letters take one byte, so "A" is 01000001, while accented letters take two bytes and most emoji four.
Yes. Binary, hex and octal can be one unbroken run of digits as long as the length is a whole number of bytes. Spaces, commas and 0x prefixes are accepted too. Decimal bytes need a separator.
The bytes do not form valid UTF-8, usually because one is missing or the data was binary rather than text. Check that every multi-byte character is complete.