Binary & Computer Codes
Binary, hexadecimal, ASCII, UTF-8 and Base64 — how computers turn text into numbers and back.
Translators
Binary Translator
Text ↔ 8-bit binary (UTF-8), spaces optional.
Hex to Text Converter
Hexadecimal bytes ↔ readable text (UTF-8).
ASCII Converter
Text ↔ decimal character codes, with the full 0–127 table.
Base64 Encoder & Decoder
UTF-8-safe Base64 with a URL-safe option (RFC 4648).
Printable charts
Guides
Bits and Bytes Explained
A bit is a single 0 or 1. A byte is 8 bits and holds one character. A megabyte is about one million bytes. Here is how the units stack up.
How to Convert Decimal to Binary
Divide by 2 repeatedly and read remainders bottom-up. Decimal 25 becomes 11001, decimal 100 becomes 1100100. Full step-by-step method inside.
What Is Base64 Encoding?
Base64 converts binary data to text using 64 printable characters. 'Man' encodes to 'TWFu'. It is used in email attachments, data URIs, and JWTs.
What Is UTF-8? Encoding Explained
UTF-8 encodes any Unicode character as 1 to 4 bytes. ASCII uses 1 byte; é uses 2 bytes (C3 A9); emoji use 4 bytes. It is the encoding of the modern web.
ASCII vs. Unicode: What's the Difference?
ASCII covers 128 characters for English. Unicode covers over 149,000 characters for every human writing system. UTF-8 encodes both and is the web standard.
Binary vs. Hexadecimal: What's the Difference?
Binary uses base 2 (digits 0–1); hex uses base 16 (digits 0–9 and A–F). One hex digit equals exactly 4 binary digits, making hex a compact shorthand.
How to Read Binary Numbers
Binary uses only 0 and 1. Each digit is a power of 2, so 01000001 = 65 = the letter A. Learn to decode any binary string in minutes.