Hexadecimal Conversion Chart (0–255)
Complete, searchable 1-byte lookup table mapping every integer from 0 to 255 to its hexadecimal, 8-bit binary, octal, and standard ASCII character equivalents.
How to Read and Apply This 1-Byte Reference Table
In computer architecture, an 8-bit byte is the fundamental unit of memory storage. An 8-bit byte possesses 2⁸ = 256 possible permutations, which maps cleanly to:
- Decimal (Base 10): 0 to 255
- Hexadecimal (Base 16): 0x00 to 0xFF (two hex digits)
- Binary (Base 2): 00000000 to 11111111 (two 4-bit nibbles)
- Octal (Base 8): 000 to 377
- ASCII: Control characters (0–31), standard printable symbols (32–126), and DEL (127)
Common technical applications of this table include:
- CSS Color Values: Converting decimal color intensity (0–255) to 2-digit hex values. E.g., red intensity 128 =
0x80. - Network Packet Debugging: Translating raw byte payloads from Wireshark or tcpdump into ASCII characters.
- Microcontroller Programming: Setting 8-bit registers, timer prescalers, and UART baud rate generators.
Frequently Asked Questions
Direct answers to technical and practical questions regarding this tool and base-16 conversion.
Why does this chart cover numbers 0 through 255 specifically?
Because exactly 256 unique numbers (0 through 255) can be represented by a single 8-bit computer byte (2⁸ = 256). In hexadecimal, this spans from 0x00 to 0xFF. Almost all modern computing architectures structure memory, network packets, and web colors around 8-bit bytes.
What is the ASCII equivalent of hex 0x20?
Hexadecimal 0x20 equals decimal 32, which is the ASCII space character. In web URLs, it is commonly seen in percent-encoded format as "%20".
Can I export or print this chart for offline classroom or workshop use?
Yes! Click "Download CSV" above to save the complete 256-row dataset to spreadsheet format, or click "Print Chart" to produce a clean, printer-optimized reference cheat sheet.
How do I convert numbers higher than 255?
For numbers exceeding 255 (which require two or more bytes), use our free Hex to Decimal Converter or Decimal to Hex Converter tools. For example, decimal 256 is 0x0100 (9 bits), and decimal 65535 is 0xFFFF (16 bits).
Related Conversion Tools & Resources
Explore companion converters, bitwise arithmetic calculators, and reference charts.
Hex to Decimal Converter
Convert hexadecimal to decimal instantly with digit-by-digit positional steps. Supports 0x prefixes, signed two's complement, and BigInt precision.
Decimal to Hex Converter
Convert decimal integers to hexadecimal with repeated division tables. Handles negative numbers via two's complement and BigInt exact values.
Hex to Binary Converter
Convert hexadecimal digits into 4-bit binary nibbles. Features visual nibble breakdown, customizable grouping, and leading zero toggles.
Standard ASCII Table & Character Reference
Complete ASCII character chart with 7-bit values, hexadecimal codes, decimal values, binary representations, and control character descriptions.
Sources & Technical References
- [1]ANSI INCITS 4-1986 (R2012): Information Systems - Coded Character Sets - 7-Bit ASCII — American National Standards Institute (ANSI)
Foundational standard establishing 7-bit character codes (0–127) within the 8-bit byte space.
Technical Verification & Editorial Accountability
Written by Sarah Chen (Embedded Systems Engineer) • Verified by Marcus Brody, PE