Hash Generator

Generate cryptographic hashes (SHA-256, SHA-1, SHA-384, SHA-512) from any text. Computed locally with the browser's Web Crypto API — your input never leaves your device.

What are hashes for?

A hash turns any input into a fixed-length fingerprint. The same input always produces the same hash, but you can't reverse it back to the original. Developers use hashes to verify file integrity (checksums), index data, and store password representations. SHA-256 is the modern default; SHA-1 is shown for legacy compatibility only (it's no longer collision-resistant).

Which algorithm should you use?

Everyday uses

Want the concept explained from scratch? Read our guide on what a SHA-256 hash is and what it's used for.

Computed privately in your browser

Hashing here uses the browser's built-in Web Crypto API, so whatever you enter is processed on your device and never uploaded. That makes it safe to hash sensitive strings, and it works offline once the page has loaded.

Recommended

Frequently asked questions

Is my text sent anywhere?

No. Hashing uses the browser's built-in crypto.subtle API and runs entirely on your device.

Why no MD5?

The Web Crypto API doesn't support MD5 because it's cryptographically broken. We provide the secure SHA family instead.