Skip to content

Hash generator

Compute cryptographic hashes of any text with the Web Crypto API. Choose SHA-1, SHA-256, SHA-384 or SHA-512 and get the hexadecimal digest instantly.

Your text is processed in your browser as you type. It is not sent to ToolsNest servers or stored after you leave the page.

How to use the Hash Generator

  1. 1Paste or type the text.
  2. 2Choose the algorithm.
  3. 3Copy the hexadecimal digest.

Supported formats and limits

  • Algorithms: SHA-1, SHA-256, SHA-384, SHA-512 (the set supported by Web Crypto).
  • Text is hashed as UTF-8.
  • MD5 is not offered: it is cryptographically broken and not part of Web Crypto.
  • Hashing is one-way — a hash cannot be converted back to the original text.

Common uses

  • Verifying a checksum for a downloaded value.
  • Generating a content fingerprint for caching.
  • Comparing two texts without revealing them.

Frequently asked questions

Should I use SHA-1?

SHA-1 is considered weak for security purposes. Prefer SHA-256 or stronger for anything security-related.

Can I hash a file?

This tool hashes text. File hashing may be added in a future version.

Related tools