Number Base Converter (Bin / Oct / Dec / Hex)
Convert numbers between binary, octal, decimal, and hexadecimal instantly. Supports large numbers and bitwise info.
00000000 00000000 00000000 00001010
About this tool
Number systems with different bases are fundamental to computer science and programming. This converter handles the four most common bases:
- Binary (base 2) — the language of computers, using only 0 and 1 - Octal (base 8) — common in Unix file permissions (chmod 755) - Decimal (base 10) — standard human number system - Hexadecimal (base 16) — compact representation for binary, used in colors, memory addresses, and binary files
Type a number in any base and all other representations update in real-time. The tool also shows the 32-bit binary representation, two's complement, and byte count — useful for low-level programming.
Supports very large numbers using JavaScript's BigInt, so there's no overflow at 32-bit or 64-bit limits.
Frequently Asked Questions
How do I convert hex color #FF5733 to RGB?
What is two's complement?
What does 0x prefix mean?
Why are Unix file permissions written in octal?
Related Tools
Hash Generator
Generate cryptographic hashes (MD5, SHA-1, SHA-256, SHA-512) from any text. 100% client-side, instant results.
Color Picker
Pick colors visually and convert between HEX, RGB, HSL, and CMYK. Generate color palettes and accessibility contrast ratios.
JSON Formatter
Format, validate, beautify, and minify JSON instantly. Syntax highlighting, error detection, and path copying. 100% client-side.
Timestamp Converter
Convert Unix timestamps to human-readable dates and back. Supports ISO 8601, RFC 2822, UTC, and local timezone.