Binary / Text Converter

Convert text to binary and hex — and back. Byte-by-byte breakdown table.

🔒 100% client-side
Text Input
Binary Output
Byte-by-Byte Breakdown
Char Dec Binary (8-bit) Hex
How Binary & Hex Encoding Work

Binary (base 2) — Computers store all data as bits: 0 or 1. Each character is one byte — 8 bits. The letter A (decimal 65) is 01000001 in binary.

Hexadecimal (base 16) — A compact binary notation. Four bits = one hex digit (0–9, A–F), so one byte = two hex chars. A is 41 in hex.

ASCII — The most common encoding for English text. Characters 0–127 each map to one byte. Space is 32 (00100000), digits 0–9 start at 48.

Where it's used — Binary and hex appear in file headers, network packets, hash outputs, colour codes (#FF5733), memory addresses, and any time data must be inspected at the byte level.

About Binary / Text Converter

Binary / Text Converter converts between human-readable text and binary (base 2) or hexadecimal (base 16) — entirely in your browser. No data is sent to any server. The byte-by-byte table shows exactly how each character is represented at the bit level.