Hash Generator MD5, SHA-1, SHA-256, SHA-512
Client-Side Processing
Calculate cryptographic hashes from text or files. Supports MD5, SHA-1, SHA-256, and SHA-512. All processing happens locally in your browser.
How to use Hash Generator
Your files stay private - everything is processed in your browser, nothing is uploaded.
Enter text
Type your text or upload a file to hash
Select algorithm
Choose from MD5, SHA-1, SHA-256, or SHA-512
Copy hash
Copy any of the generated hash values to your clipboard
Multiple Algorithms
MD5, SHA-1, SHA-256, and SHA-512 all at once
Text or Files
Hash any text string or upload files of any type
Easy Copy
One-click copy any hash to clipboard
When you need a digest, not a password
This page writes hashes. It does not store secrets and it does not crack them.
You want to check a download
Hash the file. Compare it to the publisher's SHA-256. A match means the bytes match.
You need a new account password
Use the password generator. Do not hash a weak phrase and call it done.
You want to recover the original text
You cannot. A hash is one way.
Which algorithm to pick
- SHA-256: The default for integrity and new work.
- SHA-512: Longer digest. Still a SHA-2 pick.
- MD5 and SHA-1: Fine to match an old checksum. Not for new security.
- Where it runs: In the tab. Text or a local file.
Hash vs a password
Stay on Hash Generator
- You are checking file integrity.
- You already have the input.
- You need MD5, SHA-1, SHA-256, or SHA-512.
Use Password Generator
- You need a new secret.
- You will paste it into a manager.
- You do not need a digest of existing text.
A hash is not encryption
You cannot decrypt a hash. Collisions exist in theory. MD5 and SHA-1 have practical collision attacks. Prefer SHA-256 when the publisher gives you a choice.
Related tools
Make a password
Web Crypto random secret, not a hash.
Encode text as Base64
Encoding is reversible. Hashing is not.
Frequently Asked Questions
What is a hash?
A fixed-length digest of the input. The same input always matches. A tiny change does not.
Which algorithm should I use?
SHA-256 for most checks. SHA-512 if you want a longer SHA-2 digest. MD5 and SHA-1 only to match an old published checksum.
Can a hash be reversed?
No. That is the point. You compare hashes. You do not recover the file.
Why not MD5?
MD5 has known collisions. Use it only when a publisher still prints an MD5.
How do I verify a download?
Hash your file. Compare it to the published digest. If they match, the bytes match.
What is a collision?
Two different inputs with the same digest. SHA-256 makes that impractical. MD5 and SHA-1 do not.
Does the file leave my device?
No. Hashing runs in the browser.
Can I hash a file, not just text?
Yes. Drop a local file.
Is this a password tool?
No. Use Password Generator for a new secret.
Do you store the input?
No. Closing the tab drops it.
Is hashing the same as encryption?
No. Encryption can be reversed with a key. A hash cannot.