Number Base Converter

Generators & Utilities

Convert integer numbers across binary, octal, decimal, hexadecimal, and custom bases 2 to 36.

Allowed digits: 0-9
Allowed digits: 0-9, a-f
Allowed digits: 0, 1
Allowed digits: 0-7

Custom Radix / Base (32)

32

How to Use Number Base Converter

  1. 1Step 1

    Type a number into any base field (Binary, Octal, Decimal, Hexadecimal, or Custom).

  2. 2Step 2

    Watch all other base fields update simultaneously in real time.

  3. 3Step 3

    Use the custom radix slider or input to inspect unusual number bases (e.g. base 32).

  4. 4Step 4

    Click the Copy button next to any representation to copy it.

Technical Specification & Client Security

Conversions leverage JavaScript BigInt primitives to prevent 64-bit IEEE 754 precision clipping on large numbers. Digits are parsed and formatted using native BigInt.toString(radix) algorithms strictly on your device.

›100% Client-side execution without server round-trips
›Instant real-time output updates as you type
›One-click copy and clear buttons with verified confirmation toast
›Zero data telemetry or external network calls
›Accessible keyboard navigation and mobile-first responsive design
›Browser-native execution in local memory

Input & Output Transformation Examples

Decimal to Binary, Octal, and Hexadecimal
Input:
Decimal: 255
Output:
Binary: 11111111
Octal: 377
Hexadecimal: ff
Hexadecimal Memory Address to Decimal
Input:
Hexadecimal: 0x1000
Output:
Decimal: 4096
Binary: 1000000000000

Frequently Asked Questions

What is the maximum number size this tool can convert?

Because BigInt is used, numbers with hundreds of digits can be converted accurately without integer overflow or rounding errors.

Which custom bases can I convert between?

You can convert between any base from base 2 (binary) up to base 36 (using digits 0-9 and letters A-Z).

How does the tool handle invalid characters for a chosen base?

Entering invalid characters (like typing '8' in octal or 'G' in hexadecimal) highlights an error indicator on that specific input without breaking the other fields.

Related Developer Utilities