IPTool IPTool

Fast system administrator tools

Number converter (HEX/OCT/BIN/DEC)

Convert between hexadecimal, decimal, octal and binary. Works with big integers and negatives.

HEX
Digits 0–9 and A–F; optional 0x prefix.
DEC
Digits 0–9; optional leading minus sign.
OCT
Digits 0–7; optional 0o prefix.
BIN
Digits 0–1; optional 0b prefix.

What it is

This tool converts numbers between hexadecimal, decimal, octal and binary representations. It supports big integers (via BigInt) and negative values.

How it works

Type a value in any field — the others update automatically. You can use optional prefixes: 0x for hex, 0o for octal, 0b for binary. Copy buttons help paste results elsewhere.

Limitations & notes

Fractions are not supported — this tool works with integers only. Input validation is strict for each base. Very large values are handled using JavaScript BigInt and are limited by your browser.

Related tools