Convert numbers between binary, octal, decimal, and hexadecimal
Convert numbers between binary, octal, decimal, and hexadecimal bases. Developers and students use this daily when working with low-level programming, memory addresses, or digital logic.
Initializing in your browser…
Convert between Unix/Epoch timestamps and human-readable dates. Supports seconds and milliseconds with timezone information
Convert audio files between WAV, MP3, OGG, AAC, M4A, FLAC formats online. Adjust bitrate and quality settings. Free browser-based conversion with no file uploads to servers.
Convert between HEX, RGB, HSL, and CMYK color formats
You are debugging a bitmask and need to see the value 255 as hex, binary, and octal at once.
Decimal
255
Other bases
Hex: 0xFF Binary: 0b11111111 Octal: 0o377
255 is 2⁸−1, so it is all ones across 8 bits (`11111111`) and the single-byte maximum, instantly recognisable once you see the binary. The converter handles arbitrary bases 2–36 and large values without floating-point rounding, which matters when a 64-bit flag silently loses precision in less careful tools.
Convert numbers between binary, octal, decimal, and hexadecimal bases. Developers and students use this daily when working with low-level programming, memory addresses, or digital logic.
The tool converts unsigned values. For signed representations like two's complement, convert the positive magnitude and apply the sign convention yourself.
The converter handles numbers up to JavaScript's safe integer limit (2^53 - 1). For larger values, results may lose precision.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.