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
large.docx.7zip.3

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.
large.docx.7zip.5

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

My work as a recruited developer changes almost every month. 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:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s