Developer·Updated 2026-04-22

Number Base Converter

Decimal, hex, binary, octal. Arbitrary-size integers via BigInt.

Number Base Converter

How it works

  1. 1.

    Enter value

    Pick a category: length (m, ft, mi), mass (kg, lb, oz), temperature (°C, °F, K), volume (L, gal), time (s, h, d), or data (KB, MB, GiB).

  2. 2.

    Read results

    Pick the source unit from the list. Data sizes support both SI decimal prefixes (KB = 1000 bytes) and IEC binary prefixes (KiB = 1024 bytes).

FAQ

How large can numbers be?+

Arbitrarily large. We use JavaScript BigInt, no float precision loss.

Are prefixes recognized?+

Yes. 0x for hex, 0b for binary, 0o for octal. Underscores and whitespace are stripped.

Are negative values supported?+

Yes. Two's complement is not applied, the minus sign is carried through directly.

Related tools