UnQTools
Developer Runs in your browser

Two's Complement / Signed Integer Calculator

Convert between signed decimal and two's-complement binary at any width (4/8/16/32/64-bit or custom up to 256-bit). Step-by-step negation (invert → +1), one's-complement and sign-magnitude side-by-side, clickable bit grid with MSB sign bit highlighted, hex/octal views, range & overflow detection, and sign-extension / truncation visualization. BigInt-correct, fully client-side.

100% Private Works Offline Instant

Convert between signed decimal and two's-complement binary at any width (4/8/16/32/64-bit or custom up to 256-bit). Step-by-step negation (invert → +1), one's-complement and sign-magnitude side-by-side, clickable bit grid with MSB sign bit highlighted, hex/octal views, range & overflow detection, and sign-extension / truncation visualization. BigInt-correct, fully client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.