Ready
0xFF
0o377
0b11111111

Multi-Base

HEX, DEC, OCT, BIN all at once.

Bit Width Selection

8/16/32/64-bit formatting.

Developer Prefixes

0x, 0o, 0b code-ready output.

Real-time Conversion

Instant updates as you type.

Copy Values

One-click copy for each base.

Client-Side Privacy

All processing in your browser.

Low-level Programming

Convert memory addresses and bitmasks.

Network Configuration

Convert IP addresses and subnet masks.

Color Codes

Convert RGB decimal to hex color codes.

Memory Addresses

Work with hex memory addresses.

How do I convert hex to decimal?

Enter a hex value (e.g., FF) in the HEX field. The decimal value (255) appears instantly in the DEC field.

What does bit width do?

Bit width controls the maximum value and padding. 8-bit: 0-255, 16-bit: 0-65535, 32-bit: 0-4294967295, 64-bit: full range. Binary output is padded to the selected width.

What are the prefix formats for?

0x for hex, 0o for octal, 0b for binary. These are standard prefixes in JavaScript, Python, C, and other languages — ready to copy into your code.

Can I enter negative numbers?

The converter handles positive integers. For signed representation, use the bit width to see the two's complement interpretation.