Security
Hex / Binary Encoder
🔒 Runs entirely in your browser. Nothing is sent anywhere.
Convert between text, hex, binary, and decimal. All formats shown together.
How It Works
Hexadecimal (Base-16)
Hex uses digits 0–9 and letters A–F. Each byte is two hex characters (00–FF). Common in color codes (#FF5733), memory addresses, and cryptographic hashes.
Binary (Base-2)
Binary uses only 0 and 1. Each character is one bit, and 8 bits make one byte. This tool groups binary output into 8-bit chunks for readability.
Decimal Byte Values
Each byte represented as a decimal number (0–255). Useful for understanding ASCII character codes — the letter "A" is byte 65, "a" is 97.
UTF-8 & Multi-byte Chars
Text is encoded as UTF-8 bytes. ASCII characters (English letters) use 1 byte each. Accented, emoji, and CJK characters use 2–4 bytes, which is why their hex/binary output is longer.
Common Uses
Debugging binary protocols, inspecting file headers, working with color codes, understanding ASCII tables, and learning how computers represent text.
Privacy: all conversions happen locally in your browser. Nothing is sent to any server.