Skip to content

Number Base Converter

Convert numbers between binary, octal, decimal, hex and base 36.

Binary (2)
11111111
Octal (8)
377
Decimal (10)
255
Hexadecimal (16)
FF
Base 32
7V
Base 36
73

About the Number Base Converter

Enter a value in any supported base and see it in every other base simultaneously — useful for bit masks, colour values, permissions, file formats and low-level debugging.

Conversion uses the browser's native integer parsing, so results match what your code will produce.

How to use the Number Base Converter

  1. Type the number you have.
  2. Select the base that number is written in.
  3. Read the equivalent values in all other bases.
  4. Copy the representation you need.

Examples

InputResult
255 (decimal)FF hex, 11111111 binary
1010 (binary)10 decimal, A hex
0755 (octal)493 decimal

Frequently asked questions

Are negative or fractional numbers supported?

The converter works with whole numbers. Fractions and negative values are outside its scope.

Is my data sent to a server?

No. This tool runs entirely in your browser using JavaScript. Nothing you enter is uploaded, logged or stored by AHRATOOLS.

Is the tool free to use?

Yes. Every AHRATOOLS tool is free, requires no account and has no usage limits.