Hash Generator
Forge / Hash Generator

Hash Generator

Compute cryptographic hashes of any text. SHA family uses the native Web Crypto API; MD5 is implemented in pure JavaScript for legacy compatibility checks.

⚡ Instant results🔒 100% private✓ Always free

Input

0 chars · 0 bytes

Message digests

SHA via Web Crypto · MD5 in JS
MD5128-bit · legacy
SHA-1160-bit
SHA-256256-bit
SHA-384384-bit
SHA-512512-bit

Your input is saved automatically in this browser. Hashing runs locally — no data leaves your device. MD5 is cryptographically broken and shown for legacy use only.

About this tool

This free online tool runs entirely in your browser. Your data never leaves your device — there is no server processing, no tracking, and no signup required. Use it as often as you need, on any device.

·

How This Calculator Works

This tool generates cryptographic hashes using the browser's built-in Web Crypto API (SubtleCrypto.digest()) and supports SHA-1, SHA-256, SHA-384, and SHA-512 as defined in FIPS 180-4. It also supports MD5 via a pure-JS implementation for legacy compatibility. All hashing is performed entirely in your browser — your data never leaves your device. SHA-256 and SHA-512 are recommended for all modern use cases.

Frequently Asked Questions

Which hash algorithm should I use?

Use SHA-256 for passwords, file integrity, and general purposes. SHA-1 is deprecated and vulnerable to collision attacks (broken in 2017). MD5 is cryptographically broken — use it only for checksums where security is irrelevant. SHA-512 is suitable for high-security applications.

Are hashes reversible?

No. Cryptographic hashes are one-way functions — you cannot derive the original input from the hash. This is by design. To verify data, you hash the input and compare the result to the known hash.

What is a hash collision?

A collision occurs when two different inputs produce the same hash. SHA-1 has known collision vulnerabilities (Google's SHAttered attack, 2017). SHA-256 has no known practical collisions and is considered secure for the foreseeable future.

Sources & References

Explore more free tools

All calculators are free, private, and work instantly — no signup, no data collection.

Browse all tools →