A free browser tool to convert any number between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any custom base from 2 to 36. Instant, 100% client-side.

Number Base Converter is a free, browser-based developer tool that converts any integer between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Type a number in any field and every other base updates instantly — no submit button, no page reload, no server.
Developers who work with low-level code, networking, cryptography, or embedded systems constantly need to convert numbers between bases. The usual approach — pulling up a calculator, opening a Python REPL, or running a terminal command — breaks focus and takes longer than it should.
For a routine task that happens dozens of times a day, there's no reason to leave the browser.
Enter a number in any of the four standard fields — binary, octal, decimal, or hexadecimal. The moment you type, all other fields update simultaneously.
Every conversion is computed client-side in real time using JavaScript's BigInt for arbitrary precision. No server round-trip. No delay.
Need base 3? Base 12? Base 32? Click "Add", enter any base between 2 and 36, and a new field appears alongside the standard ones. Custom fields can be added or removed at any time.
Each field has a copy button. Click it to copy just that value to your clipboard — ready to paste into your code, terminal, or documentation.
function convertFromBase(value: string, fromBase: number): bigint | null {
const chars = "0123456789abcdefghijklmnopqrstuvwxyz".slice(0, fromBase);
return [...value.toLowerCase()].reduce((acc, ch) => {
const digit = parseInt(ch, 36);
return acc * BigInt(fromBase) + BigInt(digit);
}, 0n);
}
function convertToBase(num: bigint, toBase: number): string {
const chars = "0123456789abcdefghijklmnopqrstuvwxyz";
let result = "";
let n = num;
while (n > 0n) {
result = chars[Number(n % BigInt(toBase))] + result;
n = n / BigInt(toBase);
}
return result || "0";
}No external libraries. No DOM tricks. Pure arithmetic on BigInt values.
You're writing C or assembly and need to convert a decimal memory address to hex, or check a bitmask in binary. Type the decimal value once — all other representations appear immediately.
IP addresses, subnet masks, and CIDR notation involve constant conversion between decimal and binary. The Number Base Converter gives you a dedicated workspace instead of reaching for a calculator.
Hash values, nonces, and key material are commonly displayed in hex but need decimal or binary for certain operations. Convert in either direction without leaving the browser.
Teaching or learning number systems? This tool gives students a live environment to explore how the same integer looks across different bases — instantly, with no setup required.
Some protocols and encodings use non-standard bases — base 32 (RFC 4648), base 36 (alphanumeric), or custom alphabet schemes. The "Add Custom Base" feature covers them all.
int(x, base) and format(n, 'b') still require a terminalNumber Base Converter removes friction from a task that developers perform constantly:
Try it now: number-base-converter.tools.jagodana.com
The client needed a robust developer tools solution that could scale with their growing user base while maintaining a seamless user experience across all devices.
We built a modern application using Binary and Number Systems, focusing on performance, accessibility, and a delightful user experience.
Category
Developer Tools
Technologies
Date
April 2026
More work in Developer Tools