FK
FreeAIKit

Number Base Converter

Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Real-time, free.

Decimal (Base 10)

Conversions

Enter a number above to see all base conversions.

Quick Reference

DecBinOctHexDecBinOctHex
000000081000108
100011191001119
200102210101012A
300113311101113B
401004412110014C
501015513110115D
601106614111016E
701117715111117F

FAQ

What are number bases?

A number base (or radix) defines how many unique digits are used. Decimal uses 0-9 (base 10), binary uses 0-1 (base 2), octal uses 0-7 (base 8), and hexadecimal uses 0-9 and A-F (base 16).

Why do programmers use hexadecimal?

Hexadecimal is compact: one hex digit represents exactly 4 binary digits. This makes it easy to read memory addresses, color codes (#FF0000), and byte values. It's far more readable than long binary strings.

What is the 0x prefix?

0x is a common prefix to indicate a hexadecimal number (e.g., 0xFF = 255). Similarly, 0b indicates binary (0b1010 = 10) and 0o indicates octal (0o17 = 15). This tool accepts numbers with or without prefixes.

Does this support large numbers?

Yes. This tool uses BigInt for arbitrary-precision arithmetic, so you can convert numbers of any size without losing precision.

More Developer Tools You May Like