Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes — for text or files.
100% in your browser — files never leave your device
Text
Hashes appear as you type.
File
How hashing works here
SHA-1 through SHA-512 run through the browser's native Web Crypto API. MD5 doesn't — Web Crypto deliberately omits it because it's considered broken — so this tool ships a small pure-JavaScript MD5 implementation (RFC 1321) alongside it. Both paths run entirely on-device; nothing is sent anywhere.
MD5 and SHA-1 are not collision-resistant: an attacker with enough compute can construct two different inputs that hash identically. Neither should be used anywhere an adversary controls the input — password storage, digital signatures, code-signing verification. They're still fine for what most people actually use them for: catching accidental corruption, not detecting deliberate tampering.
The "Compare to expected hash" field is built for the common real use case — verifying a downloaded file against the checksum a project publishes on its release page. Paste the expected hash, drop the file, and the tool tells you immediately whether any of the five algorithms match.
Frequently asked questions
Are MD5 and SHA-1 safe to use?
Not for security purposes. MD5 and SHA-1 are not collision-resistant — attackers can craft two different inputs that produce the same hash. They are fine for checksums and data integrity checks where there is no adversarial input, but you should use SHA-256 or higher for anything security-sensitive.
Is my text or file uploaded anywhere?
No. All hashing runs entirely in your browser using the Web Crypto API and a local MD5 implementation. No data leaves your device.
What is the file checksum feature for?
Paste the expected hash from a download page into the "Compare to" field and drop your file. The tool tells you whether the hashes match, so you can confirm the file has not been corrupted or tampered with.
Related tools
How to use Hash Generator
Use the free tool above, or check the options on your device. No subscription or account is required for the browser tool.
Hash Generator in your browser
Free browser tool — no installation
- Enter text or drop a file to hash.
- Review the generated hashes and optionally select Uppercase; enter an expected hash to compare.
- Copy the digest and inspect the comparison.
Hashes run locally. MD5 and SHA-1 are unsuitable for security-sensitive collision resistance; a matching hash alone does not establish who supplied a file.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
Hash Generator on Mac
Free browser tool — no installation
Use the tool on this page in Safari, Chrome, or Firefox. These steps use the browser tool; they do not require an extra app.
- Enter text or drop a file to hash.
- Review the generated hashes and optionally select Uppercase; enter an expected hash to compare.
- Copy the digest and inspect the comparison.
Hashes run locally. MD5 and SHA-1 are unsuitable for security-sensitive collision resistance; a matching hash alone does not establish who supplied a file.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a copy of the original. Find saved results in your browser’s Downloads menu; your browser may ask where to save them. If processing fails, keep the original and try a smaller file or a desktop browser.
Hash Generator on Windows
Free browser tool — no installation
Use the tool on this page in Edge, Chrome, or Firefox. These steps use the browser tool; they do not require an extra app.
- Enter text or drop a file to hash.
- Review the generated hashes and optionally select Uppercase; enter an expected hash to compare.
- Copy the digest and inspect the comparison.
Hashes run locally. MD5 and SHA-1 are unsuitable for security-sensitive collision resistance; a matching hash alone does not establish who supplied a file.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a copy of the original. Find saved results in your browser’s Downloads menu; your browser may ask where to save them. If processing fails, keep the original and try a smaller file or a desktop browser.
Hash Generator on iPhone / iPad
Free browser tool — no installation
Use the tool on this page in Safari or another current browser. These steps use the browser tool; they do not require an extra app.
- Enter text or drop a file to hash.
- Review the generated hashes and optionally select Uppercase; enter an expected hash to compare.
- Copy the digest and inspect the comparison.
Hashes run locally. MD5 and SHA-1 are unsuitable for security-sensitive collision resistance; a matching hash alone does not establish who supplied a file.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose Browse in the file picker to find a document in Files. A result may open in a preview; use Share → Save to Files when offered. If processing fails, keep the original and try a smaller file or a desktop browser.
Hash Generator on Android
Free browser tool — no installation
Use the tool on this page in Chrome or another current browser. These steps use the browser tool; they do not require an extra app.
- Enter text or drop a file to hash.
- Review the generated hashes and optionally select Uppercase; enter an expected hash to compare.
- Copy the digest and inspect the comparison.
Hashes run locally. MD5 and SHA-1 are unsuitable for security-sensitive collision resistance; a matching hash alone does not establish who supplied a file.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a document from the system file picker. Saved downloads are usually available in your browser’s Downloads menu or your file manager. If processing fails, keep the original and try a smaller file or a desktop browser.