Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    Number Base Converter (Binary, Decimal, Hex)

    Type a number in one base and see it in binary, octal, decimal, hexadecimal and base 36 at the same time.

    Features

    • Binary, octal, decimal, hexadecimal and base 36
    • Exact results for very large numbers
    • Understands 0x, 0b and 0o prefixes
    • Runs on your device

    How to use Number Base Converter

    1. Enter the number.
    2. Choose the base it is written in.
    3. Copy the result in the base you need.

    Frequently asked questions

    How do I convert binary to decimal?

    Choose binary as the base and type the number. 1010 in binary is 10 in decimal. Each position is a power of two, starting from the right.

    How do I convert decimal to binary?

    Choose decimal as the base, type the number and read the binary line. 45 in decimal is 101101 in binary.

    How do I convert hex to decimal, or binary to hex?

    Choose hexadecimal and read the decimal line: 2F in hex is 47 in decimal. For binary to hex, split the binary into groups of four digits and replace each group with one hex digit: 1101 0110 is D6.

    What is hexadecimal?

    Base 16, which uses the digits 0 to 9 and the letters A to F. It is common for colors and memory addresses, because two hex digits describe exactly one byte.

    Can it handle very large numbers?

    Yes. The tool uses exact whole number arithmetic, so there is no rounding, however long the number is.

    Are decimals and fractions supported?

    No, only whole numbers, which can be negative.

    Guides

    Related tools