BIN
Base 2 · Binary
OCT
Base 8 · Octal
DEC
Base 10 · Decimal
HEX
Base 16 · Hexadecimal
Bit Info
Bit length
—
Bytes
—
NOT (1's)
—
Unsigned
—
Bitwise Calculator (32-bit)
Enter two decimal values below
Operand A (decimal)
Operand B (decimal)
A AND B
—
A OR B
—
A XOR B
—
A << 1
—
A >> 1
—
💡
Edit any field to convert. Supports non-negative integers up to 253∀ (JavaScript safe integer limit).
HEX input is case-insensitive —
0xFF and ff both work.
What is Number Base Converter?
This tool converts integer values between binary, octal, decimal, and hexadecimal in real time. It is useful for programming, debugging, low-level data inspection, and permission math.
How to Use Number Base Converter
- Type a value into any base field.
- The matching values in the other bases update instantly.
- Use the bit info panel to inspect bit length and unsigned views.
- Copy any representation you need for code, logs, or documentation.
Understand Number Base Converter ▾
Example
Input
Decimal 255
Output
Binary 11111111 · Octal 377 · Hex FF
Common Base Conversions
- Convert decimal IDs into binary or hexadecimal for debugging
- Check bit patterns before writing masks, flags, or permissions
- Translate hexadecimal values from APIs, logs, or memory tools
- Compare binary, octal, decimal, and hex forms side by side
Why Use This Tool
- See all major base representations at once without manual conversion.
- Useful for inspecting flags, byte values, and memory-oriented data.
- Supports large integers with BigInt instead of truncating at 32 bits.
Frequently Asked Questions
What is the maximum number size?
Arbitrarily large integers are supported using JavaScript BigInt.
Does it handle negative numbers?
Positive integers are supported. Negative numbers and floating-point values require a separate converter.
What does Number Base Converter Online —Binary, Octal, Decimal & Hex do?
Number Base Converter Online —Binary, Octal, Decimal & Hex runs entirely in your browser and helps you complete this task without uploading data to a server.
Is Number Base Converter Online —Binary, Octal, Decimal & Hex free to use?
Yes. This tool is free to use and does not require sign-up.