Base Converter

Convert numbers between any bases (2-36)

Common Bases

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

Custom Base

Base 10255

About the Base Converter

This base converter handles any base from 2 to 36, not just the common four. Enter a value in one base and read it in all the others, with digits beyond 9 represented by letters as the convention requires.

A base converter changes how a number is written without changing its value. Base 2 uses two digits, base 16 uses sixteen, and once past base 10 the extra digits are letters — so base 36 runs 0 to 9 then A to Z, which is why it is used for compact identifiers.

The unusual bases have real uses. Base 32 encodes binary data using only unambiguous characters, which is why TOTP secrets and some file identifiers use it. Base 36 produces the shortest alphanumeric representation of a number, common in URL shorteners and short IDs.

For the everyday programming cases — binary, octal, decimal and hex — the number base converter is more direct. Use this one when a base outside that set is involved.

How to use the Base Converter

  1. Enter your value. Type the number as written in its current base.
  2. Set the input base. Choose the base the value is currently in.
  3. Choose the output base. Pick any base from 2 to 36.
  4. Copy the result. Take the converted value.

Base Converter features

  • All bases 2-36 support
  • Binary decimal hexadecimal
  • Integer and fractional numbers
  • Real-time conversion
  • Copy to clipboard
  • Programming focused
  • Mathematical accuracy
  • Negative number support
  • Custom base input
  • Professional interface
  • Copy results
  • Educational display

Frequently asked questions

What number bases are supported?

Comprehensive support for all bases 2-36: Binary (base 2), Octal (base 8), Decimal (base 10), Hexadecimal (base 16), Base 32, Base 36, and any custom base between 2-36 for maximum flexibility.

How does base conversion work?

Uses mathematical algorithms to convert numbers between different base systems. For integer conversion: repeatedly divide by target base and collect remainders. For fractional conversion: multiply by target base and extract integer parts.

What are common uses for different number bases?

Binary (base 2) for computer hardware, Octal (base 8) for legacy systems, Decimal (base 10) for human calculations, Hexadecimal (base 16) for programming and memory addresses, Base 32/36 for data encoding and compact representation.

Can I convert between any bases 2-36?

Yes! Convert between any two bases within the 2-36 range. Supports both integer and fractional numbers, negative values, and provides accurate conversions with proper digit representation using 0-9 and A-Z characters.

How accurate are the conversions?

Mathematically precise conversions for integer values. Fractional numbers may have precision limitations due to binary representation, but results are accurate to standard floating-point precision for practical applications.

Is this suitable for programming and computer science?

Absolutely! Essential for programmers, computer science students, and developers. Perfect for understanding number systems, debugging binary/hex values, data encoding, and low-level programming tasks.

What are the character representations in different bases?

Uses standard digit representation: 0-9 for values 0-9, A-Z for values 10-35. This allows representation of any base up to 36 using alphanumeric characters for clear, readable output.