Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or a file, live and entirely in your browser — nothing you type or upload is sent anywhere.

MD5
SHA-1
SHA-256
SHA-384
SHA-512

Frequently asked questions

What's a hash actually used for?

A hash is a fixed-length fingerprint of any input — the same input always produces the same hash, and changing even one character produces a completely different one. That makes hashes useful for verifying a file downloaded correctly (compare its hash to the one the publisher listed), spotting duplicate files, or using as a cache key. A hash can't be reversed back into the original data.

Is MD5 or SHA-1 safe to use?

Not for anything security-sensitive — both have known practical collision attacks, meaning someone can deliberately craft two different files that hash to the same value. They're still fine for non-security uses like checksums, deduplication, or cache keys, where nobody's trying to fool you on purpose. SHA-256 or better is the right choice whenever security actually matters.

How does the "compare to a hash" field work?

Paste in a hash you already have — from a download page, a Git commit, or anywhere else — and this tool figures out which algorithm it matches by its length, then highlights that row green if your text or file produces the exact same hash, or red if it doesn't.

Is my file uploaded anywhere?

No. SHA-1 through SHA-512 are computed with your browser's own built-in Web Crypto API, and MD5 (which browsers don't provide natively) runs from a local implementation on this page — either way, nothing you type or upload is sent to a server.