JSONHack
Validator · Formatter · Base64
Math Tool

Number Base Converter

Convert numbers between decimal (base 10), hexadecimal (base 16), binary (base 2), and octal (base 8) instantly. Type in any field and all other bases update automatically. Supports positive integers up to 253.

Decimal Base 10 · digits 0–9
Hexadecimal Base 16 · digits 0–9, A–F
Binary Base 2 · digits 0–1
Octal Base 8 · digits 0–7

Number Systems Explained

Decimal (Base 10)

The number system humans use daily. Uses digits 0–9. Each position represents a power of 10. Example: 255 = 2×100 + 5×10 + 5×1.

Hexadecimal (Base 16)

Uses digits 0–9 and letters A–F. Each hex digit represents exactly 4 bits. Widely used in programming, color codes, memory addresses, and cryptographic hashes.

Binary (Base 2)

The fundamental language of computers. Uses only 0 and 1. Every piece of data in a computer is ultimately stored and processed as binary. Each digit is called a bit.

Octal (Base 8)

Uses digits 0–7. Each octal digit represents exactly 3 bits. Used in Unix/Linux file permissions (e.g., chmod 755) and some legacy computing systems.

Common Use Cases

Quick Reference Table

DecHexBinaryOctal
Need to generate hashes?

Use the Hash Generator to create MD5, SHA-256, and SHA-512 hashes from any text.

Open Hash Generator →