Sauce Pan

Technology how-to guides for macOS, Linux, Windows, and Cloud providers

How to get SHA checksum values for files on macOS

Published 2022-04-02

Often times you may find it necessary to confirm the integrity of a file that you downloaded. This helps confirm that the file hasn't been tampered with or corrupted during transmission. There are a number of different checksums you may use, the most common include: MD5, SHA-1, SHA-256, and SHA-512.


shasum filename


shasum -a 256 filename


shasum -a 512 filename


md5 filename