A picture sitting inside a PDF can be replaced by swapping the image object's stream with a tiny white JPEG while the page drawing command and resource reference stay intact, and that is the entire mechanism behind Remove Images from PDF. The tool accepts one PDF up to 25 MB, scans every embedded image XObject, and rewrites the eligible ones with a 1 by 1 white JPEG stored under the same reference. Because the original indirect object name is preserved, the page itself does not need to be rewritten or rasterized, which means text, links, and page geometry stay where they were in the source file. The trade-off is precision: only unmasked 8-bit DCTDecode JPEGs in DeviceRGB or DeviceGray with no DecodeParms qualify. If the document contains even one image in a different encoding, including indexed palette, CMYK, JPX, JBIG2, LZW, an image mask, or any other form, the tool refuses the job and produces no file at all. That all-or-nothing rule is the central design choice. It prevents a download whose interface says images were removed even though a complex image was silently left in place, but it also means this approach is best for documents built from ordinary placed photographs and scans rather than for mixed-media layouts that mix JPEG with vector art and complex transparency.

how to remove pictures from pdf
How to Remove Pictures From a PDF in Your Browser

Why a Browser-Local Approach Matters for Picture Removal

Most people who want to strip pictures out of a PDF are doing one of three things: shrinking the file, reusing the text layout without the imagery, or stripping photos before sharing. None of those reasons require a cloud service to handle the file, and uploading a document every time you edit a small thing creates unnecessary exposure on the network and the provider's storage.

The Remove Images from PDF tool keeps the entire workflow on the local device. The PDF is read with a browser-side library, the eligible image streams are replaced with a synthesized white JPEG, the file is saved, then reopened and revalidated by the same PDF viewer the rest of the site uses for page conversion. Nothing leaves the browser tab during this round trip. The limits and behavior are listed in the tool description itself rather than buried in a privacy policy, so the supported image shape, the file size cap, and the refusal behavior are visible before you pick a file.

How the Tool Replaces Eligible Pictures With White Pixels

When you load a PDF, the tool walks every indirect object in the document and looks for image XObjects. For each one that matches the supported shape, which is unmasked, 8-bit, DCTDecode, DeviceRGB or DeviceGray, with no DecodeParms, it generates a tiny white JPEG in memory and assigns that as a replacement stream on the same object reference. The object's identifier stays the same, so any content stream that draws the image still resolves to a valid object. What changes is the payload the renderer reads when it draws the page.

That is why the resulting PDF opens without errors. A more naive approach, such as deleting the image object from the resource dictionary, leaves the page's drawing command pointing at a missing object and can corrupt the document. By keeping the reference and only swapping the bytes inside the stream, the page structure is preserved while the visible pixels become a flat white square. The replacement itself uses the PDFRawStream type in pdf-lib to point the existing object reference at a freshly built white JPEG, so the cross-reference table does not need to be rewritten.

Removing Pictures From a Single PDF File

  1. Open the Remove Images from PDF page and click the file picker to choose one PDF from your device. The file must be at most 25 MB.
  2. Wait for the tool to enumerate every image XObject in the file and confirm it can parse the document structure.
  3. Click Remove eligible images. The tool runs the all-or-nothing compatibility check across every embedded image.
  4. If even one image fails the check, the tool stops and reports that the document cannot be processed. No download appears.
  5. If the check passes, a preview of the rewritten PDF is shown. Open each page where a picture used to be and verify that the white replacement looks correct in context.
  6. Download the new PDF only after you have inspected it. The download is generated locally and never touches a server.

What the Tool Will and Won't Touch in Your PDF

The eligibility rules are narrow on purpose, and understanding them prevents wasted attempts. The following table summarizes what the tool does with each kind of image it encounters.

Image type in source PDF What happens
Unmasked 8-bit DCTDecode JPEG, DeviceRGB or DeviceGray, no DecodeParms Replaced with a 1 by 1 white JPEG under the same reference
Indexed palette JPEG Whole job refused, no output produced
CMYK JPEG Whole job refused, no output produced
JPXDecode (JPEG 2000), JBIG2, LZW, Flate, or another filter Whole job refused, no output produced
Image with a mask or SMask Whole job refused, no output produced
Inline images drawn directly in the content stream Not claimed as removable; left untouched
Non-image XObjects such as form XObjects Left untouched

Inline images are the most common surprise. Some PDF generators embed small icons directly in the content stream rather than as separate XObjects, and the current version of the tool does not claim those. If a small picture survives after a successful run, it is almost certainly an inline image rather than a missed XObject.

When Picture Removal Works and When You Need a Different Tool

This approach fits ordinary document scans and reports where the pictures are simple placed JPGs and everything else is text, links, or vector art. It is a good match when you want to:

  • Strip a cover photo from a PDF before sharing it.
  • Remove header or footer logos from a presentation PDF.
  • Reduce the visual weight of a training handout before printing.
  • Prepare a layout that keeps text and links intact for re-skinning or translation.

It is the wrong fit when the embedded pictures use complex transparency, indexed palettes, or non-JPEG filters, or when the goal is to remove an image that sits behind another piece of content. In those cases, the tool will refuse the job and you will need a full PDF editor or a raster redaction workflow. For a deeper walkthrough of common local-only workflows, see How to Delete Images From a PDF File Locally.

Inspecting the Output Before You Trust It

A white replacement is not a pixel-perfect removal. The white square sits in the same position as the original picture, so any other page content that used to be partly hidden by the image is now visible, and any content that was drawn on top of the image is still there. Two practical consequences follow:

  • A picture that overlapped a heading will now leave a small white gap behind the heading if the heading was originally drawn on top of the image.
  • A picture that was once partly covered by an annotation or vector shape will now look different because the white square is smaller than the original picture.

The tool also performs a structural check after saving. It reopens the file and confirms that the page count and image object counts still match expectations. Those checks catch the common broken-file outcomes, but they are not a guarantee that the visual result matches your intent. Open every page that contained a picture, scroll through, and confirm the result before sending the file anywhere sensitive. If you are removing pictures for legal, security, or privacy reasons, use a dedicated redaction workflow instead. The tool itself does not bypass a password, preserve a digital signature, repair corruption, or certify legal redaction.

If you're weighing options, Remove a PDF Password to Edit It in Your Browser covers this in detail.