Binary Code Translator

Convert text to binary and back, with UTF-8, decimal and hex, all in your browser.

Quick answer

Translate text to binary and binary back to text, with full UTF-8 support plus decimal and hexadecimal output. Everything runs in your browser.

Type in either box and the other updates instantly.

Features

  • Two-way: text to binary and binary to text
  • Full UTF-8 support, not just plain ASCII
  • Also shows decimal and hexadecimal byte values
  • Choose spaced bytes or a continuous bit stream
  • One-click copy, everything stays in your browser

How to use it

  1. Type or paste text into the top box to see its binary.
  2. Or paste binary into the lower box to decode it to text.
  3. Pick UTF-8 for emoji and accented characters.
  4. Copy the binary or the decoded text with one click.

How text becomes binary

Every character you type is stored as a number, and that number is stored as bits, the ones and zeros a computer actually works in. A binary translator makes that hidden layer visible: it looks up the numeric code for each character and writes it out as an 8-bit byte. The capital letter A is code 65, which is 01000001 in binary; a lowercase a is 97, or 01100001.

Plain ASCII only covers the first 128 codes, enough for English letters, digits and common punctuation. Anything beyond that, an accented e, a currency symbol, an emoji, needs UTF-8, which represents those characters as two, three or four bytes. That is why this tool defaults to UTF-8: switch to ASCII only if you specifically need the classic 7-bit behaviour and are working with English text.

Decoding is the same process in reverse. The tool groups the bits into bytes, reads each byte back to its number, and maps the number to a character. Because binary is just a notation, converting text to binary and back is lossless: what you put in is exactly what you get out.

Frequently asked questions

Yes, with no limits, no account and no sign-up.
Yes. With UTF-8 encoding selected, characters beyond plain ASCII, including emoji and accents, are encoded as multiple bytes and decode back correctly.
Each character byte is 8 bits, so a valid binary string decodes in 8-bit groups. If the total number of 0s and 1s is not divisible by 8, a byte is incomplete and the tool asks you to check the input.
No. The translation runs as JavaScript in your browser, so nothing you type is uploaded to a server.

Related tools

Pick a theme

Ten hand-tuned palettes.