Skip to main content

Number & encoding converter

Number Base Converter

Convert exact whole integers between binary, octal, decimal, and hexadecimal.

Base conversion

Enter values to calculate

Whole integers are converted exactly with BigInt arithmetic within the input length limit.

Exact integer conversion

The converter parses the input as a BigInt, so supported whole integers are not rounded through floating-point arithmetic.

Valid digits depend on the base

Binary accepts 0–1, octal 0–7, decimal 0–9, and hexadecimal 0–9 plus A–F. Invalid digits are rejected.

Arithmetic is separate

Use the Binary / Octal / Decimal / Hex Calculator when you want to add, subtract, multiply, or divide values rather than only convert them.

Frequently asked questions

Does conversion happen in my browser?

Yes. These value conversions run in the browser and do not require an account.

Should I verify a critical conversion?

Yes. For engineering, laboratory, medical, financial, legal, or safety-critical work, verify the unit definition and result against an authoritative standard for your context.