#️⃣ 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.
Guide : Générateur de Hash
Qu'est-ce que c'est ?
Le Générateur de Hash calcule les empreintes cryptographiques MD5, SHA-1, SHA-256 et SHA-512 pour n'importe quel texte ou fichier.
Les hachages sont utilisés pour vérifier l'intégrité des données, stocker des mots de passe (avec bcrypt/Argon2) et créer des signatures numériques.
Comment utiliser
- Entrez votre texte ou glissez un fichier dans la zone d'entrée.
- Sélectionnez l'algorithme de hachage (SHA-256 recommandé).
- Le hash s'affiche instantanément.
- Copiez la valeur pour l'utiliser dans votre application.
Conseils professionnels
- N'utilisez pas MD5 ni SHA-1 pour la sécurité — ils sont considérés comme obsolètes.
- Utilisez SHA-256 pour vérifier les téléchargements de fichiers.
- Pour les mots de passe, utilisez bcrypt, Argon2 ou PBKDF2 — pas de hash simple.