⚡ 51+ Free Tools🖋 No Sign Up🌎 Used Worldwide🔒 No Tool Inputs Stored

Binary & Hex Converter

Convert signed whole numbers exactly between binary, decimal, hexadecimal and octal. Type in any field to update the other three.

Advertisement

About This Tool

What it does

Converts complete signed integers between bases 2, 8, 10 and 16 with JavaScript BigInt, so values beyond Number.MAX_SAFE_INTEGER are not rounded.

Who it's for

Programmers, students and anyone working with positional numeral systems. Negative outputs use a leading minus sign, not a fixed-width two’s-complement representation.

Your privacy

Inputs and conversions remain in your browser. A 4,096-character input limit prevents accidental browser slowdowns.

Method and source

Each input must be a complete whole-number string valid for its selected base. Conversion uses the ECMAScript BigInt type, whose integer value is not limited to a fixed bit width. Source reviewed 23 June 2026: ECMAScript BigInt specification.

Advertisement

Frequently Asked Questions

Enter only 0 and 1 digits, with an optional leading minus sign. For example, 1010 converts to 10 and -1010 converts to -10.
No. It uses JavaScript BigInt rather than the floating-point Number type, so supported integer conversions remain exact even above 9,007,199,254,740,991.
Use digits only for the selected base, optionally preceded by a minus sign. Do not include 0b, 0o or 0x prefixes, spaces, decimal points, commas or exponent notation.
The converter displays a minus sign followed by the magnitude in each base. It does not create a fixed-width two’s-complement bit pattern because that would require a chosen bit width.
Yes. Entering zero in any field produces 0 in all four fields.
The other three fields are cleared and an inline message explains the accepted digits. This prevents an old conversion from remaining visible.
Yes. It runs locally in your browser with no account required, and ToolBullet does not transmit the entered integers.
Advertisement
✓ COPIED!