ASCII, Binary, Hexadecimal & Base64 Explained (With Quick Conversion Chart)

ASCII, Binary, Hexadecimal & Base64 Explained (With Quick Conversion Chart)

Understand how computers represent text and numbers across Base-2 (Binary), Base-8 (Octal), Base-10 (Decimal), Base-16 (Hex), and Base64.



Computers store every character, color, and file as binary bits (0 and 1). To make binary data human-readable or safe to transmit across text-based protocols like HTTP and email, developers convert between Decimal (Base-10), Binary (Base-2), Octal (Base-8), Hexadecimal (Base-16), ASCII, and Base64.

Quick Conversion Reference Table (0 to 15 & Common ASCII Characters)

Decimal (Base-10)Binary (4-Bit / 8-Bit)Octal (Base-8)Hexadecimal (Base-16)ASCII Example
0000000x0NUL
81000100x8BS
101010120xALF (\n)
151111170xFSI
65010000011010x41Uppercase A
97011000011410x61Lowercase a

All Free Number Base & Text Encoding Converters

Frequently asked questions

Why is hexadecimal used instead of binary in programming?

Each hexadecimal digit (0–9, A–F) represents exactly 4 binary bits (a nibble), and two hex digits represent 1 full byte (8 bits). That makes hex 4 times shorter and much easier for humans to read than raw binary strings.

Is Base64 encoding a form of encryption?

No. Base64 is a public encoding scheme that turns binary bytes into 64 safe ASCII characters—anyone can decode a Base64 string instantly using a Base64 Decoder. Never use Base64 alone to hide sensitive passwords or keys.

Cookie
We care about your data and would love to use cookies to improve your experience.