CPKit
v1.6.1

Base Converter

Base ConversionEasy

Convert integer values between Binary, Octal, Decimal, and Hexadecimal representations in real-time.

Alt+2

Conversions Panel

Example Test Cases

Standard Integer
Input:42
Output:Bin: 101010 | Hex: 2A
Load Case
Power of Two kilobytes
Input:1024
Output:Bin: 10000000000 | Hex: 400
Load Case
Max 16-bit Unsigned Short
Input:65535
Output:Bin: 1111111111111111 | Hex: FFFF
Load Case

Complexity Specs

Time ComplexityO(log N)
Space ComplexityO(1)

Contest Notes & Bounds

  • Supports extremely large values using JavaScript native BigInt parsing.
  • Real-time bidirectional updates map changes across all bases instantly.
  • Decimals or negative formatting is omitted for consistency.