🔢

Binary / Hex / Decimal Converter

Convert numbers between binary, decimal, hexadecimal, and octal — instantly, free, no signup.

← Back to all tools

Advertisement

Type in any field — all others update instantly.

Decimal Base 10
Binary Base 2
Hexadecimal Base 16
Octal Base 8

Advertisement

How to Convert Between Number Bases

1

Enter a number

Type in any field — decimal, binary, hex, or octal. All other fields update instantly as you type.

2

Read the converted values

All four representations appear simultaneously so you can compare number bases side by side.

3

Convert text to binary

Use the Text ↔ Binary section to convert ASCII text to its binary representation and back.

Frequently Asked Questions

How do I convert decimal to binary?

Type the decimal number in the Decimal field. The binary equivalent appears instantly in the Binary field. For example, 255 in decimal is 11111111 in binary.

What is hexadecimal used for?

Hexadecimal (base 16) is used in programming, memory addresses, color codes (#FF5733), and machine code because it compactly represents binary values — one hex digit = 4 binary bits.

What is octal used for?

Octal (base 8) is used in Unix/Linux file permissions (e.g. chmod 755) and some legacy computing systems. Each octal digit represents 3 binary bits.

What is the largest number this converter handles?

It handles JavaScript's safe integer range: up to 2^53 − 1 (9,007,199,254,740,991 in decimal). For larger numbers, use specialized big integer libraries.

Related Tools