Characters are encoded in UTF-8, the standard of the web, so Cyrillic, Arabic, Chinese and emoji work as well as English letters. You can also show the bytes in hexadecimal, decimal or octal, and look up letters and digits in the table below.
How to use it
- Type or paste text, or binary code made of 0 and 1.
- The direction is detected automatically, or you can choose it.
- For text, choose binary, HEX, decimal or octal, and whether to separate the bytes with spaces.
- Copy the result, or press Swap to translate it back.
Common uses
- Learning how computers store text in a computer science lesson.
- Writing a secret message or a greeting for a friend in binary.
- Decoding binary from a puzzle, a T-shirt or an escape room.
- Checking the UTF-8 bytes of a character while programming.
Examples
| Text | Binary |
|---|---|
| Hi | 01001000 01101001 |
| A | 01000001Byte 65 in decimal. |
| Я | 11010000 10101111Cyrillic letters take two bytes in UTF-8. |
| I ❤ | 01001001 00100000 11100010 10011101 10100100The heart takes three bytes. |
Frequently asked questions
How is text converted to binary?
Why do some letters take two or more bytes?
Do I need spaces between the bytes to decode?
Why can't my binary be decoded?
Related tools
Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Very large integers are converted exactly.
Morse Code Translator
Translate text to Morse code and back as you type, play it as sound with a flashing lamp, download a WAV file and look up the Morse alphabet.
Encoder / Decoder
Base64 encode/decode, URL encode/decode, and HTML entity conversion. Free online encoding tool.
Text Tools
Word count, character count, case converter, and Lorem Ipsum generator. Free online text tools.