Use MD5, SHA-1 or SHA-256 to hash pasted text or uploaded files up to 10 MB. Hashing runs in your browser.
Made by ScoreDetect. The example hashes were last checked on November 2, 2026. Pasted text is encoded as UTF-8; uploaded file bytes are hashed with MD5, SHA-1 and SHA-256.
How to generate a hash
- To hash text, paste it into the text field. The generator returns MD5, SHA-1 and SHA-256.
- To hash a file, select one that is 10 MB or smaller. The generator returns MD5, SHA-1 and SHA-256 fingerprints.
- Copy the digest and compare it with a reference from a trusted source, using the same algorithm.
Hash a file in Windows PowerShell
If you prefer a command line, PowerShell can calculate a file’s hash without using this web tool. Replace the path in this command with your file’s location:
Get-FileHash -Path "C:\path\to\file" -Algorithm SHA256
Microsoft’s Get-FileHash documentation says SHA-256 is the default if you omit -Algorithm.
How the hash generator works
For pasted text, the generator encodes the characters as UTF-8 and calculates MD5, SHA-1 and SHA-256. For an uploaded file, it calculates all three hashes from the file’s bytes. These algorithms produce fixed-length digests that can be compared to detect whether data matches a known reference. The algorithm specifications are documented in RFC 1321 for MD5, RFC 3174 for SHA-1 and NIST’s Secure Hash Standard for SHA-256.
A hash is useful for comparing content, but it does not identify who created a file or prove that it is safe. NIST’s Secure Hash Standard explains how digests can be used to detect whether messages have changed.
Worked example: hash “abc”
For pasted text abc, the tool displays MD5 900150983cd24fb0d6963f7d28e17f72, SHA-1 a9993e364706816aba3e25717850c26c9cd0d89d and SHA-256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. In the tool’s third sample only, the example file sample.bin has MD5 900150983cd24fb0d6963f7d28e17f72, SHA-1 a9993e364706816aba3e25717850c26c9cd0d89d and SHA-256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. These file hashes belong to this example file only.
How to read the result
Compare each complete digest with a reference produced using the same algorithm. For an uploaded file, this generator returns MD5, SHA-1 and SHA-256, so match the reference to the algorithm you choose. Microsoft’s Get-FileHash guidance warns against relying on MD5 or SHA-1 to protect files from attack or tampering.
A matching digest means the calculated outputs agree; it does not establish the file’s author, download source or safety. The reference matters: use one published by the software or file provider you trust.
Common hash results
Scroll horizontally to view each complete hash value.
| Input | Text MD5 | Text SHA-1 | Text SHA-256 | File MD5 | File SHA-1 | File SHA-256 |
|---|---|---|---|---|---|---|
| Empty text | d41d8cd98f00b204e9800998ecf8427e |
da39a3ee5e6b4b0d3255bfef95601890afd80709 |
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
No file selected yet | No file selected yet | No file selected yet |
abc |
900150983cd24fb0d6963f7d28e17f72 |
a9993e364706816aba3e25717850c26c9cd0d89d |
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad |
No file selected yet | No file selected yet | No file selected yet |
Example only: abc + sample.bin |
900150983cd24fb0d6963f7d28e17f72 |
a9993e364706816aba3e25717850c26c9cd0d89d |
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad |
900150983cd24fb0d6963f7d28e17f72 |
a9993e364706816aba3e25717850c26c9cd0d89d |
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad |
Frequently Asked Questions
What is a file hash?
A file hash is a fixed-length digest calculated from a file’s bytes. It gives you a value to compare with a reference digest to check whether the content matches what you expected. A matching value does not identify who created the file, and an untrusted reference cannot establish authenticity.
Which hashes does the generator provide?
Pasted text is encoded as UTF-8 and gets MD5, SHA-1 and SHA-256. An uploaded file gets MD5, SHA-1 and SHA-256 fingerprints. Compare the complete digest with a reference made using the same algorithm.
How do I compare a file with a published hash?
For an uploaded file, compare its MD5, SHA-1 or SHA-256 result with a published checksum made using that same algorithm. For pasted text, compare MD5, SHA-1 or SHA-256 with a matching reference. Compare the complete strings; a match does not prove the file’s source or safety.
Does changing a file name change its fingerprint?
No. File hashes are calculated from the uploaded bytes, not the filename. Renaming a file without changing its contents leaves its bytes the same, so its MD5, SHA-1 and SHA-256 results stay the same. Editing or re-saving it can change the bytes and therefore the digests.
Why can text and file hashes differ?
Text is encoded as UTF-8, while an uploaded file is hashed from its raw bytes. If the resulting byte sequences are identical, the matching algorithms produce the same hashes; if the bytes differ, the hashes may differ too. In the tool’s example, pasted text abc and the example file have the same MD5, SHA-1 and SHA-256 results.
Which hash algorithm should I use?
Choose SHA-256 when collision resistance matters. This generator also returns file MD5 and SHA-1, but Microsoft’s Get-FileHash guidance warns against relying on MD5 or SHA-1 to protect files from attack or tampering. Compare the full digest with a reference produced using the same algorithm; a match alone does not prove the file is safe.

