Skip to content
Text or file → MD5 / SHA hashesDeveloper tools

Hash Generator (MD5, SHA-256, SHA-512)

Get the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file at once, and check a file against the hash a website gives you.

Did this tool work for you?

Used Hash Generator (MD5, SHA-256, SHA-512)? Share how it went to help others.

About this tool

About Hash Generator (MD5, SHA-256, SHA-512)

Hash Generator calculates the cryptographic hashes of text or a file: MD5, SHA-1, SHA-256, SHA-384 and SHA-512, all at the same time. A hash is a fixed-length fingerprint of data. The same input always gives the same hash, and changing even one character gives a completely different one, which is why hashes are used to check that a download has not been corrupted or tampered with. Type or paste text and the five hashes appear as you type (the text is read as UTF-8, the standard encoding on the web). Or switch to File and choose any file up to 500 MB: it is read in your browser and never uploaded. To verify a download, paste the checksum published by the website into “Check against a hash”. The tool compares it with all five results, ignoring upper or lower case and spaces, and tells you which algorithm matches, or that none does, in which case the file is different or the hash was made with another algorithm. You can show the hashes in uppercase and copy any of them with one click. SHA hashes are worked out with your browser’s built-in Web Crypto API; MD5, which browsers do not offer, uses a small built-in implementation tested against the standard test values. A word of caution: MD5 and SHA-1 are fine for spotting accidental corruption but are broken for security, because collisions can be made deliberately. Use SHA-256 or longer for anything security-related, and never store passwords as plain hashes. If you need encoding rather than hashing, Base64 and URL encoding have their own tools.

Hash Generator (MD5, SHA-256, SHA-512) tool

What people use hashes for

Fingerprints for data

Verify downloads

Make sure a file arrived complete and unchanged.

ExamplePaste the SHA-256 shown on a Linux download page and check the ISO you downloaded.

Development and testing

Compare outputs, build cache keys or check API signatures.

ExampleCheck that your code’s SHA-256 of a test string matches the expected value.

Find duplicate files

Two files with the same hash have the same content.

ExampleHash two similar-looking photos to see whether they are really identical.

Evidence and records

Record a document’s hash to show later that it has not changed.

ExampleNote the SHA-256 of a contract PDF when you send it.

Hashing tips

Avoid the common mistakes

Use SHA-256 for security

MD5 and SHA-1 are only suitable for spotting accidental corruption.

Watch hidden spaces

A trailing space or new line changes the hash completely. Paste text exactly.

Don’t hash passwords yourself

Password storage needs slow, salted algorithms such as bcrypt or Argon2, not a plain SHA hash.

Encoding is not hashing

Base64 can be reversed; a hash cannot. Use the right tool for each job.

Base64 Encode/Decode
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed Hash Generator (MD5, SHA-256, SHA-512) and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 23 November 2026

Answers and guidanceFrequently Asked Questions
What is a hash?
A hash is a fixed-length fingerprint calculated from data. The same input always gives the same hash, and any change to the input gives a completely different one. You cannot get the original data back from a hash.
How do I check a downloaded file?
Choose File, pick the download, and paste the checksum from the website into “Check against a hash”. A green match means the file is exactly the one the website published.
Why does my hash differ from another website’s?
Usually because the input differs: an extra space or line break, a different character encoding, or hashing text instead of a file. This tool hashes text as UTF-8, exactly as typed.
Is MD5 still safe?
For checking accidental corruption, yes. For security, no: attackers can create two different files with the same MD5 or SHA-1 hash. Use SHA-256 or longer.
Is my file uploaded?
No. The file is read and hashed in your browser and never leaves your device.
Where did Base64 and URL encoding go?
They are encodings rather than hashes, and have their own, fuller tools: Base64 Encode/Decode and URL Encode/Decode.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.