Text to Binary/Hex Converter

Convert text to binary, hexadecimal, octal, or decimal and back

What is Binary and Hexadecimal?

Binary (base-2) and hexadecimal (base-16) are numeral systems used extensively in computing. While humans use decimal (base-10), computers store all data as binary—ones and zeros. Hexadecimal provides a more compact, human-readable way to represent binary data.

This free converter transforms text to binary, hexadecimal, octal, or decimal representations and back. It's essential for programmers, security researchers, and anyone working with low-level data representation.

Understanding Number Systems

SystemBaseCharacters"A" Example
Binary20, 101000001
Octal80-7101
Decimal100-965
Hexadecimal160-9, A-F41

Common Use Cases

Programming

Debug binary data, understand memory representations, work with bitwise operations.

Colors

Hex colors (#FF5500) use hexadecimal to represent RGB values compactly.

Encoding

Analyze encoded data, understand character sets, debug encoding issues.

Learning

Understand how computers represent text, essential for computer science education.

Common ASCII Values

A-Z: 65-90
a-z: 97-122
0-9: 48-57
Space: 32

Frequently Asked Questions

Why 8 bits per character?

ASCII uses 7 bits (128 characters), but computers work in bytes (8 bits). Extended ASCII and UTF-8 use the extra bit, and padding to 8 bits simplifies storage and processing.

Does this work with Unicode/emojis?

Yes! Each Unicode character is converted to its code point. Note that emojis and special characters may produce multiple bytes in UTF-8 encoding.

Is binary the same as encryption?

No. Binary is just a different representation of the same data—it's easily reversible. Encryption uses complex algorithms to make data unreadable without a key.