1. Home
  2. Developer
  3. Text ↔ Binary Converter

Text ↔ Binary Converter

Turn text into binary, hex or decimal bytes — and back again.

Runs in your browser · No upload Works offline
Result (Binary)
01001000 01100101 01101100 01101100 01101111 00101100 00100000 01110111 01101111 01110010 01101100 01100100 00100001
Characters
13
Bytes (UTF-8)
13
Bits
104
UTF-8 bytes per character
UTF-8 bytes per character
CharCode pointBytes (Binary)
HU+004801001000
eU+006501100101
lU+006C01101100
lU+006C01101100
oU+006F01101111
,U+002C00101100
␠U+002000100000
wU+007701110111
oU+006F01101111
rU+007201110010
lU+006C01101100
dU+006401100100
!U+002100100001

Conversion happens in your browser; nothing you type is uploaded.

How to use

  1. In Text → numbers, type some text and pick a base (binary, octal, decimal or hex); the byte values appear instantly. Choose a separator (space, none, comma, new line) and optional prefixes (0b, 0x).
  2. In Numbers → text, paste values such as 01001000 01101001, 48 69, 0x48, 0x69 or \x48\x69. Leave the base on “Auto-detect” and it’s guessed from the input.
  3. The table below lists each character’s code point (U+) and its UTF-8 bytes.

How text becomes numbers

Computers store text as a sequence of bytes (0–255, 8 bits each). This tool uses UTF-8, the standard encoding of the web. In UTF-8, ASCII letters and digits take 1 byte, accented Latin letters 2, most CJK characters 3, and most emoji 4.

Character Code point UTF-8 (hex) UTF-8 (binary)
H U+0048 48 01001000
i U+0069 69 01101001
é U+00E9 C3 A9 11000011 10101001
😀 U+1F600 F0 9F 98 80 11110000 10011111 10011000 10000000

A byte is always 8 digits in binary, 3 in octal and 2 in hex, so those can be split even without separators. Decimal bytes vary in length (72, 105), so they must be separated by spaces or commas.

Things to watch out for

  • Older data saved in a legacy encoding such as Windows-1252 or Latin-1 uses different bytes (é is E9 in Latin-1). Decoding such bytes shows a warning that they aren’t valid UTF-8, and some characters appear as �.
  • This tool works with bytes. To convert a single number larger than 255 between bases, use the Number Base Converter.
  • Turning text into binary isn’t encryption — anyone can reverse it instantly.

FAQ

Is this the same as ASCII?

For English letters, digits and basic symbols (U+0000–U+007F), ASCII and UTF-8 values are identical. Characters outside ASCII, like é or emoji, use multiple UTF-8 bytes.

What about Base64?

To encode text as Base64, use the Base64 Encoder/Decoder. Nothing you type is uploaded.

Coming soon

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.