Hash Value of a Pen Drive
Hash every file on a USB pen drive at once, and get a report listing each file, its path and its hash value.
In short
- Plug the pen drive into the computer.
- In the tool below, click [ OR SELECT A WHOLE FOLDER / PEN DRIVE ] and select the pen drive (or the folder on it that matters).
- Keep SHA-256 selected and press [CALCULATE HASH]. Each file gets its own hash value.
- Press [GENERATE REPORT] to download one PDF listing every file.
Your browser may ask whether to "upload" the files. That is its standard wording for giving a page access to a folder: the files are read on your computer and nothing is sent anywhere.
[1] SELECT FILE(S) TO HASH
Select one or multiple files to hash from your system, or drag and drop files below. Pick two files to check whether they are identical.
[2] CHOOSE YOUR HASH FUNCTION
[3] LAUNCH THE HASHING PROCESS
Need to keep this file private? Encrypt it in your browser with CryptFile.Online, the sister tool — nothing is uploaded there either.
"Hash value of a pen drive" can mean two things
1. The hash value of the files on it. This is what is usually needed: the videos, photos, recordings or documents copied onto the pen drive each get a hash value, so anyone can later check that the files produced are the files that were handed over. This page does exactly that.
2. The hash value of the whole device. A forensic examiner makes a bit-for-bit image of the entire drive, including empty space and deleted data, and hashes that image. That needs imaging software, not a website (see below).
What the report shows
When you select a folder, each file keeps its path, for example DCIM/Camera/VID_20260912.mp4, so two files with the same name in different folders stay distinguishable. The hash report lists every file with its path, size, algorithm and hash value, plus the date, a report ID, and how many files succeeded or failed.
Use the report's title and purpose fields to identify the drive: make, capacity, serial number if printed on it, and the case or reference number.
Operating systems sometimes keep their own files on a drive (for example a System Volume Information folder on Windows). If they appear in the list, they were on the drive; you can leave them in, or select only the folders that matter.
Keeping the drive unchanged
Calculating a hash only reads the files; it does not modify them. Opening files in other programs can, though: editing apps save, some media players write thumbnails or indexes. Hash the drive first, before anyone browses it, and avoid saving anything onto it.
Where the drive itself is evidence, forensic practice is to connect it through a write blocker, a device that physically prevents any writes, before hashing or imaging it.
Hashing the whole device (forensic image)
To hash the entire drive rather than its files, use imaging software. Free options include FTK Imager on Windows, which creates an image and reports its hash values, and the standard tools on Linux, where the drive appears as a device:
lsblk # find the pen drive, e.g. /dev/sdb sudo sha256sum /dev/sdb # hash the entire device
Be careful to pick the right device. The device hash changes if anything at all is written to the drive, including by the operating system when it mounts it, which is another reason write blockers exist.
पेन ड्राइव की हैश वैल्यू कैसे निकालें?
- पेन ड्राइव को कंप्यूटर में लगाएँ।
- ऊपर टूल में [ OR SELECT A WHOLE FOLDER / PEN DRIVE ] पर क्लिक करें और पेन ड्राइव (या उसका फ़ोल्डर) चुनें।
- SHA-256 चुना रहने दें और [CALCULATE HASH] दबाएँ। हर फ़ाइल की अलग हैश वैल्यू दिखेगी।
- [GENERATE REPORT] दबाकर सभी फ़ाइलों की PDF रिपोर्ट डाउनलोड करें।
ब्राउज़र "upload" पूछ सकता है, लेकिन कोई फ़ाइल अपलोड नहीं होती। सारा काम आपके कंप्यूटर पर ही होता है।
FAQ
Does copying files to a pen drive change their hash value?
No. A copy has exactly the same bytes, so the hash value is the same on the computer and on the pen drive. Calculate it on both sides to prove the copy is complete.
My browser asks to "upload" the files. Are they uploaded?
No. Browsers use that wording whenever a page is given access to a folder. The files are read and hashed on your computer, and no file or hash is sent anywhere.
Can I hash a CD or DVD the same way?
Yes. Open the disc's folder with the folder option and every file on it is hashed. Hashing the disc as a whole image needs imaging software, as for a pen drive.
How many files can I hash at once?
There is no fixed limit. Thousands of small files or a few very large videos both work; the progress shows which file is being processed.
The browser will not let me select the drive itself. What now?
Some browsers refuse a drive's top level. Select the folders on the drive instead, one at a time, or select all the files inside them with the normal file picker.