Number Base Converter
Base converter (Decimal ↔ Binary ↔ Hex ↔ Octal), large number breakdown (Thousand, Lakh, Million, Crore, Billion, Trillion…) and number-to-words.
| Decimal | Binary | Hexadecimal | Octal |
|---|
Frequently Asked Questions
Is this number converter free?
Yes, completely free with no signup required.
What bases are supported?
Decimal (base 10), binary (base 2), hexadecimal (base 16), and octal (base 8), plus a large number calculator.
How does the live conversion work?
Type a number in any field and all other base representations update instantly without clicking a button.
How do I convert decimal to binary?
Enter your decimal number in the Decimal field and the Binary field updates instantly. For example, 255 in decimal is 11111111 in binary.
How do I convert binary to decimal?
Type your binary number (only 0s and 1s) in the Binary field. The Decimal field will show its decimal equivalent. For example, 1010 in binary is 10 in decimal.
How do I convert decimal to hexadecimal?
Enter your decimal number in the Decimal field and the Hex field updates immediately. For example, 255 in decimal is FF in hex.
What is hexadecimal used for?
Hexadecimal is used in programming for memory addresses, color codes (#FF5733), byte-level data, and reading binary output in a compact form. Each hex digit represents exactly 4 binary bits.
What is octal notation?
Octal is base 8, using digits 0-7. It was historically used in Unix file permissions (e.g. chmod 755) and some older systems. Each octal digit represents exactly 3 binary bits.
How do I read a hex color code?
A hex color like #FF8800 is three hex pairs: FF = red (255), 88 = green (136), 00 = blue (0). Enter each pair as a decimal to convert: FF → 255, 88 → 136, 00 → 0.
What are the common number bases in programming?
Binary (base 2) for bitwise operations, octal (base 8) for Unix permissions, decimal (base 10) for general arithmetic, and hexadecimal (base 16) for memory addresses and color codes.