Skip to main content
Client-side ProcessingUpdated 2026-02-11Report issue

Runs fully in your browser. Inputs stay on your device. See recent fixes on changelog.

Two's Complement Converter

Convert between decimal and two's complement binary.

FreeRuns in browsertwos complementtwo's complement converter

Type a value in any field to convert between number bases.

Common Values

Cmd/Ctrl+Enter Primary actionCmd/Ctrl+Shift+L Load sampleCmd/Ctrl+Shift+X Clear/resetCmd/Ctrl+Shift+C Copy result

About Two's Complement Converter

Convert between decimal and two's complement binary online for free. Full 8-bit, 16-bit, and 32-bit signed integer support. Instant results in your browser. Converts between all common number bases instantly as you type, with support for standard prefixes like 0x and 0b. Displays all base representations simultaneously for easy reference. Everything runs client-side in your browser for maximum speed and privacy — no data is sent to any server, and no signup is required.

Related tools: Binary Converter, IEEE 754 Float Converter, Bitwise Calculator

How to Use Two's Complement Converter

  1. Enter a number in any supported base.
  2. See the number converted to all other bases instantly.
  3. Copy the representation you need.

Frequently Asked Questions

What is Two's Complement Converter?
Convert between decimal and two's complement binary online for free. Full 8-bit, 16-bit, and 32-bit signed integer support. Instant results in your browser.
What number bases are supported?
The tool supports all commonly used bases including binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Some tools may support additional bases up to base 36.
Can I convert floating-point numbers?
This tool focuses on integer conversion between bases, which is the most common use case. For floating-point base conversion, you would need to handle the integer and fractional parts separately.
What is the maximum number size?
The tool handles numbers up to JavaScript's safe integer limit (2^53 - 1), which covers the vast majority of practical use cases. For extremely large numbers, BigInt support may be available depending on the specific tool.
Is Two's Complement Converter free to use?
Yes, all base conversions are free and unlimited. No account or signup is needed to use this tool.
Is my data safe when using Two's Complement Converter?
Yes, all conversions happen in your browser. No numbers or data are sent to any server, keeping your input completely private.