| Decimal | Binary | Octal | Hexadecimal |
|---|
Whether you're a student learning binary, a developer debugging a hex dump, or a network engineer working out a subnet mask, converting numbers by hand is slow and error-prone. I7 Pixel's converter does it instantly, live, right in your browser.
From typing your value to copying the result, it takes seconds.
A quick primer on what each base actually represents and where you'll run into it in the real world.
Binary uses only two digits: 0 and 1. Every value stored or processed by a computer — from a single character to an entire video file — ultimately comes down to binary at the hardware level, since a transistor is either on or off. Understanding binary is fundamental to computer science, digital logic, and low-level programming.
Hex uses 16 symbols (0–9 and A–F), where each hex digit maps cleanly to exactly 4 binary bits. This makes hex a compact shorthand for binary that's far easier for humans to read and write. You'll see it constantly in color codes (#FF5733), memory addresses, MAC addresses, and debugging output.
Octal uses digits 0–7 and was historically popular because 3 binary bits map exactly to one octal digit. Today its most common use is Unix/Linux file permissions (e.g. chmod 755), where each digit represents read, write, and execute flags for owner, group, and others.
Decimal is the standard base-10 system with digits 0–9 that we use in everyday counting and arithmetic. It's the "human-readable" base that the other three ultimately get translated to and from when a program needs to display a number a person can understand at a glance.
Quick guide to which base you'll actually encounter in different contexts.
| Base | Digits Used | Common Use Cases |
|---|---|---|
| Binary Base 2 | 0–1 | CPU/logic-level data, IP subnet masks, bitwise flags, digital electronics |
| Octal | 0–7 | Unix/Linux file permissions (chmod), legacy systems, some escape sequences |
| Decimal | 0–9 | Everyday numbers, user-facing output, math and general counting |
| Hexadecimal Popular | 0–9, A–F | Color codes, memory addresses, MAC addresses, hash digests, debugging |
Converting between bases comes up more often than you'd think, across a wide range of technical work.
Answers to the most common questions about converting numbers with this tool.
Yes — completely free. There are no limits, no accounts, and no charges. Convert as many numbers as you need.
You can convert between Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16). Type into any one field and the other three update instantly.
No — never. All conversion happens locally using JavaScript in your browser. Nothing you type is ever sent anywhere.
The converter supports integers up to Number.MAX_SAFE_INTEGER, which is 2⁵³ − 1 (9,007,199,254,740,991).
Yes. The hexadecimal field accepts values with or without a leading 0x or 0X prefix, and it isn't case-sensitive.
It shows the exact binary representation of your current value, grouped into 4-bit nibbles, so you can quickly see which individual bits are set to 1.
Tried the tool? Leave a quick rating and help others find it.
All tools at I7 Pixel run in your browser — no uploads, no accounts, always free.