Base 2
0b
Convert integers between software's most common bases with full validation, real-time updates, and quick copy.
Enter an integer, choose the source base, and instantly track equivalent representations across all four technical bases.
Enter an integer to convert.
Enter a valid integer in the selected base to generate conversions automatically.
Base 2
0b
Base 10
-
Base 16
0x
Base 8
0o
The tool converts integers between binary, decimal, hexadecimal, and octal with real-time updates, validation, and fast copying.
Yes. The input field recognizes standard prefixes for hexadecimal, binary, and octal, as well as raw numeric values.
Not within integer range. Conversion uses BigInt in browser to preserve large integer values without standard Number loss.
Yes. The tool accepts signed negative integers and produces equivalent representations across all bases maintaining the value.
Convert content to Base64 and recover original text with Unicode support.
Open toolConvert length, mass, temperature, area, volume, time and speed.
Open toolConvert between Unix, local date and ISO 8601 with local time and UTC display.
Open toolThe converter is for computer science students, developers working with colors, bit masks, and permissions, and anyone reviewing values in technical documentation.
Binary uses 0 and 1, octal 0 to 7, decimal 0 to 9, and hexadecimal 0 to 9 plus A to F. The conversion works with integers of any size.
Prefix 0b.
Each digit is one bit.
Prefix 0o.
Common in Unix file permissions.
Prefix 0x.
Each digit represents 4 bits; FF equals 255.
With the decimal base selected, enter 255.
11111111
377
FF
255 is the largest value that fits in one byte: eight bits set.
The tool does not convert fractions.