Number Base Converter

Convert numbers between binary, octal, decimal, and hex

Input Number
Quick Reference
Dec
Bin
Oct
Hex
0
0000
0
0
1
0001
1
1
2
0010
2
2
3
0011
3
3
4
0100
4
4
5
0101
5
5
6
0110
6
6
7
0111
7
7
8
1000
10
8
9
1001
11
9
10
1010
12
A
11
1011
13
B
12
1100
14
C
13
1101
15
D
14
1110
16
E
15
1111
17
F

Features

  • Binary, octal, decimal, hex conversion
  • Custom base support (2-36)
  • Bit grouping display
  • Large number support
  • Step-by-step conversion explanation

Frequently Asked Questions

What number bases are supported?

Common bases include binary (2), octal (8), decimal (10), and hexadecimal (16). You can also convert to any base from 2 to 36.

How do I read hexadecimal numbers?

Hexadecimal uses 0-9 and A-F where A=10, B=11, C=12, D=13, E=14, F=15. For example, 0xFF = 255 in decimal.

Related Tools

Base64 Encoder/Decoder

Developer Tools

Encode and decode Base64 strings instantly
Hash Generator

Developer Tools

Generate CRC-32, MD5, SHA-1, SHA-256, SHA-512, RIPEMD-160 and more hashes