Text to Binary Converter
Convert text to binary, decode binary back to text, or work directly with hexadecimal bytes. Choose UTF-8 or ASCII, switch formats instantly, and copy or download the result. A character inspector shows the exact bytes behind each text character.
01001000 01100101 01101100 01101100 01101111
Character & byte inspector
| Character | Code point | UTF-8 hex | UTF-8 binary |
|---|---|---|---|
| H | U+0048 | 48 | 01001000 |
| e | U+0065 | 65 | 01100101 |
| l | U+006C | 6C | 01101100 |
| l | U+006C | 6C | 01101100 |
| o | U+006F | 6F | 01101111 |
How to use the text and binary converter
Choose a format under From and To, then type or paste your input. Results update as you type. Use the swap button to reverse the direction without re-entering a valid result.
You can convert between Text, Binary, and Hex in either direction. Copy the output or download it as a text file. For encoding and separator settings, open Options below the format selectors.
Convert binary to text
Select Binary β Text and enter a sequence of eight-bit bytes, such as . The result is . Spaces and line breaks are optional because the converter reads complete bytes in order.
Choose UTF-8 for ordinary modern text, including accented characters and emoji, or ASCII for seven-bit data. If the bit count is not divisible by eight or the bytes are invalid for the selected encoding, the tool reports an error rather than guessing.
ASCII and UTF-8 are not the same thing
ASCII assigns values from 0 to 127 to English letters, digits, punctuation, and control characters. UTF-8 preserves those same byte values but also represents the rest of Unicode using two, three, or four bytes when needed.
For example, is in both ASCII and UTF-8. The letter needs two UTF-8 bytes, , and cannot be encoded using strict ASCII. The converter never silently substitutes an unsupported character in ASCII mode.
Common characters in UTF-8 binary and hex
Each binary group represents one byte. Non-ASCII characters may require several groups.
Swipe horizontally to view the full table.
Binary and hexadecimal describe the same bytes
One byte contains eight bits and can be written as two hexadecimal digits. The letter becomes binary or hex ; neither representation changes the underlying byte.
Select Binary β Hex or Hex β Binary to change the notation without decoding it as text. This is useful when reading encoded strings, debugging byte values, or comparing data shown in different formats.
Separators, files, and readable output
Binary and hex output can be separated by spaces, new lines, no separator, or a custom punctuation string. When reading binary or hex, the converter accepts whitespace and the configured custom separator. Digits still have to form complete bytes.
You can also open or drop a text file into the input area, then copy or download the converted result. The file is read locally; the tool is for text representations of bytes, not raw binary-file inspection.
Inspect a character's UTF-8 bytes
Expand the Character & byte inspector to see each text code point alongside its Unicode value, UTF-8 hex bytes, and binary bytes. The counters show the number of bytes and bits, plus code points and lines when text is available.
A small detail that often surprises beginners: the typed digit is binary . The byte is NUL, a control character, not the digit zero. Spaces and line breaks have byte values too.
What this tool does not convert
This is a text-and-byte converter, not a number-base calculator. If you want to convert the number 1011 from binary to decimal 11, that is a different operation from decoding byte as text.
Binary and hex are representations, not encryption. Converting a message into zeros and ones does not conceal its contents.
Examples
Text to binary: Hello
1Input
Text β Binary: Hello
Show result
Result
01001000 01100101 01101100 01101100 01101111
Five ASCII letters produce five UTF-8 bytes.
Binary to text: Hi
2Input
Binary β Text: 01001000 01101001
Show result
Result
Hi
Each eight-bit group is decoded as one byte.
Text to hex: CafΓ©
3Input
Text β Hex: CafΓ©
Show result
Result
43 61 66 C3 A9
The final character uses two UTF-8 bytes.
Hex to text: Hi!
4Input
Hex β Text: 48 69 21
Show result
Result
Hi!
Binary to hex: AB
5Input
Binary β Hex: 01000001 01000010
Show result
Result
41 42
The bytes stay the same; only their notation changes.
Hex to binary: Unicode emoji
6Input
Hex β Binary: F0 9F 99 82
Show result
Result
11110000 10011111 10011001 10000010
These four UTF-8 bytes encode π when decoded as text.
Frequently Asked Questions
Can I convert binary back to readable text?
Yes. Choose Binary under From and Text under To. Enter complete eight-bit bytes, then select UTF-8 or ASCII in Options if needed.
Can I paste binary without spaces?
Yes. The converter accepts continuous binary digits or bytes separated by whitespace. The total number of digits must still be a multiple of eight.
Why is my binary-to-text input rejected?
The input may contain characters other than 0 and 1, incomplete eight-bit groups, or bytes that are not valid in the selected text encoding. UTF-8 decoding checks for malformed sequences.
Does it convert binary numbers to decimal?
No. It converts text to encoded bytes, bytes back to text, and byte values between binary and hexadecimal notation. It does not interpret the input as an arbitrary mathematical number.
Can I convert hex to text or binary?
Yes. Choose Hex under From, then select Text or Binary under To. Each byte must contain exactly two hexadecimal digits.
Are my text and files uploaded?
No. Conversion and file reading happen in your browser; the converter does not send your input or output to a server.
What are the input limits?
Text input supports 10,000 UTF-16 code units; binary and hex input support 300,000 characters. Text files are limited to 350 KB, and the inspector shows the first 200 code points.
Does binary conversion encrypt a message?
No. Binary and hexadecimal are ways to display bytes. Anyone who knows the encoding can turn them back into readable text.