Downloading a multi-gigabyte iPhone or iPad restore image is a high-stakes operation. A single truncated packet in your browser can produce a corrupted IPSW that silently bricks the restore at the worst possible moment — usually five minutes into a Finder or Apple Devices restore. Verifying the SHA-256 checksum of an IPSW before you plug your iPhone in is the cheapest insurance you can buy: thirty seconds, one Terminal command, and total certainty that the file you have is exactly the file you intended to download.

Direct answer: To verify an IPSW file's checksum, compute its SHA-256 hash using a built-in operating system tool — shasum -a 256 on macOS/Linux and certutil -hashfile on Windows — then compare the hex output against the hash published on the IPSW.io download page. A match confirms the IPSW was not corrupted in transit. Apple does not publish official per-IPSW hashes. A valid checksum does not confirm Apple currently signs the IPSW; signing status is a separate check.

What IPSW checksum verification actually does

A checksum (more precisely, a cryptographic hash such as SHA-256) reduces a file of any size to a fixed-length hex fingerprint. Any single byte difference produces a completely different hash. That property lets you answer exactly one question:

"Is the IPSW on my disk byte-for-byte identical to the IPSW someone else verified at the source?"

It does not answer "is this file from Apple?" — that requires Apple's own code-signing chain inside the restore image — and it does not answer "will Apple let me restore this build?" — that requires a separate APTicket request to the Apple signing server. Conflating checksum integrity with signing status is the #1 mistake IPSW beginners make, and it is the root cause of most forum threads titled "perfect hash, restore failed."

When this works

  • You downloaded the IPSW from a mirror, third party, or community repack and need a corruption check
  • Your restore failed mid-flash and you want to rule out a bad file
  • You are a technician or refurbisher who flashes multiple devices per day
  • You are restoring an offline (unsigned) build for archival or forensic purposes

When this won't work

  • You want to prove the file was authored by Apple (use Apple's signed restore image, or idevicerestore --dump)
  • You want to know if Apple is currently signing this IPSW for your ECID — that requires Apple's signing server lookups, not a checksum
  • You are restoring over-the-air via Settings; OTA update IPSW files do not exist locally for users to verify

Requirements before you start

Requirement Why
The IPSW file is fully downloaded (browser shows 100%) Partial files still hash — and they hash to "wrong" values
~30 seconds per 6 GB file on an SSD Speed scales with disk read speed, not CPU
Terminal (macOS/Linux) or Command Prompt / PowerShell (Windows) Built in — no install needed
A trusted published SHA-256 reference Source: IPSW.io download pages

⚠️ Warning: A matching hash tells you the file is intact, not that it is safe for your device. Always confirm you've chosen the correct IPSW for your iPhone model before restoring.

Step-by-step: Verify an IPSW file checksum

macOS — shasum -a 256

  1. Open Terminal (Applications → Utilities → Terminal).
  2. Type shasum -a 256 (note the trailing space) and drag the .ipsw file from Finder onto the Terminal window to paste its full path. Press Enter.
  3. Terminal prints a 64-character hex string, then — and the file name.
  4. Copy the hex string and compare it against the published hash on the IPSW.io download listing.
  5. If the strings match exactly (case-insensitive, ignore whitespace), the file is intact.

Example:

$ shasum -a 256 ~/Downloads/iPhone16,1_18.5_22F76_Restore.ipsw
9f1c2dbe6e7a1c8d3b8e4a6f2c9d1e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d  iPhone16,1_18.5_22F76_Restore.ipsw

Windows — certutil

  1. Open Command Prompt (Win + R → cmd → Enter) or PowerShell.
  2. Run: certutil -hashfile "C:UsersYouDownloadsiPhone16,1_18.5_22F76_Restore.ipsw" SHA256
  3. Windows prints several lines — the hex string on the second line is what you want.
  4. Compare against the published reference hash. Match = intact.

Linux — sha256sum

  1. Open a terminal.
  2. Run: sha256sum /path/to/file.ipsw
  3. The first whitespace-delimited token is the SHA-256.

What happens next

After the hash matches: confirm Apple is still signing this build, decide whether you need IPSW vs OTA, place the iPhone into Recovery Mode if needed, and restore with Finder, iTunes, or Apple Devices.

After the hash fails to match: do not restore. Re-download from a clean browser session, or switch mirrors. Persistent mismatch on a file fetched from Apple's CDN itself is a strong signal of local disk corruption or a man-in-the-middle.

Why Apple does not publish official IPSW checksums

Apple signs the IPSW payload internally and signs the catalog with a per-device APTicket, but Apple does not expose a public SHA-256 of each IPSW on support.apple.com. The community's authoritative remedy is fetching the build direct from updates.cdn.apple.com, hashing it, and exposing the result with the file's signing window. IPSW.io re-verifies these hashes so you can compare your file against a third-party recomputation rather than only against the same source you just downloaded from — that's the trust chain this article explicitly leans on.

Trust chain at a glance:

Apple CDN ──TLS──► Community hash publication ──► IPSW.io listing ──► Your recomputation
   ✓ source             ✓ community-verified         ✓ republished        ✓ matches? = intact

What you lose if you skip verification

  • Time wasted on a half-flashed restore that leaves the iPhone in Recovery Mode
  • Hidden corruption that causes persistent Error 3194, Error 4013, or Error 4014 at the worst moment
  • False confidence in unsigned builds that "should" install but won't
  • The risk of restoring with a tampered file obtained from an unverified mirror

Common mistakes

  • Treating checksum match as signing approval. A clean hash on an unsigned IPSW still refuses to restore.
  • Hashing the wrong file. Verify the file path; modern iOS IPSW filenames embed the build identifier.
  • Ignoring trailing whitespace or CR/LF. Comparing strings character-for-character after stripping whitespace is the only safe path.
  • Re-downloading without clearing cache. Browser "resumed" downloads can keep a known-bad segment.
  • Skipping verification on "trusted" fast networks. Network errors happen on every ISP.

Compatibility notes

  • Apple Silicon Macs: shasum is provided by the system — no install needed.
  • Windows 10 / 11: certutil ships in-box on every supported Windows build.
  • Linux: sha256sum is provided by coreutils; preinstalled on Ubuntu, Fedora, Arch, and derivatives.
  • iCloud / OneDrive placeholder files: Cloud-synced folders can hand you a stub. Verify on a fully-downloaded local copy.

Frequently Asked Questions

1. Does Apple publish official IPSW checksums?

No. Apple does not publish per-IPSW SHA-256 or SHA-1 hashes on its public support pages. Trusted community sources compute the hash from the file Apple serves, and IPSW.io re-publishes those community-verified hashes.

2. What hash algorithm should I use?

SHA-256. Modern listings publish SHA-256 only. Older guides referencing SHA-1 reflect Apple's internal manifests, but SHA-256 is the modern standard.

3. Can a valid checksum still mean Apple won't sign the IPSW?

Yes. Checksum integrity and Apple signing are independent. SHA verification confirms file integrity; Apple's signing server decides separately whether the build is permitted for your device.

4. What causes an IPSW checksum mismatch?

Three common causes: incomplete download, mirror serving a modified file, or comparing the wrong file/hash pair.

5. How long does SHA-256 verification take?

About 10–30 seconds on modern SSDs; 1–3 minutes on spinning disks.

6. Is verifying the checksum necessary?

Highly recommended for power users and technicians. A corrupted IPSW can trigger Error 3194, Error 4013, or Error 4014.

7. Which command verifies an IPSW on macOS?

shasum -a 256 /full/path/to/file.ipsw

8. Which command verifies an IPSW on Windows?

certutil -hashfile "C:path o ile.ipsw" SHA256

9. Does signing verification replace checksum verification?

No — they answer different questions. Run both for high-stakes restores.