How to extract images (and media files) from Word and Keynote documents (#tilPost)

We’ve all been there: we worked on a Microsoft Word or Macos Keynote document, pasted lots of images/screenshots, crafted a beautiful storyline, and moved on with our lives.
A few weeks later, we have another use case for the embedd…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

We've all been there: we worked on a Microsoft Word or Macos Keynote document, pasted lots of images/screenshots, crafted a beautiful storyline, and moved on with our lives.

A few weeks later, we have another use case for the embedded high-res images, but now they're gone. Maybe we deleted the original files, or they're buried somewhere in our email inboxes; who knows... We see the files right in front of us in Keynote or Word, but there doesn't seem to be a way to get our own images out of these programs. It's 2020; how can it be so hard?

Today I came across a tweet from Chris Heilmann that gave the solution. He shared that docx and key files are zip archives.

Follow these steps to extract your images and media files from Word and Keynote files:

  • Copy the docx or key file that embeds your media files.
  • Rename and change the file extension of the copy to zip (e.g. presentation.key should become presentation.zip).
  • Unpack the renamed copy.
  • Access your media files in full glory and resolution!

If you're a developer and want to save some manual steps, I published the CLI tool extract-media that does the renaming and unpacking in one go.


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate
APA
Stefan Judis | Sciencx (2022-12-08T15:42:01+00:00) » How to extract images (and media files) from Word and Keynote documents (#tilPost). Retrieved from https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/.
MLA
" » How to extract images (and media files) from Word and Keynote documents (#tilPost)." Stefan Judis | Sciencx - Friday November 27, 2020, https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/
HARVARD
Stefan Judis | Sciencx Friday November 27, 2020 » How to extract images (and media files) from Word and Keynote documents (#tilPost)., viewed 2022-12-08T15:42:01+00:00,<https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/>
VANCOUVER
Stefan Judis | Sciencx - » How to extract images (and media files) from Word and Keynote documents (#tilPost). [Internet]. [Accessed 2022-12-08T15:42:01+00:00]. Available from: https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/
CHICAGO
" » How to extract images (and media files) from Word and Keynote documents (#tilPost)." Stefan Judis | Sciencx - Accessed 2022-12-08T15:42:01+00:00. https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/
IEEE
" » How to extract images (and media files) from Word and Keynote documents (#tilPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/. [Accessed: 2022-12-08T15:42:01+00:00]
rf:citation
» How to extract images (and media files) from Word and Keynote documents (#tilPost) | Stefan Judis | Sciencx | https://www.scien.cx/2020/11/27/how-to-extract-images-and-media-files-from-word-and-keynote-documents-tilpost/ | 2022-12-08T15:42:01+00:00
https://github.com/addpipe/simple-recorderjs-demo