Free · runs in your browser · no upload · no quota

Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal — or any base from 2 to 36. Put one number per line to convert a list, and numbers of any size are exact, not rounded.

How to Convert Between Binary, Decimal and Hex

  1. Enter the numbers
    Type or paste one number per line. Prefixes such as 0x, 0b and 0o are understood when the input base is set to Detect.
  2. Choose the bases
    Pick the base of your numbers and the base you want, or All to see binary, octal, decimal and hex side by side.
  3. Copy the result
    Each line of the result matches a line of your input. Copy it or download it as a .txt file.

Example

Number
255
0x1F4
0b101010
Other base
255 → bin 11111111 · oct 377 · dec 255 · hex FF

Frequently Asked Questions

More browser tools