Skip to content
CoolTools24

Number base converter

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

Runs in your browser – your files are not uploaded

How to use Number base converter

  1. 1

    Type the number into the field for the base it is written in.

  2. 2

    Read the result in all other bases, or choose a custom base.

  3. 3

    Turn on digit grouping or uppercase if needed and copy the value.

About Number base converter

Type a number into any field and all other bases update instantly: binary, octal, decimal, hexadecimal, base 36 and a custom base of your choice between 2 and 36. Prefixes such as 0x, 0b and 0o as well as spaces and underscores are accepted.

Because the tool calculates with big integers, even very long numbers are converted exactly, without the rounding errors of normal floating-point numbers. Optional digit grouping and uppercase letters make long binary and hex values easier to read.

Frequently asked questions

Can I convert fractions like 0.5?

No. Only whole numbers (including negative ones) are supported. Digits after a decimal point are rejected as invalid.

How are negative numbers shown?

With a minus sign in every base, not as two's complement. For a signed byte or word representation you need to calculate the complement separately.

What digits does base 36 use?

The digits 0–9 followed by the letters a–z, so z stands for 35. Letters are not case-sensitive in the input.