Skip to content
SPCXTools

Binary Translator

Turn words into 0s and 1s — and decode binary, hex, decimal or octal back into readable text.

Runs locally — files never leave your device

Loading tool…

How to use Binary Translator

  1. 1Choose Text → Binary to encode, or Binary → Text to decode.
  2. 2Pick the number format — Binary, Hex, Decimal or Octal.
  3. 3Type or paste into the input box. The result appears instantly.
  4. 4Copy or download the result. Switching direction moves the result into the input so you can check the round trip.

Translate text to binary and back

Computers store every letter as a number, and every number as a pattern of bits. This binary translator shows you those patterns: type a word and see it as binary code, or paste a string of 0s and 1s and read the hidden message. It also converts text to hexadecimal, decimal and octal byte values, which are handy for programming, debugging, puzzles, escape rooms and computer science lessons.

Features

  • Two directions: text to code and code to text.
  • Four formats: binary, hexadecimal, decimal and octal.
  • UTF-8 encoding, so accented letters, non-Latin scripts and emoji work correctly.
  • Flexible decoding of spaced or continuous binary and hex.
  • Instant round trip: switch direction to verify the result.
  • Copy or download the output.

Example: "Hi!"

Character Decimal Hex Binary
H 72 48 01001000
i 105 69 01101001
! 33 21 00100001

Reading binary by hand

A byte has eight bits with place values 128, 64, 32, 16, 8, 4, 2 and 1 from left to right. Add up the values where there's a 1. For 01001000: 64 + 8 = 72, which is the letter "H". Capital letters A–Z are 65–90 (01000001–01011010), lowercase a–z are 97–122, and the digits 0–9 are 48–57.

Related tools

Convert single numbers between any bases with the Number Base Converter, encode data for URLs and emails with Base64, or try another code with the Morse Code Translator.

Frequently asked questions

How is text converted to binary?
Each character is first converted to bytes using UTF-8, the standard text encoding of the web. Each byte is then written as an 8-digit binary number. For example, "Hi" is the bytes 72 and 105, which are 01001000 01101001 in binary.
Why do some characters produce more than one byte?
Basic English letters, digits and punctuation take one byte each in UTF-8. Accented letters usually take two bytes, most Chinese, Japanese and Korean characters take three, and emoji take four. That's why "é" becomes two groups of 8 bits.
Do I need spaces between the bytes when decoding?
No. Binary can be pasted with spaces between bytes or as one continuous string whose length is a multiple of 8. Hex works the same way with pairs of digits, and a 0x prefix is ignored. Decimal and octal values must be separated by spaces or commas.
What's the difference between binary, hex, decimal and octal?
They are different ways of writing the same byte values. Binary uses base 2 (00000000–11111111), hex uses base 16 (00–FF), decimal uses base 10 (0–255) and octal uses base 8 (000–377). Hex is the most compact and is common in programming.
Is this the same as ASCII?
For English letters, digits and common symbols, UTF-8 and ASCII give exactly the same codes, so "A" is 65 (01000001) in both. UTF-8 extends ASCII to cover every language and emoji.