Developer Utilities

Number Base Converter

Convert signed integers among binary, octal, decimal and hexadecimal without normal Number precision limits.

Binary
Octal
Decimal
Hexadecimal

What is this tool?

Positional number systems express the same integer with different digit sets. Binary uses 0–1, octal 0–7, decimal 0–9 and hexadecimal 0–9 plus A–F.

How to use it

  1. Select the input's source base.
  2. Enter a signed integer without a base prefix.
  3. Select Convert.
  4. Copy any representation.

Example

Decimal 255 equals binary 11111111, octal 377 and hexadecimal FF.

FAQ

Are large values supported?

Yes. BigInt avoids the usual 53-bit safe-integer limit.

Can I enter 0x or 0b prefixes?

No. Choose the source base and enter digits only, with an optional leading sign.

Are fractions supported?

No. This tool performs exact integer conversion.

Related Tools