Manatee

How to repair a PowerPoint file that won't open on Mac

A .pptx that PowerPoint refuses to open is a ZIP archive whose index or one of whose XML parts is damaged, and the slides, text and images inside are usually intact. Start by opening it with Keynote, which is far more tolerant. If that fails, rebuild the archive yourself or with a repair tool, and at minimum you can extract every image and all the slide text from inside the file.

Why a deck breaks

PowerPoint files break for the same reasons Word and Excel files do: the write never finished. A presentation saved straight to a USB stick that was pulled early, a deck edited inside a cloud folder while sync was running, a Mac that went to sleep mid-save, or a large file attached to an email that arrived truncated. Presentations are more exposed than documents because they are bigger; a deck with embedded video can be hundreds of megabytes, and a copy that stops at 90 percent still looks like a file.

Two errors are common. “PowerPoint found a problem with content” means the archive opened but a part inside it is malformed. “PowerPoint can’t open this file” or “The file is damaged” more often means the archive index itself is gone.

Duplicate the file (Command+D in Finder) and work on the copy.

Step 1: try Keynote and Quick Look

  1. Select the file in Finder and press Space. If Quick Look renders the slides, the content is readable and the odds are good.
  2. Right-click the file, choose Open With, then Keynote. Keynote reads .pptx with its own parser and frequently opens decks PowerPoint rejects.
  3. If it opens, go through the slides once, then choose File, Export To, PowerPoint to write a clean .pptx.

Keynote will list what it could not carry over (some transitions, certain fonts, embedded media in unusual formats). For most decks the slides, text and pictures arrive intact.

PowerPoint’s web version uses a different code path as well and sometimes opens what the Mac app will not, at the cost of uploading the deck.

Step 2: check AutoRecovery

PowerPoint for Mac keeps recovery copies. In Finder, press Command+Shift+G and paste:

~/Library/Containers/com.microsoft.Powerpoint/Data/Library/Preferences/AutoRecovery

Sort by date. A version from ten minutes before the crash is often worth more than a perfect repair of the broken file. Cloud version history (iCloud Drive, OneDrive, Dropbox, Google Drive) is the other place to look before doing any surgery.

Step 3: confirm the file type and size

In Terminal:

file ~/Desktop/pitch.pptx

“Microsoft PowerPoint 2007+” is right. “Composite Document File” means an old binary .ppt with the wrong extension; rename it to .ppt. “data” means the ZIP header is missing. Then check the size in Get Info. A deck that should be 80 MB and shows 12 MB was cut short, and the slides that did not arrive are not on your Mac at all; in that case go back to wherever the file came from and copy it again. See file transfer interrupted: how to salvage a half-copied video for the same problem on video.

Step 4: rebuild the archive by hand

  1. Test the container:

unzip -t ~/Desktop/pitch.pptx

  1. Extract what is readable:

mkdir ~/Desktop/pitch-parts && cd ~/Desktop/pitch-parts unzip ../pitch.pptx

  1. Look inside. ppt/slides holds one XML file per slide (slide1.xml, slide2.xml). ppt/media holds every image, audio clip and video as a normal file. ppt/presentation.xml is the slide order.

  2. If the extraction looks complete, re-zip from inside the folder:

zip -r -X ../pitch-fixed.pptx .

  1. Open the new file in PowerPoint.

If PowerPoint still refuses, the damaged part is one of the XML files. Open ppt/slides/slideN.xml files in TextEdit and look for one that is empty, far shorter than the others, or ends mid-tag. Removing that one slide’s file and its entry from ppt/_rels/presentation.xml.rels and ppt/presentation.xml will often let the rest of the deck open. It is tedious, but a 40-slide deck minus one slide beats no deck.

Salvage the pieces when the deck will not rebuild

Even when the archive cannot be made whole, two things come out easily.

Images and media. The ppt/media folder from Step 4 contains every picture, logo and video clip as ordinary files. Drag them into a new presentation.

Slide text. Strip the tags from each slide:

for f in ppt/slides/slide*.xml; do echo "== $f"; sed 's/<[^>]*>/ /g' "$f"; done > ~/Desktop/slide-text.txt

Speaker notes live in ppt/notesSlides and the same command works there. With the images and the text in hand, rebuilding a deck on a template is an hour of work rather than a day.

Step 5: let Manatee rebuild it

If you would rather not spend the evening in Terminal, Manatee does the Step 4 work in one drop. Drag the .pptx onto its menu bar icon or into its window, choose Repair, and it reads the archive entry by entry, keeps everything it can verify, and writes a new presentation beside the original. The original is never changed.

The outcome is stated plainly. Fixed means PowerPoint opens the new copy. Partial means some slides or media could not be recovered and you are told what came back. Not fixable means the archive held nothing usable, which in practice means the copy was truncated very early or the file was empty. Manatee does not recreate a slide whose bytes never reached your disk, does not recover deleted files, and does not open a password-protected deck without the password. Everything runs on your Mac, nothing is uploaded, and it is free for 24 hours with every feature, then $9 once. For Office files in general the same approach applies; see fixing a DOCX that Word says is corrupt.

Preventing it

Save locally first, then copy to the cloud or the stick when the save is finished. Avoid editing a deck in a sync folder on two Macs at once. Embedded video is the biggest single risk to a presentation, both for size and for corruption; linking to a video file next to the deck rather than embedding it keeps the .pptx itself smaller and more robust. If you need to send the deck, how to make a PowerPoint or Word file smaller on a Mac covers the safe ways to do that.

Questions

The deck opens but several slides show a red X where images should be. The image files are either missing from ppt/media or the relationship file that ties them to slides was damaged. Extract the archive; if the images are present, reinsert them by hand. If they are missing, the file was truncated and the pictures need to come from the original source.

Can I repair a .ppt (the old format) the same way? No. The old .ppt is a single binary container, not a ZIP, so none of the unzip steps apply. Keynote and PowerPoint itself are the best bets, followed by AutoRecovery and backups.

PowerPoint says the file needs repair and then opens a version with everything. Did it fix it? PowerPoint’s own repair runs when it detects a malformed part and can usually recover. Save the result under a new name immediately, then compare slide counts against what you expect, since it sometimes drops a slide silently.

Will the embedded video survive a repair? If the video file inside ppt/media extracts intact, yes. Embedded videos are the largest parts of the archive and the most likely to be cut off in a truncated copy. If the video itself is damaged, drop it on Manatee’s Repair mode on its own; video repair is a separate process from container repair.