हिं हिन्दी

    Number base converter

    Binary, octal, decimal, hex and any base 2–36.

    Converted on your device. Works with numbers of any length.

    0 to 16 in every base

    DecimalBinaryOctalHex
    0000
    1111
    21022
    31133
    410044
    510155
    611066
    711177
    81000108
    91001119
    10101012A
    11101113B
    12110014C
    13110115D
    14111016E
    15111117F
    16100002010

    About this tool

    This converter changes whole numbers between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16) and any base from 2 to 36. Type in any box and the others update; numbers of any length stay exact because it uses BigInt arithmetic.

    At a glance

    What it does
    Binary, octal, decimal, hex and any base 2–36.
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    What you type never leaves your device.

    How to convert between number bases

    1. Type the number in the box for its base, for example FF in Hexadecimal.
    2. Read the value in every other base.
    3. Use "Other base" for bases like 3, 12 or 36.

    Private

    Your text stays in your browser and is never sent to a server.

    Instant

    Results update as you type, with nothing to install.

    Free

    No sign-up, no limits and no ads inside your writing space.

    Frequently asked questions

    How do I convert binary to decimal by hand?

    Multiply each digit by a power of 2, starting from the right, and add. 1011 = 1×8 + 0×4 + 1×2 + 1×1 = 11.

    Why is hexadecimal used in computing?

    Because one hex digit is exactly 4 bits, so a byte is always two hex digits (00 to FF). That is why colour codes like #FF8800 and memory addresses use hex.

    Can I paste 0x or 0b prefixes?

    Yes. 0x (hex), 0o (octal) and 0b (binary) prefixes are understood, and spaces or underscores between digit groups are ignored.

    Are negative numbers and fractions supported?

    Negative whole numbers are, with a minus sign (−101 in binary is −5). Fractions and two’s complement form are not.