Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
Convert numbers between binary, octal, decimal, and hexadecimal in real time. Type in any field and the others update instantly. Supports bit grouping, case toggling for hex, and arbitrary-precision integers via <code>BigInt</code>.
0x, 0b, or 0o prefixes; they will be recognised and stripped automatically.BigInt, so values well beyond 64 bits work without precision loss.A base (or radix) is the number of unique digits used to represent values in a positional number system. The base determines how much each column contributes: base 10 uses powers of 10 (1, 10, 100, 1000), base 2 uses powers of 2 (1, 2, 4, 8), and base 16 uses powers of 16 (1, 16, 256, 4096).
Binary (base 2) is the internal language of computers. All data — text, images, code — is stored as sequences of 0s and 1s. While humans rarely read raw binary, understanding it is essential for low-level programming, bitwise operations, and network protocols.
Hexadecimal (base 16) is the most common shorthand for binary because each hex digit represents exactly four binary digits. A single byte (8 bits) is written as two hex digits, from 00 to FF. You will see hex in memory addresses, hash outputs (like MD5 and SHA-256), MAC addresses, and CSS color codes.
Octal (base 8) is less common today but still appears in Unix file permissions (chmod 755) and some legacy systems. Each octal digit represents three binary digits.
00 to FF), making it far more compact and readable than the eight-digit binary equivalent. This is why hex is used for memory addresses, color codes, MAC addresses, and hash output.0x prefix indicates a hexadecimal literal in C, C++, JavaScript, Python, and most other programming languages. For example, 0xFF equals 255 in decimal. Similarly, 0b indicates binary (0b1111 = 15) and 0o indicates octal (0o17 = 15) in many languages.