Number Base Converter
Bitwise Calculator
What is a Number Base Converter?
A number base converter is a tool that converts numbers between different numeral systems. Common bases include binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). These are fundamental in computer science and programming.
How to Use
- Enter a number in the input field
- Select the input base (binary, octal, decimal, or hex)
- See instant conversion to all other bases
- Use the bitwise calculator for AND, OR, XOR operations
Features
- Convert between binary, octal, decimal, and hexadecimal
- BigInt support for arbitrarily large numbers
- Signed and unsigned integer modes
- ASCII and Unicode character representation
- Bit length display
- Bitwise calculator (AND, OR, XOR, NOT, shifts)
- Copy buttons for all outputs
FAQ
What is binary?
Binary is a base-2 number system using only 0 and 1. It's the fundamental language of computers. Each digit represents a power of 2. For example, 1010 in binary equals 10 in decimal.
What is hexadecimal used for?
Hexadecimal (base 16) uses digits 0-9 and letters A-F. It's commonly used in programming to represent binary data compactly. Two hex digits represent one byte (8 bits), making it ideal for memory addresses and color codes.
How does signed mode work?
Signed mode interprets the number as a two's complement signed integer. For example, in 8-bit signed mode, 255 (binary 11111111) represents -1, and 128 (10000000) represents -128.