All Four Bases at Once
Type in binary, octal, decimal, or hex and all other representations update simultaneously. No sequential conversion steps — all four answers are visible in one view the moment you finish typing.
500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.
Convert integers between binary, octal, decimal, and hexadecimal.
Programmers, embedded engineers, network administrators, and computer science students constantly work with numbers expressed in binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Manually converting between these bases is error-prone and slow — especially for large values or when two's complement representation matters for signed integers. This base converter shows all four standard representations simultaneously as you type in any one of them. Binary output is formatted in 4-bit nibble groups (for example, 1111 1111) because each nibble maps directly to one hexadecimal digit, making the relationship visually immediate. Signed two's complement view for 8-bit, 16-bit, and 32-bit widths lets you see how negative integers are stored in memory — essential for debugging overflow bugs.
Type in binary, octal, decimal, or hex and all other representations update simultaneously. No sequential conversion steps — all four answers are visible in one view the moment you finish typing.
Beyond the four standard bases, enter any radix from 2 to 36. Base 36 (using digits 0–9 and letters A–Z) is used in URL shorteners, identifier systems, and some legacy encodings.
Binary output is spaced in 4-bit groups, making it immediately clear which hex digit each nibble corresponds to. This is the standard display format used in datasheets, memory dumps, and register maps.
Toggle 8-bit, 16-bit, or 32-bit signed mode to see how negative values are represented in memory. Essential for debugging signed-integer overflow, bit manipulation, and hardware register interpretation.
Copy button outputs values with standard language prefixes (0b for binary in Python/JS, 0x for hex in C/Java/Python) or without them for plain numeric use. One option for all major languages.
All conversion logic is pure JavaScript with no external dependencies beyond the page load. Works without an internet connection once cached — useful in offline development environments and air-gapped labs.
Input: 255 (decimal)
Output: Binary: 1111 1111 — Octal: 377 — Hexadecimal: FF
Input: 0xCAFE (hexadecimal)
Output: Decimal: 51,966 — Binary: 1100 1010 1111 1110
Input: -1 in 8-bit signed two's complement
Output: Binary: 1111 1111 — Hex: FF — Decimal unsigned interpretation: 255