Convert text between binary, hex, decimal, octal and ASCII codes, escape and unescape Unicode, inspect code points and count real UTF-8 bytes. Everything runs locally in your browser.
- Text to Binary
Convert text into binary – eight bits per UTF-8 byte, or one number per Unicode code point.
- Binary to Text
Convert binary numbers back into readable text.
- Text to Hex
Convert text to hexadecimal – two hex digits per UTF-8 byte, or per code point.
- Hex to Text
Convert hexadecimal back to text, accepting spaces, commas, colons and 0x prefixes, and warning when the bytes decode to something other than clean UTF-8.
- Text to ASCII
Convert text to ASCII character codes in decimal, hex, binary or octal, with strict validation because ASCII defines only the 128 characters numbered 0 to 127.
- ASCII to Text
Turn ASCII character codes back into text, with an option to name control characters such as LF and TAB instead of printing invisible bytes.
- Text to Decimal
Convert text into decimal numbers – full Unicode code points by default, so an emoji becomes a single number such as 128512 rather than several byte fragments.
- Decimal to Text
Convert decimal numbers back into characters, treating them as Unicode code points or as raw UTF-8 bytes, with clear errors for surrogates and out-of-range values.
- Text to Octal
Convert text into octal, base 8, at three digits per byte.
- Octal to Text
Convert octal numbers back into readable text, validating that every digit falls in the range 0 to 7.
- Unicode Escape
Turn characters into escape sequences for JavaScript, ES6, CSS, Python, Java or C, which is useful when source files or config formats must stay pure ASCII.
- Unicode Unescape
Convert escape sequences in the JavaScript, ES6, Python and hex styles back into the characters they represent, flagging unpaired surrogates.
- Unicode Code Point Converter
Look up the code point of every character – with its decimal value, UTF-8 bytes and UTF-16 units – or turn U+ notation back into text.
- UTF-8 Encoder and Decoder
Inspect exactly how text becomes UTF-8 bytes – as hex, percent-escapes, decimal or hex escapes – and convert those bytes back to text.
- UTF-8 Byte Counter
Count UTF-8 bytes, characters and UTF-16 units separately – the three numbers that disagree whenever emoji or non-Latin scripts appear – and compare them against common limits.
- Character Encoding Detector
Analyse bytes for a byte order mark, ASCII-only content, valid UTF-8 and classic mojibake patterns, separating what can be proven from what can only be guessed.