Shrink MS Word document

A docx document of Microsoft Word is actual a zip archive. You can open it and see why some documents are so large yet contain only a few pages.

First drill into the folders to find the file that is responsible. In my case there was an uncompressed (not PNG) image in the media folder.
large.docx.7zip.1 large.docx.7zip.2

By simply removing the media item I left the document corrupted. Word tried it’s best to fix it and showed me what was recovered. Then I found out the image was used in a bullet defined in the template. But I don’t use bullets.

Word renamed the other images in the media folder to start the numbering from 1. My document of 3 pages has shrunken from 2 Mb to only 140 Kb. I achieved this by removing what wasn’t needed.

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.