#️⃣ Hash Generator — MD5 SHA256 SHA512
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes for text or files instantly. Free online hash calculator — runs in browser, nothing sent to any server.
Hash Types
How to Use
1
Enter text or file
Type or paste text in the input, or switch to File mode and drag a file onto the drop zone.
2
Hashes generate instantly
MD5, SHA-1, SHA-256 and SHA-512 hashes are calculated automatically as you type.
3
Copy any hash
Click the copy icon next to any hash row. Optionally compare against a known hash value.
Frequently Asked Questions
What is a hash function?
A hash function takes any input and produces a fixed-length output (hash). The same input always produces the same hash, but the hash cannot be reversed to get the original input. Used for data integrity, password storage, and checksums.
What is the difference between MD5, SHA-1, SHA-256, and SHA-512?
They differ in output length and security. MD5 (128-bit) and SHA-1 (160-bit) are considered cryptographically broken and unsuitable for security purposes. SHA-256 and SHA-512 are part of the SHA-2 family and remain secure for most uses.
Can I use MD5 for password hashing?
No — MD5 is not suitable for password hashing. Use bcrypt, Argon2, or scrypt instead. MD5 is only appropriate for non-security checksums like file integrity verification.
Can I generate a hash for a file?
Yes — switch to File mode to hash any file. The SHA-256 hash of a file is its fingerprint: if even one byte changes, the hash completely changes.
Are the inputs sent to a server?
No. All hashing runs in your browser. Text hashes use the Web Crypto API (SHA family) and a JavaScript MD5 implementation. Files are read locally with FileReader.
Guía: Generador de Hash Criptográfico
¿Qué es?
Una función hash criptográfica transforma datos de cualquier tamaño en una cadena de longitud fija (el "digest"). Es determinista, unidireccional y resistente a colisiones. Usos: verificar integridad de archivos, checksums y firmas digitales.
Cómo usar
- Ingresa el texto a hashear.
- Selecciona el algoritmo: MD5, SHA-1, SHA-256, SHA-512.
- El hash se genera instantáneamente.
- Copia para verificación o base de datos.
Consejos
- Usa SHA-256 o SHA-512 para nuevas aplicaciones; evita MD5/SHA-1 para seguridad.
- Para contraseñas, usa bcrypt, Argon2 o PBKDF2 con sal — nunca hash directo.
- El mismo texto siempre produce el mismo hash — útil para verificar integridad de descargas.