Binary Translator – Text to Binary

Type text to see it as binary code, or paste a string of 0s and 1s to read it as text. The translator detects which way to convert, handles emoji and accented letters through UTF-8, and shows the same bytes in decimal, hexadecimal and octal. Everything runs in your browser.

Direction
Binary

  
0Characters
0Bytes (UTF-8)
0Bits
0Multi-byte characters
Same bytes in other number systems

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Rate this tool

Be the first to rate this tool

How to use the Binary Translator

  1. Type or paste text, or a sequence of 0s and 1s, into the input box.
  2. Leave Auto-detect on, or force Text → Binary or Binary → Text.
  3. Choose how the binary output should be spaced.
  4. Copy the result, download it, or copy the decimal, hex or octal version.

How text becomes binary

Computers store every character as a number, and every number as a pattern of bits, the 0s and 1s of binary. This translator first encodes your text with UTF-8, the encoding used by almost every web page and modern app, and then writes each resulting byte as eight binary digits. The capital letter H is number 72, which is 01001000 in binary, and a lowercase i is 105, or 01101001. So “Hi” becomes 01001000 01101001.

Plain English letters, digits and common punctuation take one byte each, exactly as in the older ASCII standard. Accented letters such as é use two bytes, many symbols use three, and emoji use four. That is why “👋” turns into four groups of eight bits. The Multi-byte characters tile counts how many characters in your text needed more than one byte.

Converting binary back to text

Paste binary with or without spaces, commas or line breaks. If there are no separators, the digits are read in groups of eight from the left, so the total must be a multiple of eight. Groups shorter than eight digits, such as the 7-bit codes found in some textbooks, are padded with leading zeros. Groups written per character, like a 32-bit emoji, are split into bytes automatically.

The translator tells you exactly what is wrong when the input cannot be read: a character other than 0 or 1, a bit count that does not divide into bytes, or bytes that do not form valid UTF-8 text. That last error usually means a byte is missing or was typed incorrectly.

Spacing options

  • Space between bytes: the most common style, eight digits per group.
  • Space between characters: keeps all bytes of one character together, which makes emoji and accented letters easy to spot.
  • No spaces: one long string, useful for puzzles and compact storage.
  • One character per line: handy for teaching, since each line lines up with one letter.

Decimal, hexadecimal and octal

The same bytes are also shown in base 10, base 16 and base 8. Hex is what programmers usually see in debuggers and color codes, two digits per byte. Decimal is easiest to read, and octal appears in older systems and file permissions. If you need the bytes as Base64 for an email or a data URL, use the Base64 encoder and decoder. For other secret-message styles, try the Morse code translator, or count what you typed with the character counter.

Examples

  • Hi → 01001000 01101001
  • A → 01000001 (decimal 65, hex 41)
  • é → 11000011 10101001 (two bytes)
  • 01001111 01001011 → OK

Binary Translator FAQ

What is “Hello” in binary?

01001000 01100101 01101100 01101100 01101111. Each letter is one byte, written as eight bits.

Why does an emoji turn into 32 bits?

Emoji are stored as four bytes in UTF-8, and each byte is eight bits. Choose “Space between characters” to see those four bytes grouped together.

Is this the same as ASCII binary?

For English letters, digits and basic punctuation, yes. UTF-8 matches ASCII for those characters and only adds extra bytes for other characters.

Why do I get “not valid UTF-8”?

The bits are a valid sequence of bytes, but they do not form readable text. A byte is usually missing, extra or mistyped, often in the middle of an emoji or accented letter.

Is my text sent anywhere?

No. The conversion happens in your browser and nothing is uploaded.

Related tools

All Text Tools
Word CounterCount words, characters, sentences and reading time as you type.Character CounterCount characters with and without spaces, with social media limits.Case ConverterSwitch text to UPPERCASE, lowercase, Title Case, camelCase and more.Remove Duplicate LinesDelete repeated lines from a list and keep only unique entries.Text to Slug ConverterTurn titles into clean, SEO-friendly URL slugs.Fancy Text GeneratorCreate stylish Unicode fonts to copy and paste anywhere.Invisible CharacterCopy blank and invisible Unicode characters for names and messages.Extract Emails from TextPull all email addresses out of messy text, remove duplicates, sort, and export.Morse Code TranslatorTranslate text to Morse code and Morse back to text, then play it as audio or a flashing light at any WPM.Number to WordsConvert numbers to words for writing checks, plus plain English words, ordinals and dollars-and-cents text, up to decillions.Online NotepadA free online notepad that saves automatically in your browser. Write notes, then copy, print or download them.Reverse Text GeneratorReverse text backwards, flip word order, reverse each word or flip line order. Emoji-safe, copy in one click.Roman Numeral ConverterConvert numbers to Roman numerals and back, with strict validation, clear error messages and a step-by-step breakdown.Sentence CounterCount sentences, words, characters and paragraphs live, with average sentence length and your longest sentence.Small Text GeneratorTurn text into small caps, superscript, subscript and tiny letters you can copy and paste anywhere.Speech Length CalculatorConvert word count or pasted scripts into exact speaking time by WPM pace.SRT to VTT ConverterConvert SRT subtitles to WebVTT (.vtt) or VTT to SRT with optional time shifting.Strikethrough Text GeneratorTurn any text into s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶, slashed, underlined, double underlined or wavy text you can copy and paste anywhere.Text to SpeechType or paste text and hear it read aloud with the voices built into your browser.Upside Down TextFlip text upside down (ʇxǝʇ uʍop ǝpᴉsdn), flip letters without reversing, or write backwards, then copy and paste it anywhere. Decodes it back too.Zalgo Text GeneratorMake glitchy, cursed zalgo text with adjustable intensity, or clean zalgo text back to normal.Aspect Ratio CalculatorFind the missing width or height for any ratio, and simplify any resolution like 1920 × 1080 to 16:9.Reaction Time TestWait for the screen to turn green, then click as fast as you can. Five tries give your average and best time.