Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal bases.
Related Tools
Length Converter
Convert between millimeters, centimeters, meters, kilometers, inches, feet, yards, miles, and nautical miles.
Try nowWeight Converter
Convert between milligrams, grams, kilograms, tonnes, ounces, pounds, and stones.
Try nowTemperature Converter
Convert between Celsius, Fahrenheit, and Kelvin temperature scales instantly.
Try nowData Size Converter
Convert between bytes, KB, MB, GB, TB, PB, and bits. Supports both binary (1024) units.
Try nowNumber Base Converter - Binary, Octal, Decimal, Hex | Tuttilo
Convert numbers between different numeral systems instantly.
Input your number in any of the four supported bases: binary (base-2), octal (base-8), decimal (base-10), or hexadecimal (base-16). The converter instantly displays the equivalent representation in all other bases, making it easy to verify calculations or translate between programming contexts. Binary output shows the fundamental bit pattern, octal provides compact grouping useful in Unix permissions, and hexadecimal offers the dense format common in memory addresses and color codes. Everything processes locally for complete privacy.
Software developers use this when debugging assembly code or examining raw memory dumps where hexadecimal values need verification against decimal expectations. Computer science students learning digital logic convert binary truth tables to octal or hex for more readable notation. Unix system administrators translate file permission numbers from octal (like 755) to binary to understand exact read-write-execute flags. Web developers convert hexadecimal color codes to decimal RGB values when working with canvas graphics or image processing.
Hexadecimal uses 0-9 and A-F where A=10 through F=15 β memorizing this sequence speeds up manual conversions. Each hex digit represents exactly four binary bits, so F in hex equals 1111 in binary, making hex-to-binary conversion straightforward. Octal maps three bits per digit: 7 in octal is 111 in binary. When working with signed integers, remember that negative numbers use two's complement in binary, which flips all bits and adds one. Leading zeros matter in fixed-width contexts like byte arrays (0xFF vs FF) but not for mathematical values.
All processing happens directly in your browser. Your files never leave your device β no server uploads, no cloud storage, no data retention. The tool works offline once loaded, requires no registration, and is completely free with no usage limits.
Frequently Asked Questions
How do I convert decimal to binary?
Enter the decimal number and select Decimal as the input base. The binary result appears automatically.
What bases are supported?
Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16).
Can I convert large numbers?
Yes, JavaScript handles integers up to 2^53 - 1 safely.
What characters are valid for hex?
Digits 0-9 and letters A-F.
Is this free?
Yes, completely free.