Skip to main content
Data & Encoding

Binary, Octal, Decimal & Hex Converter

Convert arbitrarily large BigInt integers and 8/16/32/64-bit two’s-complement values across base 2, 8, 10, and 16.

Input Radix
Register Width / Signed Mode

Converted Representations (8-bit BigInt)

Binary (base 2)
1111 1111
Octal (base 8)
377
Decimal (base 10)
255
Hexadecimal (base 16)
FF
Arbitrary precision BigInt mode: no fixed bit-width padding or two’s-complement wrap; negative integers use a leading minus sign.

Learn Two’s Complement, Registers & Assembly Addressing

Explore Draftsbook’s structured Microprocessor Architecture and Assembly Language course series.

Browse Course Series
Tool Documentation & Guide

Number Base Converter & Bitwise Inspector Guide

Convert arbitrarily large integers across Binary (Base 2), Octal (Base 8), Decimal (Base 10), and Hex (Base 16).

Overview

The Number Base Converter performs radix conversion for integers using native JavaScript BigInt, supporting arbitrarily large numbers without 64-bit IEEE 754 precision loss. It includes two’s complement signed mode for 8, 16, 32, and 64-bit word sizes and nibble grouping.

How to Convert Number Bases

1Enter Value in Any Base

Type a number into the Binary, Octal, Decimal, or Hexadecimal input box. The remaining bases update instantly.

2Toggle Signed Two’s Complement

Enable Signed Mode and select your target bit width (8-bit, 16-bit, 32-bit, or 64-bit) to inspect negative representations.

3Inspect Nibbles & Bit Breakdown

View nibble-grouped binary representations (4-bit chunks) for clean register reading.

Precision & Bit Widths
  • BigInt precision: Arbitrary size limit in Decimal mode.
  • Signed mode bit widths: 8-bit, 16-bit, 32-bit, and 64-bit words.
Client-Only Radix Math
  • All conversions are executed in client memory with zero network requests.