Skip to content
Quasar Tools Logo

Base Conversion Table

Generate custom, interactive number base reference charts instantly. Choose custom start values, end values, and increment steps to build a table of decimal numbers mapped to their binary, octal, hexadecimal, and ASCII character equivalents. Apply filters, highlight mathematical properties, download data as CSV/JSON, or copy as Markdown tables. Fits standard CS coursework and programming needs.

Base Conversion Table Generator

Analyze number mappings dynamically. Configure your starting value, ending range, padding parameters, and active column properties below.

Quick Mini-Base ConverterType in any field to convert instantly
Range Configuration
Visible Columns
Properties Highlights
Decimal (10)Binary (2)Octal (8)Hexadecimal (16)ASCII CharRoman Num
00000000000Control char-
10000000111Control charI
20000001022Control charII
30000001133Control charIII
40000010044Control charIV
50000010155Control charV
60000011066Control charVI
70000011177Control charVII
800001000108Control charVIII
900001001119Control charIX
100000101012AControl charX
110000101113BControl charXI
120000110014CControl charXII
130000110115DControl charXIII
140000111016EControl charXIV
150000111117FControl charXV
16000100002010Control charXVI
17000100012111Control charXVII
18000100102212Control charXVIII
19000100112313Control charXIX
20000101002414Control charXX
21000101012515Control charXXI
22000101102616Control charXXII
23000101112717Control charXXIII
24000110003018Control charXXIV
25000110013119Control charXXV
2600011010321AControl charXXVI
2700011011331BControl charXXVII
2800011100341CControl charXXVIII
2900011101351DControl charXXIX
3000011110361EControl charXXX
3100011111371FControl charXXXI
32001000004020 XXXII
33001000014121!XXXIII
34001000104222"XXXIV
35001000114323#XXXV
36001001004424$XXXVI
37001001014525%XXXVII
38001001104626&XXXVIII
39001001114727'XXXIX
40001010005028(XL
41001010015129)XLI
4200101010522A*XLII
4300101011532B+XLIII
4400101100542C,XLIV
4500101101552D-XLV
4600101110562E.XLVI
4700101111572F/XLVII
480011000060300XLVIII
490011000161311XLIX
500011001062322L
510011001163333LI
520011010064344LII
530011010165355LIII
540011011066366LIV
550011011167377LV
560011100070388LVI
570011100171399LVII
5800111010723A:LVIII
5900111011733B;LIX
6000111100743C<LX
6100111101753D=LXI
6200111110763E>LXII
6300111111773F?LXIII
640100000010040@LXIV

Key Features of the Base Conversion Table

Custom Ranges & Step Increments

Generate base mapping lists from any start integer to an end value with custom steps (e.g. counting by 5s, 10s, etc.). Supports table outputs up to 10,000 rows.

Visual Property Highlighting

Instantly identify mathematical properties in the table grid. Highlight prime numbers, even numbers, odd numbers, or perfect squares with custom color markers.

Markdown & Data Exporting

Download your customized base reference sheet as a CSV or JSON file. Copy rows directly as a Markdown-formatted table, ready for markdown documentation.

Multi-Column Search Filters

Find values instantly. The search filter scans across decimal, binary, octal, and hexadecimal values to match sub-strings in real-time.

Common Use Cases for Base Conversion Table

Computer Science Education

A perfect study aid for students learning binary representation, hex configurations, two's complement, and number base conversions.

Firmware & Embedded Systems

Cross-reference register settings, pin configurations, and byte flags between binary bitfields and hex values while debugging microcontrollers.

Network Subnetting & IPs

Map IP addresses and network masks to binary octets, facilitating understanding of CIDR blocks, subnetting, and bitwise logic.

Digital Electronics Engineering

Validate logic gate transitions, encoder/decoder values, and truth tables by checking consecutive binary counters side-by-side.

Cheat Sheet Printing

Generate a tailored range (e.g. 0 to 255) and print a clean, paper-friendly sheet to use as an offline programmer's reference card.

Technical Documentation

Quickly copy a formatted Markdown grid of specific ranges and paste it directly into design documentation, code files, or wiki pages.

Understanding Number Bases & Conversions

What is a Number Base (Radix)?

A number base (or radix) is the number of unique digits, including zero, that a positional numeral system uses to represent numbers. In standard decimal (base 10), we count using 10 symbols (0–9). In computers, hardware is built on binary transistors which have only two states, representing base 2 (0 and 1). To write binary compactly, computer scientists use octal (base 8) and hexadecimal (base 16).

How Base Conversion Works mathematically

Any number in base b can be represented using positional weights. The position of each digit corresponds to a power of the base b.

Example: Converting Hexadecimal A416 to Decimal:

  • Assign values: In hex, A = 10, and the positions are weighted by powers of 16.
  • Equation: A416 = (10 × 161) + (4 × 160)
  • Substitution: (10 × 16) + (4 × 1) = 160 + 4 = 16410

Example: Converting Decimal 13 to Binary (Base 2):

We divide by 2 repeatedly and record the remainders (read from bottom to top):

  • 13 ÷ 2 = 6, remainder 1 (Least Significant Bit)
  • 6 ÷ 2 = 3, remainder 0
  • 3 ÷ 2 = 1, remainder 1
  • 1 ÷ 2 = 0, remainder 1 (Most Significant Bit)
  • Result: 1310 = 11012

Base Conversion Quick Cheat Sheet

When working with microprocessors or network configurations, the following mappings are standard:

Decimal (Base 10)Binary (Base 2)Octal (Base 8)Hexadecimal (Base 16)
0000000
5010155
91001119
10101012A
15111117F
160001 00002010
310001 1111371F
2551111 1111377FF

Frequently Asked Questions About Base Conversion

These are positional numeral systems with different bases. Binary is base 2 (digits 0–1), octal is base 8 (digits 0–7), decimal is base 10 (digits 0–9), and hexadecimal is base 16 (digits 0–9 and letters A–F representing 10–15). Each system is useful in computing because of how computers structure memory using bits (binary), bytes (8-bit groups), and hex (representing 4 bits per character).

Binary numbers are very long and hard for humans to read. Since 8 (octal base) and 16 (hex base) are powers of 2 (2³ and 2⁴), they are directly compatible with binary. One hex digit represents exactly 4 binary bits (a nibble), and two hex digits represent an 8-bit byte. This makes hex and octal a compact, easily readable shorthand for binary memory states.

Bit padding prepends leading zeros to binary numbers to ensure they fit standard hardware register sizes. For example, without padding, decimal 5 is "101". With 8-bit padding, it is formatted as "00000101", making it clear how the number is stored in a standard byte of memory.

To prevent the browser from freezing when generating large lists, we limit the maximum rows in a single table to 10,000. You can set the start and end values to anything up to 1,000,000, but the difference between them (divided by the step size) should not exceed 10,000. For single-value lookups, there is no limit in the mini-converter.

ASCII values from 0 to 31, and value 127, represent control characters (like line break, tab, or backspace) that do not have a visual representation. The table will mark these as "Control character" or "Non-printable". Printable characters begin at decimal 32 (space) and end at decimal 126 (tilde ~).

Inside the table configuration options, there is a "Hex Letter Case" selector. You can switch between "Uppercase" (e.g. 1F, A4) and "Lowercase" (e.g. 1f, a4) to match your code styling guidelines.