Skip to content
FizzKit

Number Base Converter

Translate integers of any size between binary, octal, decimal, hexadecimal and a custom base from 2 to 36, with signed two's-complement or unsigned interpretation at 8, 16, 32 or 64 bits. Click bits in the grid to toggle them, view and swap the byte order, and read popcount, leading zeros and set-bit positions. The bitwise playground evaluates AND, OR, XOR, NOT, shifts and rotates on two operands, and the IEEE-754 view breaks a decimal or raw hex value into float32 and float64 sign, exponent and mantissa with rounding error.

Runs locally in your browser
BIN
OCT
DEC
HEX
Bits — click to toggle (MSB left)
31byte 3 · 0x0024
23byte 2 · 0x0016
15byte 1 · 0x008
7byte 0 · 0xCA0
Bytes (4)
Big-endian00 00 00 CA····
Little-endianCA 00 00 00····
Bit length
8
Set bits (popcount)
4
Leading zeros
24
Trailing zeros
1
Parity
even
Signed view
202
Unsigned view
202
Fits
yes

Set bits: 1, 3, 6, 7 → 2^1 + 2^3 + 2^6 + 2^7

How to use Number Base Converter

  1. 1Type a number in any of the base fields (prefixes like 0x and underscores are fine).
  2. 2Choose signed or unsigned and the bit width; click bits in the grid to toggle them.
  3. 3Open Bitwise to combine two operands, or IEEE-754 to inspect a float's bits.
  4. 4Copy any field or all formats at once.

About Number Base Converter

Translate integers of any size between binary, octal, decimal, hexadecimal and a custom base from 2 to 36, with signed two's-complement or unsigned interpretation at 8, 16, 32 or 64 bits. Click bits in the grid to toggle them, view and swap the byte order, and read popcount, leading zeros and set-bit positions. The bitwise playground evaluates AND, OR, XOR, NOT, shifts and rotates on two operands, and the IEEE-754 view breaks a decimal or raw hex value into float32 and float64 sign, exponent and mantissa with rounding error.

Number Base Converter is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

Yes. In signed mode negative values are shown as their two's complement at the selected width, and typing a full-width hex or binary literal with the top bit set reads back as negative. Decimal input is always literal.