Arbitrary Radix / Number Base Converter
Local ProcessingConvert numbers between any base from binary (base 2) up to base 36 with full arbitrary-precision support.
How It Works & Processing Standards
Convert numbers between any base from binary (base 2) up to base 36 with full arbitrary-precision support.
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Current Limits
- Maximum input length: 100,000 characters
Pick a common base pair under "Task", or set input and output bases yourself. Even very large numbers convert exactly.
What You Can Do
- Any base (2–36)
- Set input and output bases as numbers. Base 36 uses 0–9 and a–z.
- Decimal ↔ binary, octal, hex
- Converts in either direction based on what you enter.
- Binary, octal and hex directly
- Converts without going through decimal.
How to Use Arbitrary Radix / Number Base Converter
- 1Choose a taskA base pair or any base.
- 2Enter a valueDigits only, without prefixes like 0x or 0b.
- 3CopyCopy the result.
Examples
Hex ff to binary
Input: ff (16 → 2)
Result: 11111111
255 to hex
Input: 255
Result: ff
Binary to decimal
Input: 101101
Result: 45
Common Use Cases
- Reading hex color codes or memory addresses in decimal
- Checking a bit mask in binary
- Solving number base problems in class
Frequently Asked Questions (FAQ)
Negative numbers or fractions?
This converts integers; fractional digits are not supported.
The result is lower case.
Hex a–f mean the same in either case. Use the Case Converter if you need upper case.
