Skip to content
TriVisionTech

Free security tool

SHA hash generator (SHA-1, SHA-256, SHA-512)

Get the SHA-1, SHA-256 and SHA-512 digest of any text, computed locally.

About this tool

Switch between hashing text or a whole file and see the SHA-1, SHA-256 and SHA-512 digest update instantly. The hashing is done by the browser's built-in Web Crypto API, so your input never leaves the page - useful for checking a download's checksum, generating a fingerprint, or learning how hashing behaves when you change a single character.

How to use it

  1. 1 Choose Text or File as the input type.
  2. 2 Type or paste text, or pick a file - the hashes calculate automatically.
  3. 3 Click any hash to copy it.
  4. 4 Change one character (or pick a different file) and watch every hash change completely.

Frequently asked questions

Which algorithms are supported?

SHA-1, SHA-256 and SHA-512, via the standard SubtleCrypto.digest API.

Why is there no MD5?

The browser's crypto API does not include MD5 (it is considered broken). SHA-256 is the safe default for new uses.

Is my text uploaded?

No. Hashing runs entirely in your browser.

Can I hash a file?

Yes - switch the input type to "File" and choose it. The file is read and hashed locally; it is never uploaded.

Embed this tool

Add this free tool to your own website — copy the code below. It stays up to date automatically.

More free tools

Browse all 33 free tools