Hash Generator - Create Cryptographic Hashes

Generate cryptographic hashes from text or files. Support for MD5, SHA1, SHA256, SHA384, SHA512, and other algorithms. Compare hashes for integrity verification.

Enter the text you want to hash

Understanding This Tool

What It Does

Generate cryptographic hashes (MD5, SHA1, SHA256, SHA512, etc.) for any text input. Hashes are unique fingerprints of data used for integrity verification and password storage.

Understanding the Results

  • Hash Value: The generated hash string for the input
  • Hash Algorithm: The specific algorithm used (SHA256, MD5, etc.)
  • Hash Length: Number of characters in the hash (varies by algorithm)
  • Hexadecimal Format: The hash displayed in hex characters

Common Use Cases

  • Password Storage: Never store plain text. Hash passwords with a slow, salted algorithm such as Argon2id, bcrypt or scrypt (a fast hash like SHA-256 is unsuitable for passwords)
  • File Integrity: Verify files haven't been modified by comparing hashes
  • Checksums: Validate downloaded files match original versions
  • Deduplication: Identify duplicate files by comparing hashes
  • Malware Detection: Compare file hashes against known malware databases

Pro Tips & Best Practices

  • Algorithm Choice: Use SHA-256 for file and data integrity. For passwords, do NOT use SHA-256 (it is too fast); use a slow password hash such as Argon2id, bcrypt or scrypt. Avoid MD5, which has known vulnerabilities
  • Salting: Add random data (salt) to passwords before hashing for security
  • One-Way Function: Hashes can't be reversed; you can't get original data back
Last reviewed: Reviewed by the

How this tool works: This tool runs in your browser and on our server in real time. Depending on the tool, results are computed directly from the input you provide or retrieved from live, authoritative data sources at the moment you run a lookup. We do not sell your data, and your lookups are kept private — any history shown here is stored only on your device.