number_system_converter_feature_image
Switching between number systems is one of the most frequent — and most frustrating — tasks in computer science, electronics, and programming. Whether you are converting a decimal value to binary for a coding exercise, translating a hex color code to RGB, checking Unix file permissions in octal, or debugging memory addresses, stopping to do it manually wastes time. The Number System Converter by ExcelGuru does it all instantly, in one place, for free.
🔢 Number System Converter Binary · Octal · Decimal · Hex · Base32 · Base36 · IEEE 754 · Two's Complement
Decimal
Base 10
Hex
Base 16 · prefix 0x
Octal
Base 8 · prefix 0o
Binary
Base 2 · prefix 0b
Base 32
Digits 0–9, A–V
Base 36
Digits 0–9, A–Z
Bit 31 (MSB)Bit 16Bit 0 (LSB)
Interprets the decimal input as a floating-point number
BaseNamePrefixValueLength
No conversions yet — start typing above.
Binary (Base 2) — Digits: 0, 1
0–90–1001
25511111111
102410000000000
655351111111111111111
Octal (Base 8) — Digits: 0–7
810
64100
255377
chmod 755111 101 101
Hexadecimal (Base 16) — Digits: 0–9, A–F
10–15A–F
255FF
65535FFFF
#FFFFFFWhite (RGB max)
Common Values
1 Byte0–255 (FF)
Nibble4 bits (0–F)
Max int322147483647
Max uint324294967295
📖

How to Use the Number System Converter

Convert any integer across six number bases simultaneously, inspect its 32-bit representation, and calculate Two's Complement and IEEE 754 values — all in one free browser tool.

1

Enter your number and select the base

Type any number into the input field. Choose the input base from the dropdown — Decimal, Binary, Hexadecimal, Octal, Base 32, or Base 36. The tool validates your input in real time and shows an error immediately if you enter a character that does not belong to the selected base (for example, the digit 9 while in Binary mode, or the letter G in Hexadecimal).

2

Read the simultaneous conversions

All six base representations appear instantly across the results panel — no button click required. Each result shows the value, the base name, the standard prefix (such as 0x for hex or 0b for binary), and the digit count. Click any result value or the Copy button to copy it to your clipboard immediately.

3

Explore advanced panels

Expand any of the collapsible panels below the results: the 32-bit Visualizer shows individual bits colour-coded and grouped into bytes with set/clear counts; Two's Complement shows signed and unsigned int32 representations; IEEE 754 shows the full single-precision floating-point breakdown; the Full Table lists all bases with lengths; and History stores your last 15 conversions for quick recall.

💡
The active input base card is highlighted

Whichever base you have selected as input is highlighted in green in the results panel. This makes it easy to confirm at a glance which base your original input belongs to and compare it against the converted outputs. Click any output value to copy it directly, or use it as a new input by changing the base selector.

💡

The Complete Guide to Number Systems and Base Conversion

How binary, octal, decimal, and hexadecimal number systems work, why each is used in computing, and how to convert between them — including Two's Complement and IEEE 754 floating-point.

What is a number system converter?

A number system converter — also called a base converter or radix converter — translates a numerical value from one numeral system into its equivalent representation in other bases. Every computing system ultimately operates in binary (base 2), but humans and software use decimal, hexadecimal, and octal representations at different levels of abstraction. Converting between them accurately and quickly is a daily requirement in software development, hardware engineering, and computer science education.

This tool converts simultaneously across six bases — Binary, Octal, Decimal, Hexadecimal, Base 32, and Base 36 — with no calculation steps required. Enter a value in any base and all others update instantly, along with a 32-bit bit pattern, Two's Complement, and IEEE 754 floating-point representation.

The four main number systems in computing

Base 2
Binary

Uses only digits 0 and 1. It is the fundamental language of all digital hardware — every transistor in a CPU is either on (1) or off (0). Machine code, memory addresses, network packets, and file storage all exist at this level. The standard prefix in code is 0b.

Base 8
Octal

Uses digits 0–7. Each octal digit represents exactly three binary bits, making it a compact binary shorthand. Predominantly used in Unix and Linux systems for file permissions — chmod 755 sets owner to read/write/execute (7 = 111) and group/others to read/execute (5 = 101). Its standard prefix is 0o.

Base 10
Decimal

The standard human number system using digits 0–9. Computers use decimal for all user-facing output — file sizes, port numbers, loop counters, and array indices all appear in decimal. Internally, however, processors work in binary and translate to decimal only for display.

Base 16
Hexadecimal

Uses digits 0–9 and letters A–F. Each hex digit represents exactly four binary bits (a nibble), so one byte is always two hex digits — making memory addresses, colour codes, and binary data far more readable. #22C55E is the ExcelGuru green. The standard prefix is 0x, as in 0xFF for 255.

Quick conversion reference table

DecimalBinaryOctalHex
0000
10101012A
16100002010
25511111111377FF
256100000000400100
1024100000000002000400
655351111111111111111177777FFFF

What is Two's Complement?

Two's Complement is the standard method for representing signed (negative and positive) integers in binary on virtually all modern processors. To find the Two's Complement of a negative number, you invert all the bits (bitwise NOT) and add 1. The result is how a negative integer is stored in memory. For example, -1 in 32-bit Two's Complement is 0xFFFFFFFF — all 32 bits set to 1. The most significant bit (bit 31) acts as the sign bit: 0 means positive, 1 means negative.

This matters practically when debugging memory dumps, reading register values in assembly, interpreting signed vs unsigned integer overflows, and understanding why -1 == 0xFFFFFFFF in C-style languages.

What is IEEE 754 floating-point?

IEEE 754 is the international standard for representing real numbers (decimals and fractions) in binary. A 32-bit single-precision float allocates its bits into three fields: 1 sign bit (0 = positive, 1 = negative), 8 exponent bits (stored with a bias of 127), and 23 mantissa bits (the fractional part of the number). This encoding allows 32 bits to represent values ranging from approximately 1.4 × 10⁻⁴⁵ to 3.4 × 10³⁸.

In practice, IEEE 754 explains why floating-point arithmetic sometimes produces unexpected results — for example, why 0.1 + 0.2 does not equal exactly 0.3 in most programming languages. The IEEE 754 panel in this tool lets you inspect exactly how any decimal number is stored in 32-bit float format, including special cases like NaN (Not a Number) and Infinity.

Base 32 and Base 36 — practical uses

Specifically, Base 32 (digits 0–9, A–V) is used in Crockford encoding, TOTP authentication codes, and some URL shorteners because it avoids ambiguous characters like O/0 and I/1. Base 36 (digits 0–9, A–Z) uses the entire alphanumeric character set and is commonly used for compact unique identifiers, short URLs, and serial numbers in case-insensitive contexts.

Who uses a number system converter?

🎓
Computer science students

Studying digital logic, computer architecture, and discrete mathematics requires constant conversion between bases. The 32-bit visualizer and Two's Complement panel make abstract concepts immediately visible and verifiable.

💻
Software developers

Debugging memory addresses, bitwise flags, and protocol fields often requires reading values in hex or binary. Converting quickly between bases without a calculator reduces context-switching during debugging sessions.

🎨
Web designers

Hex colour codes like #22C55E are directly interpretable as three two-digit hex values for Red, Green, and Blue. Converting 22, C5, and 5E to decimal gives the RGB values used in CSS colour functions.

⚙️
System administrators

Linux file permissions use octal notation. chmod 755 sets permissions based on three octal digits — understanding that 7 = 111 (rwx) and 5 = 101 (r-x) requires binary to octal conversion on the fly.

Frequently Asked Questions

Common questions about base conversion, negative numbers, large values, and the 32-bit visualizer.