Number Base Converter

Binary, Octal, Decimal, Hex Converter

Free online number base converter tool. Convert between binary, octal, decimal, and hexadecimal with bit operations and ASCII character codes. Perfect for programming and system development.

How to Use
1

Enter the number you want to convert

2

Select the input number base (binary, octal, decimal, or hexadecimal)

3

Click the 'Convert' button

4

View results displayed simultaneously in all four number bases

5

Click any result to copy it to the clipboard

6

Use the bit operations section for bitwise calculations

7

View ASCII character codes using the show table button

Key Features
High-precision conversion between binary, octal, decimal, and hexadecimal
Bit operations (AND, OR, XOR, NOT, shift operations)
ASCII character code table display
Automatic input validation with real-time error display
One-click copy functionality with prefixes
Support for large numbers (within JavaScript's safe integer range)
Simultaneous display in multiple number bases
Number Base Conversion

Free online number base converter tool. Convert between binary, octal, decimal, and hexadecimal with bit operations and ASCII character codes. Perfect for programming and system development.

Decimal (Base 10)

---

Binary (Base 2)

---

Octal (Base 8)

---

Hexadecimal (Base 16)

---
Bit Operations

Perform bitwise logical operations between two numbers

ASCII Character Table

ASCII characters with corresponding numeric codes

Frequently Asked Questions

This converter is essential for programming, system development, and digital circuit design where different number base representations are needed. Binary is used for computer internal processing, while hexadecimal is common for memory addresses and color codes.
The tool supports four number bases: binary (0,1), octal (0-7), decimal (0-9), and hexadecimal (0-9,A-F). Any input number is automatically converted to the other three bases.
Available operations include AND (&), OR (|), XOR (^), NOT (~) logical operations and left shift (<<), right shift (>>) operations. These are commonly used in programming for efficient processing and flag management.
The tool supports positive integers within JavaScript's safe integer range (Number.MAX_SAFE_INTEGER), approximately 9,007 trillion. Negative numbers are not supported.
The ASCII table displays standard printable characters (space to ~) with their corresponding decimal, binary, and hexadecimal codes. It serves as a reference when working with character codes in programming.
Click the copy button next to any conversion result to copy the value with prefix to the clipboard. For example: binary numbers are copied as '0b1010', hexadecimal as '0xA'.