Skip to content
Logo Any Help Me

Text to Binary / Morse Code Converter

Byte separator:
 

What Text Looks Like Underneath

Every character you read is stored as a number, and every number is stored as bits. Converting text to binary makes that visible: the letter A becomes 01000001, which is 65 in decimal and 0x41 in hexadecimal, the same value in three notations.

This converter goes both ways, turning text into binary and binary back into readable text, which is useful for teaching, for puzzles, and for checking what a byte sequence actually contains.

How to Convert Text and Binary

The tool detects which direction you want from what you paste.

  1. Paste text to see its binary representation, with each character as a group of bits.
  2. Or paste binary, groups of eight digits separated by spaces, to convert it back into text.
  3. Check the grouping if a conversion back fails. Binary text is conventionally written in bytes of eight bits, and a stray digit will shift everything after it.
  4. Note that non-English characters produce more than eight bits each, because UTF-8 encodes them across two to four bytes.
  5. Use the result for what it is: a demonstration of encoding rather than a way to hide anything, since binary is trivially readable by anyone who wants to.

Why Some Characters Take More Bytes

ASCII covers the English alphabet, digits and common punctuation in a single byte each, which is why English text converts to neat groups of eight bits. UTF-8 extends that to every character in Unicode while keeping ASCII unchanged, at the cost of variable length: accented Latin letters take two bytes, most Asian characters take three, and emoji generally take four.

That variability explains a lot of everyday behaviour. It is why a text field that counts bytes rather than characters rejects a name with an accent sooner than one without, why an emoji costs several characters of a message limit, and why truncating a string at a fixed byte position can slice a character in half and produce the replacement symbol.

Characters and Their Encodings

The same characters shown as decimal, hexadecimal and binary, with the byte count UTF-8 uses.

CharacterDecimalHexBinaryUTF-8 bytes
A650x41010000011
a970x61011000011
0480x30001100001
space320x20001000001
é2330xE911000011 101010012
546200xD55Cthree bytes3
😀1285120x1F600four bytes4

Notice that A is 65 and a is 97, exactly 32 apart. That gap is a single bit, which is why changing letter case in ASCII is a bitwise operation rather than a lookup, and why the digits start at 48 rather than 0.

Binary Is Not Encryption

Text converted to binary is not hidden in any meaningful sense. The conversion is public, reversible and requires no key, so anyone who recognises the pattern can read it in seconds. Using it to obscure a password or a message provides no protection at all, only the appearance of it.

What it is genuinely useful for is understanding. Seeing that a character is a number, that the number is bits, and that the bit pattern for A differs from a by one position makes the layer underneath text concrete in a way an explanation does not. That is why it turns up in teaching material and puzzles far more than in anything operational.

Frequently Asked Questions

How do I convert text to binary?
Each character is looked up as a number and that number written in base two. The letter A is 65, which is 01000001 in eight bits.
Why do some characters produce more than eight bits?
Because UTF-8 uses more bytes for characters outside ASCII. Accented Latin letters take two bytes, most Asian characters three, and emoji generally four.
Why is A 65 and a 97?
They are exactly 32 apart, which is a single bit in binary. That is why changing case in ASCII is a bit operation rather than a table lookup.
My binary will not convert back. What is wrong?
Usually the grouping. Binary text is written in bytes of eight digits, so a missing or extra digit shifts everything after it and produces nonsense.
Is converting to binary a form of encryption?
No. The conversion is public and reversible without any key, so it hides nothing from anyone who recognises the pattern.
What is the difference between binary and hexadecimal here?
They are two notations for the same value. Hex is more compact, one hex digit is four bits, which is why byte values are usually written as hex rather than as eight ones and zeros.
Is my text sent anywhere?
No. The conversion runs in your browser and nothing you paste is transmitted or stored.

Explore more in Tools

View all →