Number Base Converter

Convert between decimal, hex, binary, and octal — all at once.

How it works
All positional number systems work on the same principle: each digit is multiplied by its base raised to its position. Decimal uses digits 0–9 (base 10), hexadecimal adds A–F (base 16), binary uses only 0–1 (base 2), octal uses 0–7 (base 8). The ASCII character next to the decimal value is a quick reference for codepoint lookups.

FAQ

How do I convert decimal to hexadecimal?
Enter your decimal number and select Dec as the base. The hex, binary, and octal equivalents appear instantly. For example, 255 decimal = FF hex = 11111111 binary = 377 octal.
What does the ASCII column show?
For values between 32 and 126, the tool shows the corresponding printable ASCII character. For example, 65 decimal = 0x41 = the letter A.