What is Integer Base Converter?
Integer Base Converter — An Integer Base Converter is a free tool that converts numbers between binary, octal, decimal, hexadecimal, and any numeral base from 2 to 64.
Loading your tools...
Convert integers between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any numeral base from 2 to 64. Auto-detects 0x, 0b, and 0o prefixes, displays step-by-step conversion logic, handles negative numbers, and uses BigInt for arbitrary-precision large number support.
Integer Base Converter: Enter a number and select the source base to instantly see conversions across all common bases (binary, octal, decimal, hex). Supports custom bases up to 64, auto-detects 0x/0b/0o prefixes, and handles negative numbers.
Loading Tool...
Integer Base Converter — An Integer Base Converter is a free tool that converts numbers between binary, octal, decimal, hexadecimal, and any numeral base from 2 to 64.
Enter your number—use 0x2a for hex, 0b101010 for binary, or 42 for decimal. Prefixes auto-detect the base.
Choose input base (2–64) or let the tool detect it. Quick presets for binary, octal, decimal, hex.
View conversions for all bases at once: binary, octal, decimal, hex, base 36, base 64, and custom.
Enable hex uppercase, output prefixes, or digit grouping in Settings as needed.
Copy any result or export all conversions. Handles large numbers with BigInt precision.
Hex color codes, memory addresses, bit masks—convert between formats instantly.
Debugging: translate binary/hex from logs or debuggers to readable decimal.
Computer science: verify base conversion for coursework and exams.
Unix chmod: convert octal (755) to binary for file permissions.
Web dev: CSS colors, port numbers, API IDs across bases.
An integer base converter transforms numbers between different numeral systems (bases). Common conversions include binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). This tool supports bases 2 through 64—more than most online calculators. Programmers use it for memory addresses, color codes, and file permissions. The base conversion formula: to decimal, multiply each digit by base^position; from decimal, divide by target base and collect remainders.
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 0 | 0 | 0 | 0x0 |
| 1 | 1 | 1 | 0x1 |
| 2 | 10 | 2 | 0x2 |
| 3 | 11 | 3 | 0x3 |
| 4 | 100 | 4 | 0x4 |
| 5 | 101 | 5 | 0x5 |
| 8 | 1000 | 10 | 0x8 |
| 10 | 1010 | 12 | 0xa |
| 15 | 1111 | 17 | 0xf |
| 16 | 10000 | 20 | 0x10 |
| 20 | 10100 | 24 | 0x14 |
| 42 | 101010 | 52 | 0x2a |
| 50 | 110010 | 62 | 0x32 |
| 100 | 1100100 | 144 | 0x64 |
| 255 | 11111111 | 377 | 0xff |
| 256 | 100000000 | 400 | 0x100 |
| 512 | 1000000000 | 1000 | 0x200 |
| 1000 | 1111101000 | 1750 | 0x3e8 |
| 1024 | 10000000000 | 2000 | 0x400 |
All conversions run in your browser. Your numbers are never sent to servers. Uses BigInt for arbitrary precision—handles very large integers without loss. Safe for keys, hashes, and debug data.