Free Base Converter: Hex, Decimal, Binary, Octal & More

Convert numbers between any base from 2 to 36 in an instant. Handles negative numbers and fractions with clear, step-by-step explanations. The essential tool for programmers, students, and engineers.

Calculation Steps

How to Use Our Converter

Follow these simple steps to convert numbers between any bases.

1

Enter Your Number

Type or paste any number you'd like to convert.

2

Select Source Base

Pick the base (like Hex, Binary) your number is currently in.

3

Select Target Base

Choose the base you want to convert it to.

4

Get Results & Steps

Hit "Convert" and see the result with a detailed breakdown!

What Is a Number Base?

Simply put, a number base tells you how many digits are available in a counting system. We use base-10 (decimal) every day—it has ten digits (0-9).

Computers, however, “think” in base-2 (binary)—just 0s and 1s. Because binary numbers get long fast, programmers use base-16 (hexadecimal) as a shorthand (0-9 and A-F). Base-8 (octal) is also used in some computing contexts.

The key idea: In any base, each digit’s position represents a power of that base. Our converter shows you exactly how that works. Try converting your age into binary or hex—it’s the same number, just written in a different “language.”

Common Conversion Table

Quick reference for frequently converted values across different bases.

DecimalBinaryOctalHexadecimalBase-12Base-20Base-36
0000000
1111111
10101012AAAA
1610000201014GG
201010024141810K
321000004020281CW
501100106232422A1E
6410000001004054341S
10011001001446484502S
25511111111377FF193CF73
5121000000000100020036815CE8
1000111110100017503E86B42A0RS

Note: For bases higher than 10, letters represent values: A=10, B=11, C=12, D=13, E=14, F=15, G=16, H=17, I=18, J=19, K=20, ..., Z=35.

Frequently Asked Questions

What number bases do you support?

Full support from binary (base-2) all the way up to base-36. That includes octal (8), decimal (10), hex (16), and everything in between. Base-36 uses digits 0-9 and letters A-Z.

Do you support negative numbers and fractions?

Absolutely. You can convert numbers like -101.11 (binary) or -A.8 (hex) with no problem. We’ll show step-by-step calculations for both the integer and fractional parts.

How accurate are the fractional conversions?

We provide up to 20 decimal places for fractional conversions. Some fractions result in repeating patterns in different bases (like 1/3 in decimal is 0.333..., but in base-3 it's exactly 0.1). Our converter shows repeating patterns with a line over the repeating digits when applicable.

What's the difference between bases 2, 8, 10, 16, and 32?

Each base has specific applications:

  • Base-2 (binary): Fundamental to all digital computers
  • Base-8 (octal): Historically used in computing, still used for Unix permissions
  • Base-10 (decimal): Our everyday number system
  • Base-16 (hexadecimal): Widely used in programming and web design
  • Base-32: Used in some encoding schemes (Base32)
  • Base-64: Common for encoding binary data in text format

Can I convert between bases that aren't powers of 2?

Yes, absolutely. Conversion works between any two bases from 2 to 36. Try converting decimal to base-7 or base-23 – it works the same way.

What happens if I enter invalid characters for a base?

Our converter validates input and shows clear error messages. For example, if you select base-2 (binary) but enter "123", you'll get an error because binary only allows 0 and 1. Similarly, base-16 only allows 0-9 and A-F (or a-f).

Are letters case-sensitive in bases higher than 10?

No, letters are case-insensitive. "A" and "a" both represent 10 in bases higher than 10. "F" and "f" both represent 15. "Z" and "z" both represent 35 in base-36. Our converter normalizes all letters to uppercase for consistency.

Can I save or share my conversion results?

Yes! You can copy the conversion result with the copy button, share the page URL (which could be extended to include parameters), or take a screenshot of the step-by-step calculation. We're working on adding a "share results" feature in a future update.