Skip to content
QKQuickKit日本語
Numbers & UnitsLOCALRuns in your browser

Number Base Converter

Convert integers between binary, octal, decimal, hexadecimal, and any base from 2 to 36, with optional fixed-width two's-complement output.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

Conversions

Converted number in each base
Binary
Octal
Decimal
Hexadecimal
Hex (0x prefix)
Custom base
Decimal (unsigned)
Decimal (signed)
Magnitude bit length
How it works

Values are handled as arbitrary-precision integers, so results are exact for any size. Underscores, spaces, and commas in the input are ignored. Choosing a fixed width shows the two's-complement bit pattern plus its signed and unsigned decimal meaning; values outside the width's range are rejected.