Invalid Keynote document? Calm down and try this fix
Let's set the scene: It's Monday morning, and you've been working tirelessly all weekend, tweaking and putting finishing touches on a big Keynote presentation that you'll be using at today's board meeting. Now that it's finished, you decide to run through it one last time, just to be safe. So you fire up Keynote, and your heart sinks as you stare unbelieving at the message above.
"WHAT?! I just opened it this morning! What do you mean it's not valid?" You're practically screaming at your computer now, and repeatedly trying to open the file to no avail. After taking a few moments to calm down and avoid tossing your Mac out the window, you suddenly remember the Versions feature in Lion & Mountain Lion that automatically saves versions of your file as you work.
You jump into Finder, restore an older version, and... it doesn't work either. Keynote still tells you that the file is invalid. So you try another version, and another, but Keynote remains adamant that your attempts are futile, and now you begin to panic as the realization sets in that your presentation starts in 15 minutes and your work is gone.
But before you give in to despair, here is something you can try that just might work. It's no secret that many "files" in OS X are, underneath the surface, actually folders or other archives that themselves contain many more files. You can easily see this in action by right-clicking (control-click or two-finger-click) on an application or an archive in Finder and choosing the Show Package Contents... option.
A Keynote presentation file is really no different, and if you're working with a Keynote '08 file, you can easily see the contents of the package using that option. But starting with Keynote '09, the packages are zipped into archives to make them easier to share and upload to websites. This makes getting to their contents a little bit trickier, as Finder doesn't see the file as an archive, so it keeps trying to open the file with Keynote, rather than unzipping it for you.
So, how do you get at these files, you might ask? It's actually deceptively simple -- but before we begin, I can not stress enough to you to make a backup copy of your file. Sure, it might be "invalid" and already broken, but you still should make sure you have an untouched copy somewhere should you need it. Once you've got a copy, continue on with the instructions below.
Step 1: Rename the file to a .zip file.
Now that you've made a copy, you need to locate your file in Finder, highlight it, and then press the Enter key to rename the file. If the file name ends with .key, change it to .zip. Otherwise, just add .zip to the end of the filename, and press Enter again. When Finder asks, tell it to Use .zip.
Step 2. Open the zip archive.
Your file should now be named something like Presentation.zip. Go ahead and double click on it, and Finder should decompress the .zip archive into a folder of the same name. If you open the folder, you should see a bunch of files there, including any images you've added to your presentation, similar to the screenshot below:
Step 3. Rename the folder back to a .key file
At this point, if everything has gone well, you should be feeling somewhat relieved, as you can at least see that your work is not completely lost, just hidden. So, how do you get this back into Keynote, you might ask? No, you won't have to redo everything.
Simply highlight the name of the folder, press Enter to rename it again, and add the .key extension to the end:
Step 4. Cross your fingers and open the file with Keynote
Here's where you have to cross your fingers and hope for the best. If all went well, you should be able to just double click on the file and Keynote should fire up with your presentation, in all of its glory.
If it doesn't work, go back and double check that you didn't miss anything above. If you've checked and it's still not working, then sadly, there's a good chance that something really is wrong with the presentation. If this is the case, hopefully you still might be able to salvage some of your work out of the file by digging through the folder you get in step 2 and extracting the graphic assets.
If it did work, congratulations! Now you can relax... after you go give your presentation, of course.
Subscribe to Newsletter
Software Updatesmore updates
- Vizzywig 8xHD price tag now a very affordable $49.99
- Automatic targets teen drivers with License+ service
- Dropbox adds support for TouchID
- YouTube for iOS gets updated with full support for iPhone 6 and 6 Plus
- iOS 8.0.1 update now available (Updated -- Don't update!)
- NFL Mobile updated for 2014 Season with new Fantasy Football features, NFL Now integration