Two's Complement Converter
Convert signed integers and fixed-width two's-complement bit patterns.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Widths are explicit and bounded; values outside the selected signed range are rejected rather than truncated.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Two's Complement Converter
Fill in the fields:
- Direction: Signed integer to bit pattern, Bit pattern to signed integer.
- Fixed bit width from 2 to 128.
- Signed integer or exact bit pattern.
Press “Convert two's complement”.
Copy the result, or download it as twos-complement.json.
About this tool
Convert signed integers and fixed-width two's-complement bit patterns.
Converts exact signed integers and fixed-width two’s-complement patterns for widths 2 through 128, with explicit range and length validation.

