Number Base Converter
Convert between binary, octal, decimal, and hexadecimal. Supports big integers up to 64 bits.
Input
Output
Ready — enter input to start
Frequently Asked Questions
What is Number Base Converter used for?
Number Base Converter transforms numbers between binary, octal, decimal, and hexadecimal formats, essential for low-level programming, network address calculations, and working with hardware registers. It auto-detects input format and displays all base conversions simultaneously.
What input formats are supported?
The tool accepts standard prefixes: 0x for hex, 0b for binary, 0o for octal, or plain digits which are auto-detected. You can enter "255", "0xFF", "0b11111111", or "0o377" and it will correctly interpret and convert all formats.
What is the difference between signed and unsigned interpretation?
The converter handles unsigned integers by default. The same bit pattern can represent different values depending on signed vs unsigned interpretation. For example, 0xFFFFFFFF as unsigned is a very large number, but in signed two's complement representation, it equals -1.
How does the converter handle large numbers?
The tool uses JavaScript BigInt for arbitrary precision integer handling, supporting very large numbers beyond standard 32-bit or 64-bit limits. This is useful for working with large cryptographic values or memory addresses in 64-bit systems.
Is my data sent to a server?
No. All conversions happen locally in your browser with no external communication. Your numbers and calculations stay completely private on your device.
What keyboard shortcuts are available?
Press Ctrl+Enter (or Cmd+Enter on Mac) while in the input field to quickly convert your number. This allows rapid base conversion during development.