Convert numbers between decimal, binary, octal, and hexadecimal bases.
Each base uses that many digits. Decimal (base 10) uses 0 to 9, binary (base 2) uses 0 and 1, octal (base 8) uses 0 to 7, and hexadecimal (base 16) uses 0 to 9 then A to F for 10 to 15. Each place is worth the base times the place to its right, so binary 1010 is 8 + 2 = 10, and hex FF is 15 × 16 + 15 = 255.
Hex is popular in computing because one hex digit is exactly four binary digits: F is 1111, so FF is 11111111. Octal digits match three bits each, which is why Unix permissions like 755 are written in octal.
The converter uses arbitrary-precision integers, so very large values such as the 64-bit maximum FFFFFFFFFFFFFFFF (18,446,744,073,709,551,615) convert exactly instead of being rounded, which happens in many simpler converters. It works with whole, non-negative numbers; fractions and negative numbers in two's complement aren't handled.
Type the hex value into the Hexadecimal box and read the Decimal box. FF becomes 255.
Type the number in the Decimal box. 10 becomes 1010 in binary.
Type just the digits; letters outside A to F, including the x, are filtered out.
No, only whole numbers from zero upward.
OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.