Verify a checksum in OS X

Edited by Rich, Eng, Anonymous

The OS X operating system offers two built in methods to verify the checksum of a downloaded file. A checksum is a sequence of numbers and letters which is derived from a newly created file. The checksum of a download can be compared to that of the original file to determine if data is missing. Missing data corrupts files, any corrupt file will not run correctly. Checking the checksum before working with large downloaded files can reduce the time spent troubleshooting.

Was this helpful? Yes | No | I need help



  1. 1
    Find the checksum.
    Return to the web page you downloaded the file from. The site will list the SHA-1 or MD5 value of the file. Copy this value to a blank text document.
    Was this step helpful? Yes | No | I need help

  2. 2
    1. Open Terminal.  
      1. Shortcut. Hold the command key down and press space to open Spotlight.
      2. Search for terminal in spotlight
    2. Type openssl md5 in terminal. Do not press enter yet.
    3. Enter file path. At this point you can drag and drop the file into the terminal to add the file path automatically. Otherwise, you need to type the entire path to the file manually.
    4. Interpreting output. The openssl md5 command will output the following: MD5(filename)= value.
    Was this step helpful? Yes | No | I need help

  3. 3
    1. Open Terminal. Follow the instructions above to open the terminal window.
    2. Type openssl sha1 in the terminal window. Do not press enter yet.
    3. Enter the file path. Drag and drop the file into the terminal window to copy the file path into the command. This will save you an immense amount of time.
    4. Interpreting the output. Output will read: SHA1(filename)= value.
    Was this step helpful? Yes | No | I need help

  4. 4
    Comparing checksum.
    After either operation, copy the checksum into the same text document as the first step. Copy the value directly underneath the initial value. Compare the two values; If they are the same then the file downloaded correctly.
    Was this step helpful? Yes | No | I need help


Tips Tricks & Warnings

  • Apple Official Downloads. Official downloads from Apple are automatically checked for SHA-1 verification by the system. No need to perform the check yourself.
  • If you have problems with any of these steps, ask a question for more help, or post in the comments section below.


VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Premier Author
Articles Started
Article Edits
4,680 Points
Reckit is a premier author with VisiHow. Reckit has achieved the level of "Corporal" with 4,680 points. Reckit has started articles and made article edits. people have read Reckit's article contributions.
Ask Reckit
Hi, my name is Reckit. I hope my article on "Verify a checksum in OS X" was helpful. If you have a question please click the button below.

Article Info

Categories : Operating System

Recent edits by: Eng, Rich

Share this Article:

Thanks to all authors for creating a page that has been read 1,422 times.


Thank Our Volunteer Authors.

Would you like to give back to the community by fixing a spelling mistake? Yes | No