Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, or SHA-512 hashes from text.
This Hash Generator computes MD5, SHA-1, SHA-256, SHA-384, or SHA-512 hashes from any text you type or paste, updating instantly. It's useful for checksums, comparing text integrity, or general compatibility — note that MD5 and SHA-1 are cryptographically broken and shouldn't be relied on for security. All hashing runs locally in your browser.
How to use
- 1Type or paste text into the input.
- 2Choose a hash algorithm.
- 3The hash updates automatically — copy it when you need it.
Frequently asked questions
What is a hash function?
A hash function takes any input and produces a fixed-length string (the hash) that's practically unique to that exact input — changing even one character produces a completely different hash.
What are hashes commonly used for?
Verifying a downloaded file wasn't corrupted (comparing its published checksum), detecting whether two pieces of text are identical without comparing them directly, or generating a stable identifier from a string.
Which algorithm should I use?
SHA-256 is a solid general-purpose choice today. MD5 and SHA-1 are still offered for compatibility with older systems and simple checksums, but shouldn't be relied on anywhere security matters.
Is MD5 secure?
No — MD5 is cryptographically broken and is provided here for checksums and compatibility only, not security.