Why Use This Tool
Different bases serve different purposes — binary for bit patterns, hex for bytes, octal for Unix permissions. Converting between them is essential for low-level programming and debugging.
Free online number base converter. Convert numbers between binary, octal, decimal, and hexadecimal bases instantly in your browser. — runs 100% in your browser, client-side only. No data is sent to any server. Free to use, no account required.
Supports arbitrarily large numbers via BigInt. Outputs in all four bases simultaneously.
A number base converter transforms numbers between different radixes: binary (base-2), octal (base-8), decimal (base-10), hexadecimal (base-16), and any custom base from 2 to 36.
Different bases serve different purposes — binary for bit patterns, hex for bytes, octal for Unix permissions. Converting between them is essential for low-level programming and debugging.
Use base conversion when working with memory addresses, understanding binary data, converting Unix permissions, debugging bit patterns, or learning number systems.
Each has advantages: binary shows individual bits, hex is compact for bytes (2 digits = 1 byte), octal maps to 3-bit groups (used in Unix permissions). Decimal is human-readable.
Any base from 2 to 36. Bases above 10 use letters: A=10 through Z=35. Common bases are 2 (binary), 8 (octal), 10 (decimal), 16 (hex).
To convert to decimal: multiply each digit by base^position (right-to-left). To convert from decimal: repeatedly divide by target base, remainders form digits.