Number base converter

Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36, even huge ones (BigInt). See the two's complement at 8, 16, 32 or 64 bits with a bit view, and decode or encode IEEE-754 floating-point numbers.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Base conversion

Base of the number

Enter a number to see the conversions.

Two's complement

Width in bits

Enter a valid number in the base conversion to see its two's complement.

IEEE-754 floating point

Format

Type a decimal number to encode it, or a bit pattern in hexadecimal (0x…) or binary (0b…) to decode it.

Enter a number or a bit pattern to see its encoding.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain