No Signup Required

Number Base Converter

Convert between binary, octal, decimal and hexadecimal — type in any box and the others update.

  • Runs in your browser — nothing uploaded
  • Instant, no waiting in a queue
  • Free, no watermark, no daily limits

Enter a number in binary, octal, decimal or hexadecimal and see it in every other base immediately. Common prefixes like 0x, 0b and 0o are accepted, as are spaces and underscores used as separators. Numbers are handled as arbitrary-precision integers, so values far beyond 64 bits convert exactly. A custom field converts to and from any base between 2 and 36, and the binary view is grouped in nibbles for easy reading.

How to Convert Between Number Bases

  1. 1

    Type a number

    Enter it in the box for the base you have — for example 255 in Decimal or FF in Hexadecimal.

  2. 2

    Read the other bases

    Binary, octal, decimal and hex update instantly, with the bit length shown in the Custom base panel.

  3. 3

    Use a custom base

    Set any base from 2 to 36 in the custom field, then copy the value you need.

Why use ToolzBank Number Base Converter?

  • Binary, octal, decimal and hexadecimal
  • Any custom base from 2 to 36
  • Exact conversion of very large integers
  • Negative numbers supported
  • Accepts 0x, 0b, 0o prefixes and separators
  • Bit length and byte count

Frequently asked questions

How do I convert binary to decimal?
Multiply each binary digit by 2 raised to its position (counting from 0 on the right) and add the results — 1011 is 8 + 0 + 2 + 1 = 11. Typing 1011 in the Binary box shows 11 in Decimal instantly.
How do I convert decimal to hexadecimal?
Repeatedly divide by 16 and write the remainders from last to first, using A–F for 10–15 — 255 becomes FF. Type the decimal number and read the Hexadecimal box.
Does it work with very large numbers?
Yes. Conversions use arbitrary-precision integers, so even numbers with hundreds of digits convert exactly without rounding.
Can it convert fractions or decimals?
No. It converts whole numbers (integers) only, including negative ones.
Is it free?
Yes. It is completely free, with no signup, no watermark and no usage limit.

More free developer tools