Number Base Converter

Convert numbers between decimal, binary, octal, and hexadecimal bases instantly.

Number Base Converter

Conversion Results

Decimal (Base 10)

42

Input

Binary (Base 2)

101010

Octal (Base 8)

52

Hexadecimal (Base 16)

2A

Quick Examples

Number Base Reference

Binary (Base 2)

Digits: 0, 1

Octal (Base 8)

Digits: 0-7

Decimal (Base 10)

Digits: 0-9

Hexadecimal (Base 16)

Digits: 0-9, A-F

How to Use

1. Select the input number base (Binary, Octal, Decimal, or Hexadecimal)

2. Enter the number you want to convert

3. All other base representations will be calculated automatically

4. Click the copy button next to any result to copy it to your clipboard

5. Use the example buttons to see how different numbers convert

Note: All processing happens in your browser. Your data never leaves your device.