Number Base Converter
- Free forever
- No sign-up
- Runs in your browser
Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Very large numbers work too.
About Number Base Converter
Type a number in any box and the others update at once, so you can move between binary, octal, decimal and hexadecimal, or any base from 2 to 36. Programmers use it for bit masks, colour codes, memory addresses, file permissions and network values. Exact big-integer maths means 64-bit and 128-bit values convert without rounding, and you also see the bit count, grouped binary, bytes and the matching Unicode character.
How to use Number Base Converter
- Type a number into any box: Decimal, Hexadecimal, Binary or Octal.
- The other boxes update instantly; spaces, underscores and a 0x or 0b prefix in its own box are fine.
- For another base, pick it under Base (2 to 36) and use the Custom base box.
- Tick Hex in UPPERCASE if you prefer, and read the bits, bytes and grouped binary below.
How your data is handled
All conversions run in your browser, with no extra downloads, and the numbers you type aren't uploaded, logged or stored anywhere.
Limits and accuracy
- The 0x, 0b and 0o prefixes only work in their matching box, not in Decimal or Custom base.
- Digits beyond 9 use the letters a to z, so bases above 36 and custom digit sets aren't possible.
Questions and answers
How large can the numbers be?
Very large. Whole numbers are handled with exact big-integer maths, so 64-bit, 128-bit and even longer values convert without rounding.
Does it convert fractions or negative numbers?
Negative whole numbers work and keep their minus sign; they aren't shown as two's complement. Fractions and decimal points aren't supported, only whole numbers.
What is base 36?
Base 36 uses the digits 0 to 9 and then the letters a to z, so z stands for 35. It's often used for short IDs and codes. Any base from 2 to 36 works in the Custom base box.
Do I need to sign up?
No. Binary, Hex and Decimal Converter is free with no sign-up, no login and no daily limit, and there's nothing to install. It works on a phone as well as a PC.
Is my text sent to a server?
No. Binary, Hex and Decimal Converter runs in your browser, so what you paste stays on your device. That makes it safe for passwords, tokens, customer data and anything else private.
Can I convert to a custom base?
Yes. Decimal, binary, octal and hex are always shown, and you can add any base from 2 to 36. Type in whichever box you have and the others update.