Number Base Converter

Convert between binary, octal, decimal, and hexadecimal.

BinaryOctalDecimalHex
Binary11111111
Octal377
Decimal255
HexFF

Click any row to copy that single result.

Ad slot (below results · replace with network code)

About Number Bases

A number base (or radix) is how many distinct digits a system uses. Choose the base of your input value and the converter shows the binary, octal, decimal, and hexadecimal equivalents at once — click any row to copy a single result.

Common Bases

BaseNameDigitsExample (decimal 255)
2Binary0–111111111
8Octal0–7377
10Decimal0–9255
16Hexadecimal0–9, A–FFF

Conversion is limited to whole numbers within JavaScript’s safe integer range (about 9 × 10¹⁵).

Frequently Asked Questions

How do I convert decimal to binary?
Set the input base to Decimal and type your number — the binary, octal, and hexadecimal results appear instantly below.
What is hexadecimal?
Hexadecimal (base 16) counts using the digits 0–9 and the letters A–F, where A=10 through F=15. It is widely used in programming, colour codes and memory addresses.
How big a number can I convert?
Conversion works on whole numbers up to JavaScript’s safe integer limit (about 9 × 10¹⁵, or 2⁵³ − 1). Larger values may lose precision.
Does it handle negative numbers or fractions?
This tool converts non-negative whole numbers only. Decimal fractions and negative signs are not supported.

📅 Last updated: June 2026 · Formulas follow standard banking / tax conventions · Results are for reference only.