🔢 Number Base Converter

Convert any integer between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Type in any field to convert all others instantly.

Binary · Octal · Decimal · Hex Any Base 2–36 BigInt Precision
BIN Binary
OCT Octal
DEC Decimal
HEX Hexadecimal
BASE Custom base

FAQ

What is binary (base 2)?

Binary is the base-2 number system, using only 0 and 1. Every digital computer stores all data in binary because transistors have two stable states. Each binary digit is a bit; 8 bits = 1 byte; 4 bits = 1 nibble.

What is hexadecimal used for?

Hexadecimal (base 16) uses digits 0–9 and letters A–F. It represents binary data compactly: each hex digit equals exactly 4 binary bits. Common uses include memory addresses, CSS color codes (e.g. #ff5733), cryptographic hashes, and bytecode.

What is octal (base 8)?

Octal uses digits 0–7. It was historically used in computing (Unix file permissions, PDP systems). Today it still appears in Unix chmod values (e.g. chmod 755).

How are custom bases (e.g. base 32, 36) used?

Base 32 is used in encoding schemes like RFC 4648 (without padding) and file-safe identifiers. Base 36 uses 0–9 and A–Z, giving compact case-insensitive identifiers useful in URL shorteners and serial numbers.

Does this tool support negative numbers?

Yes — prefix your input with a minus sign (e.g. -1010 in binary or -FF in hex) and all other fields will show the negative value in their respective base.