Skip to content
OnlineToolStudio

Text to Binary Converter

runs in your browserno sign-upfree

Translate text to binary code (8-bit bytes) and binary back to readable text. Works with any language and emoji using UTF-8.

Converted to binary codes

13 chars

About this tool

Translate text into binary code — each character becomes one or more 8-bit bytes such as 01001000 for H — or turn binary back into readable text. It works with every language and with emoji, using UTF-8 like computers do. Choose spaces, commas, new lines or no separator between bytes.

How to use

  1. Type or paste your text to see it in binary.
  2. Choose the separator, and whether to add 0b in front of each byte.
  3. To read binary, press Binary → text and paste the 0s and 1s.

FAQ

How does text become binary?

Each character has a number (H is 72), and the number is written in base 2 using 8 digits: 72 = 01001000. “Hi” is therefore 01001000 01101001. Characters beyond ASCII use two to four bytes in UTF-8.

What about accents, other alphabets and emoji?

They aren’t ASCII, so they are stored in more than one byte. With “UTF-8 bytes” (the default, and what files and web pages use) é becomes two values and an emoji four. Choose “Unicode code points” to get one number per character instead (é = 233, 😀 = 128512).

Which binary formats can I convert back to text?

Values separated by spaces, commas or new lines, with or without prefixes such as 0x, \x, 0b or U+. Hex and binary also work as one unbroken run (48656C6C6F or 0100100001101001). Values above 255 are read as Unicode code points.

Is my text uploaded?

No. The conversion runs in your browser, so your text never leaves your device.

Related tools

All tools