Text to Binary / Hex

Convert text to binary, hexadecimal, decimal, and octal. Decode back to text. Unicode support included.

Enter Text

πŸ”’

4 Formats

Binary, hex, decimal, octal

πŸ”„

Bidirectional

Encode and decode

🌐

Unicode

Emoji and special chars

πŸ”’

100% Private

No data stored

Understanding Number Systems

Computers store all data as numbers. Text characters are assigned numeric codes (ASCII or Unicode), which can be represented in different number systems: binary (base 2), hexadecimal (base 16), decimal (base 10), or octal (base 8).

Number System Comparison

CharacterBinaryHexDecimalOctal
A010000014165101
a011000016197141
0001100003048060
!001000012133041
Space001000002032040

Common Use Cases

  • Learning: Understand how computers represent text as numbers
  • Programming: Debug encoding issues, work with binary protocols
  • Data Analysis: Examine binary file contents in readable formats
  • Cryptography: View encoded data in hex or binary
  • Network Analysis: Inspect packet data in different formats

Frequently Asked Questions

How does text to binary work?

Each character has an ASCII/Unicode code number. That number is converted to base 2 (binary). 'A' = 65 = 01000001.

What's the difference between hex and binary?

Binary is base 2 (0-1), hex is base 16 (0-F). Hex is more compact: 4 binary digits = 1 hex digit.

Does this support emoji?

Yes! Enable Unicode mode to correctly handle emoji and characters outside the basic ASCII range.

Is my text stored?

No! All conversion happens in your browser. Your data never leaves your device.

Related Tools