Free utility for testing true capacity of USB flash drives, detects fake capacities and bad sectors for reliability
H2testw is a free and open-source utility used for testing USB flash drives to make sure they match their advertised drive capacity. It was created by German software developer Harald Bögeholz.
The utility works by writing test data across the entire drive and then reading it back to check for errors. It will detect issues like:
If any issues are found, H2testw can calculate the real size of the drive minus problematic areas. It generates a log file showing detailed info about the test results.
Running H2testw provides peace of mind that your USB flash drive matches its specified capacity and is free from errors or hardware defects before you rely on it to store important data.
The utility has a simple graphical user interface, runs portably from a USB drive without installing, and is offered in both English and German languages. It works on Windows PCs.