FAK LAB Number Base
🔢

Number Base Converter

Convert numbers between any base from 2 to 36

Conversions
Custom Base Converter

How to Use the Number Base Converter

  1. Enter Number: Type the number you want to convert in the INPUT NUMBER field. Use digits 0-9 and letters A-Z for bases above 10 (e.g., "FF" for hexadecimal 255).
  2. Select Source Base: Choose the base your input number is in — Binary (2), Octal (8), Decimal (10), Hexadecimal (16), Base 32, or Base 36.
  3. Convert All: Click "Convert All Bases" to see your number simultaneously displayed in 10 different numeral systems. Click any result card to copy that value.
  4. Custom Conversion: Use the Custom Base Converter section to convert between any two specific bases (2-36) by entering the number, source base, and target base, then clicking "Convert".

Technical Overview & Use Cases

This converter uses JavaScript's built-in parseInt() for base-to-decimal conversion and Number.toString(radix) for decimal-to-target-base output. It supports all radix values from 2 (binary) through 36 (using 0-9 and A-Z as digit symbols). The tool handles integers up to JavaScript's safe integer limit (2^53 - 1 = 9,007,199,254,740,991). Results are displayed in uppercase for consistent readability across hexadecimal and higher-base representations. The multi-base output shows conversions in Binary, Ternary, Quaternary, Octal, Decimal, Duodecimal, Hexadecimal, Vigesimal, Base-32, and Base-36 simultaneously.

Real-world use cases:

Privacy & Security Guarantee

This tool is part of the FAK LAB ecosystem, founded by Faizan Ahmad Khan Khichi. All number base conversions are computed 100% client-side using native JavaScript arithmetic operations. No numbers, calculations, or conversion results are transmitted to any server. Your data remains entirely within your browser's memory and is never logged or stored externally.

Frequently Asked Questions

What is the maximum number this tool can convert?

The converter handles integers up to JavaScript's Number.MAX_SAFE_INTEGER (2^53 - 1 = 9,007,199,254,740,991). For numbers beyond this limit, precision may be lost due to floating-point representation. For cryptographic or arbitrary-precision number conversions, specialized BigInt-based tools are recommended.

Why does hexadecimal use letters A-F?

Hexadecimal (base-16) requires 16 unique digit symbols. Since decimal only provides 0-9 (ten symbols), the letters A-F represent values 10-15 respectively. This convention was standardized by IBM in the 1960s and is universally used in computing for memory addresses, color codes, and binary data representation. Bases above 16 continue using G-Z for values 16-35.

How do I convert fractional (decimal point) numbers?

This tool currently handles integer conversions. Fractional base conversion requires repeated multiplication/division algorithms that differ from integer conversion. For floating-point binary representations (IEEE 754), specialized tools that handle mantissa and exponent fields separately are more appropriate.