Hash Generator

Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from any text instantly in your browser.

Developers verifying integrity, building checksums, or testing hash output.

How to use it

  1. Type or paste text

    Enter the text you want to hash into the input box.

  2. See all digests

    SHA-1, SHA-256, SHA-384, and SHA-512 are computed automatically as you type.

  3. Copy a hash

    Click the copy icon next to any algorithm to copy its digest.

Why use this tool?

A cryptographic hash turns any input into a fixed-length fingerprint, and the same input always produces the same digest. That property underpins a lot of everyday computing: verifying that a downloaded file was not corrupted or tampered with, comparing data without storing the original, and generating checksums for tests and caches. Computing one usually means a command-line tool or a snippet of code. This generator does it instantly in the browser, showing SHA-1, SHA-256, SHA-384, and SHA-512 digests for your text as you type, each copyable with one click. It uses the native Web Crypto API (crypto.subtle), so your input never leaves your device — which matters if you are hashing anything sensitive. Hashes are one-way by design: you cannot recover the original text from a digest, and that is exactly why they are useful for integrity checks and fingerprints.

Common use cases

File & data integrity

Generate a checksum to confirm text or data has not been altered in transit or storage.

Development & testing

Produce known hash values for unit tests, fixtures, and cache keys.

Verifying downloads

Compare a computed SHA-256 against a published checksum to confirm a file is genuine.

Deduplication

Hash content to detect duplicates without comparing the full data.

Learning cryptography

See how the same input always maps to the same fixed-length digest, and how one tiny change alters it completely.

Frequently asked questions

Why is there no MD5?

MD5 is not provided by the browser’s Web Crypto API and is cryptographically broken. Use SHA-256 or stronger for new work.

Is my text uploaded?

No. Hashing runs entirely in your browser via crypto.subtle, so the input never leaves your device.

Can I reverse a hash?

No. Cryptographic hashes are one-way; the original cannot be recovered from the digest.

Which algorithm should I use?

SHA-256 is the sensible default for integrity and general use. SHA-384/512 give longer digests; SHA-1 is legacy and best avoided for security.

Should I use this to hash passwords?

No. Plain SHA hashing is unsuitable for passwords — use a purpose-built algorithm like bcrypt, scrypt, or Argon2 with a salt on the server.

Why does a tiny change rewrite the whole hash?

That is the avalanche effect: a good hash spreads any change across the entire output, which is what makes tampering detectable.

Can I hash a file?

This tool hashes text input. For file checksums, use a file-hashing utility or your OS command line.

Is it free?

Yes — generate unlimited hashes for free, with no sign-up.

Related tools