About this tool
See how text is stored as bytes. Each character is encoded as UTF-8, so English letters take one byte and characters like ₹ take three.
Seeing how text is stored as numbers
Every character on a screen is stored as one or more numbers inside a computer. This converter shows those numbers in binary, hexadecimal, decimal and octal, which makes it a useful learning tool for students and a practical aid for developers debugging encoding problems. Type a word and you can see exactly which bytes represent it.
Characters are encoded as UTF-8, the standard used across the web. Basic English letters, digits and common punctuation each take one byte, so the letter A becomes 01000001 in binary or 41 in hexadecimal. Characters from other scripts take more space: most Indian-language letters use three bytes each, as does the rupee symbol, and many emoji use four. That is why a short message in Hindi can be larger in bytes than a longer one in English.
The converter also works in reverse, turning binary or hexadecimal back into text, which is handy for puzzles, classroom exercises and checking data captured from a device or network tool. When converting back, keep the groups separated by spaces so each byte is read correctly. If the result shows replacement symbols, some bytes are probably missing or the data was not UTF-8 text in the first place. Hexadecimal is usually the easiest format to read and compare, since every byte is exactly two characters. Teachers can use the tool to show why storage and bandwidth depend on the language and characters used. Everything is calculated in your browser, so nothing you type is stored or sent anywhere.
How to use it
- Paste your text into the input box, or open a file from your device.
- Adjust the options. The result updates instantly.
- Copy the result, or download it as a file where offered.
Questions
Why does ₹ produce three bytes?
In UTF-8, characters outside basic ASCII use two to four bytes. ₹ is E2 82 B9 in hex.
Can I convert binary back to text?
Yes. Choose the 'to text' direction and paste space-separated bytes.
Last reviewed 16 October 2026.
