Skip to content

Remove Images from PDF

Create a no-upload PDF copy that replaces eligible embedded JPG image objects with white pixels.

Privacy: your files never leave your device. All processing happens locally in your browser.

How to use

  1. 1.Choose one local PDF up to 25 MB.
  2. 2.Select Remove eligible images to run the all-or-nothing compatibility check.
  3. 3.Inspect the new PDF, then download it only after confirming the white replacements are appropriate.

About Remove Images from PDF

Remove Images from PDF creates a local derivative of a PDF in which eligible embedded images have been replaced by a tiny white image. It is intended for documents where you need to remove simple placed photographs or scans while keeping the rest of the PDF structure intact. Choose one PDF, let the tool inspect every embedded image object, and download a new PDF only if the entire document passes the safety rules. No document upload or server-side edit is involved.

The implementation deliberately does not delete a page resource name. PDF page content streams often contain a command that refers to an image object by name. Removing that object from the resource dictionary while leaving the command behind can make a damaged PDF. Instead, this tool retains the original indirect object reference and replaces its image stream with a valid 1 by 1 white JPEG. The page drawing command and its resource reference remain valid, while the original eligible image payload is no longer used for the visible page.

For a safe first version, every image object must be an unmasked 8-bit DCTDecode JPEG using DeviceRGB or DeviceGray, with no DecodeParms. If the PDF contains even one image using another filter, a mask, an indexed palette, CMYK, JPX, JBIG2, LZW, or another unsupported form, the tool stops before saving any output. That all-or-nothing rule matters: it prevents a download whose button says images were removed even though a complex image was silently left in place. Inline images are not claimed as removable by this version.

After replacing the eligible objects, the browser saves the PDF, opens it again with the PDF editor library, and then opens it with the same PDF viewer used by the site's page-conversion tools. It checks that the page count remains the same and that the expected image objects still exist as valid replacements. These checks are structural safeguards, not a promise that every PDF feature has been independently validated. Encrypted, malformed, signed, or unusual PDFs may be rejected; the tool does not bypass a password, preserve a digital signature, repair corruption, or certify legal redaction.

Use this tool when a white replacement is acceptable and you need to retain text, links, page geometry, and non-image vector content. It is not a pixel-perfect redaction tool. A white replacement can be covered by other page content, and retained document metadata or inaccessible original history may still matter in sensitive workflows. Keep the source document, inspect every output page, and use a professional redaction workflow when the goal is legal, security, or privacy-grade removal.

Methodology & sources

Validate one bounded local PDF, enumerate all indirect image XObjects, refuse the entire job unless each image is an unmasked 8-bit DCTDecode DeviceRGB/DeviceGray stream without DecodeParms, generate a browser-local 1 by 1 white JPEG, assign a replacement PDFRawStream to each existing reference, save, reopen with pdf-lib and PDF.js, verify page and image-object counts, then expose one download URL.

Frequently asked questions

Does the tool delete PDF resource references?
No. It keeps each eligible reference valid and swaps the image stream for a 1 by 1 white JPEG.
Why does it refuse a PDF with one unsupported image?
The tool avoids a misleading partial result. If any image cannot be handled safely, it saves no output.
Will text and links stay selectable?
This tool does not rasterize whole pages, so ordinary page structure, text, and links are retained where the source PDF supports them.
Is this a legal redaction tool?
No. Inspect the output and use a dedicated redaction workflow for legal, security, or privacy-grade removal.

PDF Tools guides

View all