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:
- The source file is gone — exported by a colleague, an old tool, or a service that no longer exists.
- The document is already final — approved layouts shift when re-exported from source; a surgical image swap changes nothing else.
- The PDF came from a scanner or another person and you only own the PDF.
- You need it done now — a swap takes about a minute with no software install.
Step by Step: Replacing an Image
- 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.
- Open the Edit PDF tool and upload your document.
- Switch to Elements mode. Every image on each page gets a red dotted outline; text lines get blue dashed ones.
- Click the image you want to replace. The panel shows its position and offers the replace action.
- Upload your new image. PNG and JPEG are accepted directly; other formats like WEBP are converted automatically.
- 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:
- Crop your new image to the same width-to-height ratio as the original before uploading. This is a 10-second job in any phone photo editor and gives a pixel-perfect result.
- Or accept small margins around the fitted image when the ratios differ.
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
- Check the file size. A 5 MB photo dropped into a 300 KB document makes a 5 MB document. If the result must fit an upload limit, follow up with compress PDF to 500 KB or compress PDF to 1 MB.
- Zoom to 100% and check sharpness. If the new image looks pixelated, the source was too small — find a larger original rather than fighting the output.
- Verify on the actual page, not the thumbnail. Open the downloaded PDF and confirm the frame, margins, and surrounding text look right.
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.