convertCASEpro

MODE

Number Base Converter

Enter a number in any base and see it in all the common ones.

INPUT
CHARS: 0WORDS: 0LINES: 0
OUTPUT
CHARS: 0WORDS: 0LINES: 0

How the Number Base Converter works

Numbers are parsed with arbitrary precision integers, so there is no rounding even for values far beyond what a normal number type can hold. Prefixes 0x, 0b and 0o select the base automatically; otherwise the base setting is used, from 2 up to 36. Negative numbers and underscores as digit separators are accepted.

Each line is converted separately and the result shows binary, octal, decimal, hexadecimal and base 36 forms, with a clear message if a digit is not valid in the chosen base.

When it is useful

  • •Reading memory addresses, bit masks and color values.
  • •Checking homework in computer science courses.
  • •Converting IDs that use base 36 or base 62 style encodings.
  • •Working with file permissions in octal.

Frequently Asked Questions

How do I convert a hex number like FF?

Type 0xFF, or type FF and set the base to 16.

Is there a size limit?

No fixed limit. The numbers are exact, so even 100 digit values work.

Does it handle fractions?

No, only integers. Fractional bases need a different approach.

Related tools

[ Browse all tools ]