Hex / Binary / Decimal Converter

Convert numbers instantly between decimal, hexadecimal, binary, and octal formats.

📐 How to Use

  1. Select the input base (decimal, hex, binary, or octal).
  2. Type your number — all other bases update instantly.
  3. Click any result to copy it to your clipboard.

Frequently Asked Questions

QWhat is hexadecimal used for?
Hex (base 16) is commonly used for color codes, memory addresses, and byte-level data because each hex digit maps cleanly to 4 bits.
QWhat is the largest number this tool supports?
This tool supports standard JavaScript safe integers (up to 2^53 - 1). For larger values, dedicated BigInt tools are recommended.
QCan I convert negative numbers?
Yes — negative decimal numbers are converted using their signed representation across all bases.

ℹ️ About This Tool

Number base conversion is fundamental to computer science — binary (base 2) is how computers store data, hex (base 16) is a human-readable shorthand for binary, and octal (base 8) sees use in Unix file permissions.