Util Tools logo Util Tools
Converters

Free Text to Binary Converter Online

Encode text into binary, hexadecimal, decimal, or octal codes - and decode it back. Supports ASCII and full UTF-8 (including emoji and non-Latin scripts), with a per-character breakdown.

  • 100% free
  • No signup
  • Runs in your browser
Per-character breakdown

Common uses

  • Understanding how computers store text internally
  • Debugging character encoding issues
  • Learning binary and hexadecimal representation
  • Creating simple text obfuscation for puzzles and games
Guide

How text becomes binary

Computers store text as numbers. Each character is assigned a numeric code point, and that number is stored in binary (1s and 0s). The letter "A", for instance, has the code 65, which is 01000001 in 8-bit binary. To convert text to binary, the tool looks up each character's code and writes it in the base you choose: binary, hexadecimal, decimal, or octal. It can also decode those codes back into readable text.

ASCII vs. UTF-8

ASCII is the original 7-bit scheme covering 128 characters: the English alphabet, digits, and basic punctuation. It cannot represent accented letters, other scripts, or emoji. UTF-8 is the modern standard that can encode every character in Unicode while staying backward-compatible with ASCII for the first 128 codes. This converter supports full UTF-8, so non-Latin scripts and symbols work correctly.

Why an emoji is several bytes

In UTF-8, a character takes between one and four bytes depending on its code point. Plain ASCII letters use a single byte, common accented and many non-Latin characters use two or three, and emoji and rarer symbols use four. That is why converting a single emoji can produce four bytes of binary: it genuinely needs that much space to be stored unambiguously.

Common uses

  • Learning and teaching how character encoding works.
  • Generating binary or hex representations for puzzles, ciphers, or homework.
  • Inspecting exactly how many bytes a string occupies.
  • Decoding a string of binary or hex back into text.

Last updated: July 2026

Frequently Asked Questions

How is text stored as binary?
Each character is assigned a numeric code (via ASCII or Unicode standards), and that number is represented in binary. For example, the letter 'A' has ASCII code 65, which is 01000001 in binary.
What is the difference between ASCII and UTF-8?
ASCII uses 7 bits and covers only 128 characters (English letters, digits, basic symbols). UTF-8 is a variable-width encoding that can represent any Unicode character, including emoji and non-Latin scripts, using 1 to 4 bytes per character.
How do I convert text to hexadecimal?
Each character's numeric code (ASCII/Unicode value) is converted to its hexadecimal representation. For example, the letter 'A' (decimal 65) becomes hex 41.
Why does converting an emoji produce multiple bytes?
Emoji and many non-Latin characters fall outside the ASCII range and require multi-byte UTF-8 encoding - often 3 to 4 bytes per character - unlike standard English letters which use a single byte.
Can I decode binary back to text?
Yes. Switch to Code to Text mode, paste your space-separated binary (or hex/decimal) codes, and the tool will decode them back to readable text.