🔢

Text ↔ Binary / Hex Converter

Convert plain text to binary or hexadecimal and decode it back to text instantly. Free, private, runs entirely in your browser.

📝 Text Tools Free Browser-based
Tool

How Text → Binary Works

Every character in a string has a numeric code point (its Unicode / ASCII value). Binary encoding converts each character to its 8-bit binary representation. For example, the letter A has the ASCII value 65, which in binary is 01000001. Bytes are typically separated by spaces for readability.

Encoding Reference

CharacterDecimalBinaryHex
A650100000141
a970110000161
0480011000030
Space320010000020
!330010000121

Binary vs Hex

Binary (base 2) uses only 0s and 1s — each character expands to 8 digits, making output verbose but easy to understand bit-by-bit. Hexadecimal (base 16) uses digits 0–9 and letters A–F — each character becomes just 2 hex digits, making it far more compact. Hex is the standard in programming, colour codes, and byte-level debugging.

Frequently Asked Questions