Number Base Converter

Herramientas de Conversión

Bitwise Operations

Result (Decimal)

-

Result (Hex)

-

Result (Binary)

-

How to use this number base converter

  1. Type a number into any of the four fields.
  2. The other three bases update automatically as you type.
  3. Copy the result you need, useful for programming, color codes, or networking.

Why do computers use hexadecimal and binary?

Binary (base 2) directly reflects how computers store data as on/off bits. Hexadecimal (base 16) is a compact, human-friendly way to represent binary data, since each hex digit maps exactly to 4 bits, that's why you see it in color codes, memory addresses, and MAC addresses.

What is octal used for today?

Octal is less common now, but still appears in Unix/Linux file permission codes (like chmod 755) and some older programming contexts.

Is there a limit to how large a number I can convert?

This tool uses standard JavaScript number precision, which is reliable up to about 9 quadrillion (2^53). Beyond that, results may lose precision.

Why do bitwise operations behave oddly with large or negative numbers?

Bitwise operations (AND, OR, XOR, NOT, shifts) work on 32-bit signed integers in JavaScript, unlike the base converter above which handles much larger numbers, values outside that 32-bit range get truncated before the operation runs.