MagicTools
Back

Number Base Converter

Type in any field — all other bases update instantly

DecimalBase 10
BinaryBase 2
OctalBase 8
HexadecimalBase 16

Quick Reference

Decimal
Binary
Octal
Hex
0
0
0
0
1
1
1
1
2
10
2
2
4
100
4
4
8
1000
10
8
10
1010
12
A
15
1111
17
F
16
10000
20
10
255
11111111
377
FF

How to use / Why use this tool / FAQ

How to use

Enter a number in any base field — binary, octal, decimal, or hexadecimal. All other fields update instantly. Click Copy to copy any result.

Why use this tool

No install or sign-up required. Instant conversion for developers working with low-level data, memory addresses, or bitwise operations.

FAQ

What bases does this tool support?
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).
Is it case-sensitive for hex?
Input is case-insensitive. The hex output is always uppercase (e.g. FF, not ff).
Can I convert negative numbers?
Currently only non-negative integers are supported.