About Text to Binary Converter
Computers store text as numbers, and numbers as binary digits. This converter encodes your text as UTF-8 and shows every byte as eight binary digits separated by spaces. The letter H, for example, is byte 72, which is 01001000.
Standard English letters take one byte each. Characters from other scripts, such as Gurmukhi letters or emoji, take two to four bytes, so they produce several groups of eight digits. It is a handy way to see how text is really stored.
How to use Text to Binary Converter
- Type or paste the text you want to convert.
- Click Run Tool. Each byte appears as eight binary digits.
- Copy the binary output, or paste it into the Binary to Text Converter to check the round trip.
Example
Input
Hi NHP
Output
01001000 01101001 00100000 01001110 01001000 01010000
Common uses
- Learning how ASCII and UTF-8 map characters to bits for a computer science class.
- Creating binary text for a puzzle, an assignment or a coding exercise.
- Seeing how many bytes a string needs.
Privacy and safety
This tool runs in your browser. The text you enter is processed on your device and is not sent to NHP Learning.
Frequently asked questions
Why are there more groups than characters?
Characters outside basic ASCII need several bytes in UTF-8, so each of those bytes is shown as its own group of eight digits.
Is it ASCII or Unicode?
The output is UTF-8. For plain English text, UTF-8 and ASCII give identical bytes.
How do I convert binary back to text?
Use the Binary to Text Converter on this site.