Text to Binary Converter

Type text to see it as binary code, or paste binary (or hex, octal, decimal) to translate it back to readable text. Works with UTF-8, so emoji and accented letters convert correctly.

Runs in your browserUpdated
Format

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Text to Binary Converter

  1. Type text on the left — each character becomes UTF-8 bytes shown as 8-bit binary on the right.
  2. Switch to hex, octal or decimal and choose a separator.
  3. To decode, paste binary (or hex/octal/decimal) on the right; the text appears on the left.

How text becomes binary

Computers store text as numbers. Each character is first mapped to a Unicode code point, then encoded as bytes with UTF-8, and each byte is written as eight bits (0 or 1). Plain English letters take one byte each — “A” is 65, which is 01000001. Accented letters take two bytes, and most emoji take four: “😀” is 11110000 10011111 10011000 10000000.

Binary, hex, octal and decimal

The same bytes can be written in different bases. Hex (base 16) is the compact form developers use — “Hi” is 48 69. Octal (base 8) appears in Unix permissions, and decimal byte values (72 105) are what you see in ASCII tables. Pick a format above; the decoder reads all four.

Decoding binary

Paste groups of 8 bits separated by spaces, commas or new lines — or one long string of bits, which is split into bytes automatically. The tool reports bytes that aren’t valid UTF-8 instead of silently showing garbage, which helps when a puzzle or CTF uses a different encoding.

Tools that pair well with the Text to Binary Converter

  • Morse Code Translator — Type text to get Morse code, or paste dots and dashes to decode them — then listen to it, watch it flash and download the audio.
  • Number Base Converter — Type a number in any base and see it in all the others instantly.
  • Base64 Encode / Decode — Convert text to Base64 and back with full UTF-8 support (accents, emoji), switch to URL-safe Base64, or drop a file to get its Base64 string or data URI.
  • Hash Generator — Compute MD5 and SHA hashes of any text or file instantly, create HMAC signatures, and paste an expected checksum to verify a download.

Frequently asked questions

How do I convert binary to text?
Paste the binary into the right-hand box. Groups of 8 bits (with or without spaces) are read as UTF-8 bytes and the text appears on the left.
What is “Hello” in binary?
01001000 01100101 01101100 01101100 01101111 — one byte per letter, because H, e, l and o are ASCII characters.
Why does an emoji become 32 bits?
UTF-8 encodes characters outside the basic range with up to four bytes. Most emoji need four bytes, so they become four 8-bit groups.
Is binary the same as ASCII?
ASCII is a character set that numbers 128 characters; binary is just how those numbers are written. For ASCII text, UTF-8 and ASCII produce identical bytes.
Can I install Text to Binary Converter as a web app and use it offline?
Yes. Text to Binary Converter is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools