I just want to remove all the images in my word document. I have about 365 pages document, in which there are images in almost all pages. I can not delete one by one. I can save it in .txt format but I will lose the formatting of the data. Is there any other way to get this?

  • You probably didn't mean flat out, "remove all images..without losing formatting" as your title was, because obviously if you remove images, you will lose some formatting like the blank space where the image was, will go, but I guess you want that to go anyway, so you want to lose that formatting. Dan-o's answer seems good to me.
    – barlop
    Feb 23, 2013 at 21:03

4 Answers 4


In advanced find/replace
find ^g
replace [leave blank]

  • This is exactly what the linked article in the accepted answer says. (OTOH, it's probably useful to have it written out here in case the link breaks.) May 9, 2015 at 19:07
  1. Ctrl + H
  2. Click on "More >>" enter image description here
  3. Click on "Special" > "Graphic" enter image description here
  4. Now you can see ^g in "Find what:". Click on "Replace All" enter image description here

There is a Google Docs add-on which can mask all images, so that your formatting will be preserved. I see Add-on Image extractor & remover does it.

  • The question was about Word, and there are already three answers for how to do it there. A Google Docs solution isn't really relevant. But if it was, just mentioning a product that can be used in a solution isn't really an answer. It would be more appropriate as a comment, which requires a little more rep.
    – fixer1234
    Jun 16, 2016 at 7:28

Public Sub PicturesDeleteAll()

Dim objPic As Shape

    For Each objPic In ActiveDocument.Shapes
    Next objPic

End Sub

For Inline Shapes, replace "Shape" with "InlineShape" and ".Shapes" with ".InlineShapes"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.