About this tool
A hash function turns any data into a short “fingerprint” of fixed length. Even the tiniest change in the input produces a completely different hash. That is why hashes are used to verify downloads, compare files or identify data uniquely.
The hash generator calculates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once – for text or files, as hex or Base64. Paste an expected hash and the tool instantly shows whether and with which algorithm it matches.
Files are read locally and never uploaded, so you can verify even large downloads like ISO images without sharing them.
How it works
- Choose “Text” or “File”.
- Enter the text or pick the file – all hashes appear instantly.
- Switch the output to Base64 or uppercase if needed.
- To verify, paste the publisher’s checksum into “Compare with expected hash”.
Frequently asked questions
Which algorithm should I use?
For checksums and new applications SHA-256 is the common standard. MD5 and SHA-1 are no longer collision-resistant: attackers can deliberately create two different files with the same hash. They are still fine for detecting accidental errors.
Can a hash be reversed?
No, hash functions are one-way. Short or common inputs can still be found by guessing or with precomputed tables, so a hash is not encryption.
Is SHA-256 suitable for storing passwords?
Not on its own. SHA-256 is fast by design and therefore open to brute force. Passwords need slow, salted schemes such as Argon2, bcrypt or scrypt – the Password Hash Generator creates and verifies those. Create strong passwords with the Password Generator.
Why does my hash not match the publisher’s?
Common causes: the download is incomplete, you are comparing a different algorithm, or – for text – invisible characters differ, such as line endings (CRLF vs. LF) or a trailing space.
Is a Base64 hash different from a hex hash?
No, it is the same bytes, just written differently. Hex is common for checksums, Base64 for example for Subresource Integrity (integrity="sha384-…") in HTML. Learn more about Base64 with the Base64 Encode / Decode converter.