Toolonit
  1. Home
  2. Math
  3. Number Base Converter

Number Base Converter

Convert whole numbers of any size between binary, octal, decimal, hex and any base up to 36.

Written in
BIN (2)
11111111
OCT (8)
377
DEC (10)
255
HEX (16)
FF
Other base (36)
73

Type a whole number in binary, octal, decimal or hex and see it in all four at once, plus any base from 2 to 36. Numbers of any size are converted exactly, up to 20,000 digits, and Add spaces groups the digits so long values are easy to read and compare. It all runs in your browser, so what you type never leaves your device; it's free and needs no sign-up.

How to convert between number bases

  1. Type the number and choose the base it is written in (a 0x, 0b or 0o prefix sets it for you).
  2. Read it in binary, octal, decimal, hex and the other base you pick, and copy the one you need.

Features

  • Whole numbers of any size, negative ones too
  • Any base from 2 to 36, with digit grouping

Is it private?

Yes. The conversion runs in your browser; nothing you type is uploaded or stored.

Frequently asked questions

How do I convert hex to decimal?

Choose HEX (or start the number with 0x) and type it: the decimal value appears on the DEC line. Letters can be upper or lower case.

Can it convert fractions?

No, whole numbers only. For calculations with fractions and results in hex or binary, use the Big Number Calculator.

Related tools