BaseWhiz converts numbers between bases and shows you how the answer was worked out. It is built for computer science students, and for anyone who works with binary and hex.
CONVERT ANYTHING
• Binary, octal, decimal and hexadecimal, plus any base from 2 to 36
• Fractions and negative numbers, converted exactly
• Two's complement, one's complement and sign-magnitude in 8, 16, 32 or 64 bits
• IEEE 754 floats: half, single and double precision, and bfloat16
• Fixed point in TI-style Q notation, signed or unsigned: Q7.8, Q15.16 and more
• BCD, Gray code and Excess-3
• Text to its UTF-8 bytes, and back
SEE EVERY STEP
Tap the steps button and BaseWhiz shows the working behind the answer: the repeated divisions, the place values, the sign, exponent and mantissa of a float. It is the same method you are asked to write in an exam.
KNOW WHAT A FLOAT REALLY HOLDS
Type 0.1 and see the exact value a float stores instead: 0.100000001490116119384765625. In bfloat16 it is 0.10009765625. BaseWhiz tells you when an answer is exact and when it had to be rounded, and what range a fixed-point word can hold.
COPY IT AS CODE
Hold Copy to take the answer as a C or Python literal, as the bytes of the word in big-endian or little-endian order, or as the UTF-8 bytes of text.
BITWISE MATHS, WITH FLAGS
• AND, OR, XOR, NOT, shifts, add and subtract in an 8, 16, 32 or 64-bit word
• Carry, overflow, zero and negative flags after every sum
• The answer as both unsigned and signed
• Exact add, subtract, multiply, divide and remainder in any of the four common bases
A BITBOARD YOU CAN TOUCH
Flip single bits and watch the value change in decimal, hex, octal and signed. Read its bytes in both orders. Shift, rotate, invert or swap the bytes of a word up to 64 bits.
PRACTICE UNTIL IT CLICKS
Rounds of ten questions on bases, signed numbers, floats and bitwise sums, and a new question of the day. Every question comes with its steps, and your streak keeps count.
ON YOUR HOME SCREEN
• A widget with the question of the day and the days you have answered it right in a row
• A widget with your last conversion in decimal, hex, octal and binary
• Launcher shortcuts straight to Convert, Calculate, Practice or a paste
MADE FOR TABLETS AND KEYBOARDS
• Two panes on a tablet, with the steps or the bits beside the answer
• Keys beside the value when your phone is on its side
• Type on a hardware keyboard, with shortcuts to move between tools, copy, paste and swap
MADE FOR FAST WORK
• A keypad that changes with the base, so you can only type valid digits
• A live bit strip under the number you type
• Paste 0xFF, 0b1010 or a whole sum like 0xFF + 0b1010
• Select a number in another app and choose "Convert in BaseWhiz"
• History you can search and pin
• Dark and light themes
PRIVATE AND SIMPLE
No ads, no account and no internet permission. Your history stays on your phone.
Binary, hex, octal and any base, with every step shown. Practice for exams.