Base 10, the everyday numeral system.
255
Tools
Convert integers between decimal, binary, octal, hexadecimal, base 32, base 64, and custom bases with live bitwise and Unicode views
Settings
Tune prefixes, word size, grouping, and the custom radix before operating on bits.
Main conversion
Type in any representation and all the others refresh immediately.
Base 10, the everyday numeral system.
255
Base 2 for internal computer representation.
0b11111111
Base 8, common in Unix permissions and legacy systems.
0o377
Base 16, compact and readable for memory, hashes, and colors.
0xff
Uses the ABC...234567 alphabet as a positional numeral system.
H7
Uses the ABC...abc...0123...+/ alphabet as a positional numeral system.
D/
Uses digits 0-9 and letters A-Z up to the configured base.
73
Bit representation
Showing 8 bits with visual grouping every 4 bits.
Bitwise
Apply NOT, shifts, and AND/OR/XOR the way you would see them in a computer architecture textbook.
1111 1111 ~ ----------- 0000 0000
1111 1111 << 1 ----------- 1111 1110
1111 1111 >>> 1 ----------- 0111 1111
1111 1111 & 0011 1100 ----------- 0011 1100
ASCII and Unicode
Convert the current value into a character, a code point, UTF-8 bytes, and UTF-16 code units.
Positional numeral systems represent quantities using a finite set of symbols and a base. In base , the number has value . The decimal system uses , binary , octal , and hexadecimal with additional symbols A-F for digits 10-15.
Computers work internally in binary because transistors have two states (0 and 1). Hexadecimal emerged as a compact representation of binary: each hexadecimal digit corresponds exactly to 4 bits (a nibble), making conversion trivial. For example, . Hexadecimal is ubiquitous in programming: CSS colors (#FF5733), memory addresses, error codes, and digital certificates.
This tool converts numbers between bases 2, 8, 10, and 16 instantly. Enter the number in any base and get the equivalent representation in all others, with the conversion process shown step by step.