TB
Developer

Number Base Converter

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

Binary (Base 2)
0b
Octal (Base 8)
0o
Decimal (Base 10)
Hexadecimal (Base 16)
0x
Valid Characters

Binary: 0, 1

Octal: 0–7

Decimal: 0–9

Hexadecimal: 0–9, A–F

Documentation

How to Use

1

Enter Number

Type a number in any base (binary, octal, decimal, or hex).

2

View Conversions

See the number converted to all other bases instantly.

3

Copy Result

Click on any result to copy it to your clipboard.

Pro Tips
Supports binary (0-1), octal (0-7), decimal (0-9), hex (0-9, A-F)
Auto-detects input base

Examples

Input
42
Output
101010 (binary)

Related Tools