# SHA Hash Generator — Create SHA-256 Hashes Locally

> Generate SHA-256, SHA-384, and SHA-512 hashes from text locally in your browser.

Source: https://toolpantry.app/hash-generator

## About

Create a SHA-256, SHA-384, or SHA-512 digest from text using the browser's Web Crypto API.

## Quick answer

**How do I generate a hash?** Type or paste text and pick MD5, SHA-1, or SHA-256; the hash computes locally in your browser.

## How to generate a hash (SHA-256)

1. **Paste text or drop a file** — hashing is local.
2. **Pick the algorithm** — SHA-256 for integrity; MD5/SHA-1 for legacy comparisons.
3. **Copy the digest** — lowercase hex, ready to compare against a published checksum.

## Where hashes earn their keep

- Verifying a download against the vendor’s published checksum
- Producing checksums for your own release files
- Checking whether two files are byte-identical

## Good to know

SHA-256 is the modern standard for integrity checks. MD5 and SHA-1 are cryptographically broken for security purposes but still fine for quick duplicate detection. A hash proves the files match — it says nothing about whether the file is safe to run. Related: [password generator](https://toolpantry.app/password-generator) for secrets (where unpredictability, not comparison, is the point).

## Notes

Hashing is one-way: a digest can help compare data, but it does not encrypt the original text.

## FAQ

**Which algorithm should I use?**

SHA-256 is a common general-purpose choice. SHA-384 and SHA-512 produce longer digests when your system requires them.

**Does this support MD5?**

This page uses the browser's native Web Crypto algorithms and does not include MD5.
