How to Replace an Image in a PDF (Free, Online, Keeps Everything Else)

Published August 19, 2026 · Updated August 18, 2026

The photo in your PDF is outdated, blurry, or just wrong. Rebuilding the whole document from scratch feels absurd for one image — and it is. You can replace an image inside a finished PDF directly, keeping every other element — text, layout, links — exactly as it was.

Here's how to do it free in your browser, plus the preparation steps that decide whether the replacement looks professional or amateurish.

When Replacing Beats Rebuilding

If you have the source file (.docx, .indd, Google Doc), editing there and re-exporting is always the highest-fidelity path. Replace inside the PDF when:

Step by Step: Replacing an Image

  1. Prepare the replacement image first. Same aspect ratio as the original, PNG or JPEG, under 4 MB. This is 90% of the quality outcome — more on it below.
  2. Open the Edit PDF tool and upload your document.
  3. Switch to Elements mode. Every image on each page gets a red dotted outline; text lines get blue dashed ones.
  4. Click the image you want to replace. The panel shows its position and offers the replace action.
  5. Upload your new image. PNG and JPEG are accepted directly; other formats like WEBP are converted automatically.
  6. Apply and download. The new image is fitted into the original's space with its aspect ratio preserved, and the edited PDF downloads immediately.

The One Thing That Decides Whether It Looks Good

Aspect ratio. The replacement is scaled to fit the original image's frame while preserving its own proportions — so an image with a different aspect ratio won't fill the frame edge-to-edge the way the old one did. Two fixes:

Resolution matters too: aim for an image at least as large as it appears in the PDF so it doesn't look soft on print. A 200-pixel-wide photo stretched into a half-page frame will disappoint.

Common Cases

Replacing a photo in a scanned document. A scan is one big image per page — there's no separate image element to select. If the PDF is a pure scan, replacing "an image" means editing the page image itself. But PDFs that mix real text with embedded photos (most generated documents, reports, brochures) have individually selectable images.

Swapping a logo. Rebranding pitch decks and letterheads is the most common use case. Export the new logo as PNG with transparency where possible — it drops into the old logo's frame cleanly.

Fixing a low-resolution scan. If one page of an otherwise digital PDF was scanned at low quality, you can't selectively re-scan just that page into the same file — but you can rebuild it: extract the page with split PDF, fix it, and stitch the document back together with merge PDF.

After the Swap: Size and Quality Checks

Privacy: What Happens to Your Uploads

Image swaps often involve contracts, ID scans, or client documents. The Edit PDF tool processes files over HTTPS and automatically deletes every upload after 30 minutes — no account, no stored library, no watermarks on output. Treat any editor that keeps your files "in your cloud library" by default with appropriate suspicion.

FAQ

Can I replace an image in a PDF online for free?

Yes — the ExactFile PDF editor replaces images free, in the browser, with no signup and no watermark. Click the image in Elements mode, upload the replacement, apply, download.

What image formats can I use as a replacement?

PNG and JPEG work directly. Other common formats like WEBP are converted to PNG automatically. Keep the file under 4 MB for a fast, smooth experience.

Will the replacement image stretch or distort?

No. The replacement is scaled to fit the original image's frame while preserving its own aspect ratio. For a perfect edge-to-edge fit, crop the new image to the same aspect ratio as the old one before uploading.

Can I also delete an image instead of replacing it?

Yes — the same Elements mode that replaces images can delete them, along with editing text lines. You can also delete whole pages, rotate, and reorder in Pages mode.

The image I want to change is part of a scanned page. Can I still replace it?

Not selectively — a scan is a single flat image, not separate elements. For mixed documents (real text plus embedded photos), individual images are selectable and replaceable.

My PDF got bigger after the swap. How do I shrink it?

Use an exact-size compressor: compress PDF to 500 KB or compress PDF to 1 MB bring the file to a precise target so it passes upload limits on the first try.