Integer Base Converter
ConverterConvert numbers between binary, octal, decimal, hex and any base 2-36, with instant results for bitwise ops, colour channels and low-level protocol debugging.
0b111111110o3772550xFF7V73Related Tools
About Integer Base Converter
Debugging registers, parsing color components, inspecting permission bits, or reading network masks often means converting integers between binary, octal, decimal, and hexadecimal — easy to get wrong in your head. This tool converts an integer between any base from 2 to 36 locally in your browser, with exact big-integer math. Your input and computation stay on your machine; no numbers are uploaded, ideal when dealing with internal addresses or key fragments. For instance, decimal 255 is shown as hex FF, binary 11111111 and octal 377 at once, so one input reveals all four representations.
How to Use
- Open the Integer Base Converter tool
- Select the source and target formats
- Adjust the output options as needed
- Click the Convert button; results appear in real time
- Copy or export the result
Use Cases
- Read registers — Convert a hex register value to binary to inspect each flag bit.
- Decode permissions — Turn Linux octal 755 into bits to check read/write/execute settings.
- Color debugging — Convert hex color components to decimal to compare with RGB values.
- Protocol decoding — Convert captured hex bytes to decimal to match protocol field meanings.
- Practice problems — Quickly verify base-conversion answers while studying or drilling.
- IP address math — Convert between dotted-decimal IPv4 and 32-bit integer for subnet calculations or CIDR range comparisons.
- Memory address debugging — Translate hex memory addresses from crash dumps or debugger output to decimal for offset calculations.
FAQ
Which base range is supported?
Any conversion between base 2 and base 36. Bases above 10 use letters a-z, so hex uses a-f and base 36 can use up to z.
Can it handle very large numbers?
Yes. It uses big-integer arithmetic with no 32/64-bit limit, so numbers dozens of digits long convert exactly without losing precision.
Are decimals or negatives supported?
It targets integers. A leading minus is usually recognized, but cross-base fractional conversion is limited by representation, so use it for integers.
What if I include spaces or a prefix?
Common 0x/0b prefixes and surrounding spaces are generally tolerated, but characters outside the chosen base raise an error — check you picked the right source base.
How does this differ from the color converter?
This does pure numeric base conversion only. To convert between HEX, RGB, and HSL color formats, use our color format converter.
How do I convert between decimal, binary, octal, and hex?
All four bases share a single input box. Type the number, pick its source base and your target base, and the result updates live — no manual base-by-base division is required, so you avoid arithmetic mistakes. For example, enter 255 in decimal and you see hex FF, octal 377, and binary 11111111 at once. If you need to step through intermediate bases, copy a result back into the same field and repeat; the computation stays local, so large values are handled exactly.
How do I convert binary to hex online?
Set the source base to 2 (binary) and the target base to 16 (hex) in this tool, paste the binary string, and the hex value appears immediately. Because everything is computed in your browser, nothing is uploaded — handy when the value is an internal key, address, or register. The same form also converts to octal or decimal, and supports any base from 2 to 36 if you need yet another representation, with exact big-integer math for very long inputs.