Number Base Converter

Binary, octal, decimal, hex, and custom bases.

Loading tool

This tool runs in your browser. Nothing is uploaded.

Type a value in any base and read the others. Invalid digits are rejected instead of silently wrapping.

How to use this tool

  1. Enter the source value. Type the number, color, or timestamp you want to convert.
  2. Pick the target unit. Choose the output system. Conversion runs locally.
  3. Copy the converted value. Use Copy when you need the result elsewhere.

Limits

Values use BigInt so they are not capped at 53 bits. Very long strings may still be slow to render.

Frequently asked

Does it handle fractions?

No. Integers only.

Is 0x prefix accepted?

Yes for hex input. Binary can start with 0b.

Can I convert two's complement negatives?

Negative signs are supported as mathematical negatives, not fixed-width two's complement.

What about base 64 numbers?

Base 64 encoding is a different tool. This page tops out at base 36.

Are leading zeros kept?

Output is normalized. Input zeros do not change the value.