Developer Tools

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text or files in your browser.

Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file on your device, and compare them with a checksum you were given. Need a random secret rather than a hash? Try the Password Generator.

Your text and files never leave your device. Hashes are calculated entirely in your browser.
Hashes are shown for text as UTF-8, exactly as typed (line breaks included). MD5 and SHA-1 are not secure against deliberate collisions; use SHA-256 or stronger for anything security-related.
Input
0 characters

How it works

Private hash generation in your browser

1

Add text or a file

Type text, or choose a file. The file is read locally and never uploaded.

2

Read the hashes

All five hashes are calculated at once and shown as hexadecimal.

3

Compare or copy

Paste a published checksum to see whether it matches, or copy any hash.

Use cases

When this comes in handy

Verify a download

Hash an installer or ISO and compare it with the checksum published by the vendor.

Check two files are identical

Matching hashes mean the files have the same contents, regardless of filename.

Generate a test fixture

Get the SHA-256 of a string for tests, cache keys or documentation examples.

FAQ

Common questions

Is my file or text uploaded anywhere?

No. Hashes are calculated in your browser; the SHA family uses the browser's built-in Web Crypto API.

Which algorithms are supported?

MD5, SHA-1, SHA-256, SHA-384 and SHA-512. Other algorithms such as SHA-3, BLAKE2 and CRC32 are not offered.

Are MD5 and SHA-1 safe to use?

Not for security. Practical collisions exist for both, so they should not be used for signatures, certificates or password storage. They are still common for checksums and for matching legacy systems. Prefer SHA-256 or stronger.

Can I hash a password with this?

A plain hash is not suitable for storing passwords: it is fast to brute-force. Real systems use a slow, salted password-hashing function, which this tool does not provide.

Is there a file size limit?

Files up to 256 MB can be hashed, because the browser's SHA functions need the whole file in memory. Larger files show a clear message instead of freezing the tab.

Related Tools