User Rating 0.0
Total Usage 0 times
Is this tool helpful?

Your feedback helps us improve.

About

This Number Base Converter is a high-precision tool designed to translate integers between different counting systems (radices). Unlike standard calculators that fail with large numbers due to floating-point errors, this tool uses BigInt arithmetic, allowing for arbitrary precision. This means you can convert numbers with hundreds of digits without losing accuracy.

It supports standard bases like Binary (Base 2), Octal (Base 8), and Hexadecimal (Base 16), as well as modern encoding standards like Base58 (used in Bitcoin) and Base64. Additionally, the "Custom" mode allows you to define your own set of symbols, making it useful for cryptography puzzles or esoteric programming languages.

radix converter binary to hex base conversion bigint calculator custom base

Formulas

To convert a number string S from Base b to Decimal (Base 10), we sum the value of each digit d multiplied by the base raised to the power of its position p (starting from 0 on the right):

Value = n-1i=0 di × bi

To convert a Decimal Value V to a Target Base t, we repeatedly apply the modulo operator to find the remainder (which becomes the digit) and divide the integer:

digit = V mod tVnew = floor(Vt)

Reference Data

Base NameRadix rAlphabet / SymbolsExample (Value 255)
Binary20, 111111111
Octal80-7377
Decimal100-9255
Hexadecimal160-9, A-FFF
Base3232A-Z, 2-7HY
Base58 (Bitcoin)581-9, A-Z, a-z (no 0, O, I, l)5Q
Base64 (URL)64A-Z, a-z, 0-9, -, _3_

Frequently Asked Questions

There is no fixed limit. This tool uses JavaScript BigInt, meaning it is limited only by your browser's available memory. You can convert numbers with thousands of digits.
No. This tool is strictly for integers (whole numbers). Floating-point conversion between arbitrary bases often leads to precision loss (e.g., 0.1 in decimal is an infinite repeating fraction in binary). To ensure 100% accuracy, we focus on integer conversion.
When you select "Custom", you provide a unique string of characters. The length of that string becomes the Base (Radix). The first character represents 0, the second represents 1, and so on. This allows for conversions into alien languages or secret codes.
This tool treats Base64 as a positional numeral system (Radix 64), not as a byte-encoding scheme for files. For example, the input "Hi" is treated as a mathematical number (Digits "H" and 'i'), not as the ASCII string "Hi".