Number Base Converter

Developer

Convert numbers between decimal, binary, octal, and hexadecimal bases. Essential for low-level programming and debugging.

Powers of 2

Common Values

Custom Base Converter

What is This Tool?

A number base converter transforms integers between any base from 2 (binary) to 36. Convert between binary, octal, decimal, hexadecimal, and arbitrary bases with support for large numbers and detailed step-by-step conversion explanations.

Number bases (radixes) define how many unique digits represent numbers. Common bases: binary (2) for computing, octal (8) for Unix permissions, decimal (10) for everyday math, and hexadecimal (16) for memory addresses and colors. Bases up to 36 use digits 0-9 and letters A-Z.

Common Use Cases

Programming & Debugging

Convert between hex, binary, octal, and decimal when debugging memory dumps, register values, and protocol data.

Unix Permissions

Convert between octal (755), symbolic (rwxr-xr-x), and binary (111101101) representations of file permissions.

Color Codes

Convert hex color values to decimal RGB components and vice versa.

Education

Learn number base concepts with step-by-step conversion explanations showing the mathematical process.

Frequently Asked Questions

What bases are supported?

Any integer base from 2 to 36. Common bases: 2 (binary), 8 (octal), 10 (decimal), 16 (hexadecimal), 32, 36.

Are large numbers supported?

Yes. The converter handles arbitrarily large integers using BigInt, beyond the normal JavaScript Number limit.

Why does base 36 use letters?

Bases above 10 need extra digits. Convention uses A=10 through Z=35, giving base 36 the full alphanumeric character set.