Number Base Converter
Convert whole numbers between binary, octal, decimal, hex, and any base from 2 to 36.
Everything runs in your browser with arbitrary-precision integers, so even a 500-digit number converts exactly — nothing is uploaded.
About Number Base Converter.
Convert Numbers Between Binary, Hex, Decimal, and Any Base
Type a whole number in any base — binary, octal, decimal, hexadecimal, or a custom base from 2 to 36 — and every other field updates at the same time. There's no convert button and no page reload: edit one field, read the rest.
It uses arbitrary-precision integers, so it converts numbers far larger than a 64-bit register can hold. A 128-bit token or a 500-digit value converts exactly, with no rounding, overflow, or scientific-notation surprises. Paste with the usual separators (spaces, underscores, commas) or a leading 0x, 0b, or 0o and it still reads correctly.
Invalid digits are caught per field — if you drop a "2" into the binary box or a "g" into the hex box, that field tells you exactly which character doesn't belong, instead of silently giving a wrong answer.
- Programming: Read a hex color, memory address, or bitmask as decimal and flip it straight back to hex or binary.
- Unix permissions: Turn a chmod value like 755 between octal and its underlying bit pattern.
- Networking: Convert an IP octet or subnet value between decimal and binary to reason about masks.
- Learning and homework: Check base-conversion exercises in binary, octal, and hex all at once and see the digit count and bit length.
- Big identifiers: Convert 128-bit tokens, hashes, or database IDs without hitting floating-point limits.
- Custom encodings: Work in base 32, base 36, or any base down to 2 for URL-safe IDs and encoding schemes.
Privacy: This tool runs entirely in your browser. Nothing you type is uploaded, logged, or sent anywhere — the conversion math happens on your own device.
Frequently asked questions.
How do I convert binary to decimal?
Type the number in the binary field and the decimal, octal and hex fields update at once. Edit any field and the rest follow.
Can it use other bases?
Yes. Besides binary, octal, decimal and hex, you can pick any custom base from 2 to 36.
Can it handle very large numbers?
Yes. It uses exact whole-number math, so a 128-bit value or a number hundreds of digits long converts with no rounding. It works with whole numbers, not fractions.
What if I type a wrong digit?
The field tells you which character does not belong, like a 2 in a binary number. Yes. It is free to use with no daily limit, no account and nothing to install.
How to use Number Base Converter.
Upload your file
Drag and drop or click to select your file.
Choose settings
Adjust quality, size, or format options.
Download result
Your processed file is ready instantly.
Related dev tools.
Privacy-first tools that work everywhere.
Need more than a tool?
Custom websites and web apps that you own — from $799 one-time.
Explore all 188 tools