Number Base Converter

Convert any number between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and more. Shows all bases simultaneously.

enter a number
Input number
Input base (from)

Frequently Asked Questions

What is binary?
Binary (base 2) uses only 0s and 1s. It's the fundamental language of computers because transistors have two states: on (1) and off (0). The decimal number 255 = 11111111 in binary (eight 1s), which is why byte values range from 0–255 (8 bits).
What is hexadecimal used for?
Hexadecimal (base 16) uses digits 0–9 and letters A–F. It's used in programming because it compactly represents binary — each hex digit = 4 bits. Used for memory addresses, colour codes (#FF6600), CSS, HTML, and network MAC addresses.
Why is base 36 useful?
Base 36 uses digits 0–9 and letters A–Z. It's the most compact way to represent numbers using standard alphanumeric characters. Used for URL shorteners (like bit.ly), unique ID generation, and encoding large numbers into short strings.