A supplier sends a product catalogue as a PDF and you need the product photos for your online shop. A colleague shares a presentation exported to PDF and you want to reuse one of the charts. An old family newsletter contains the only copy of a photograph. In each case the picture is sitting inside the PDF, and taking a screenshot feels like the wrong answer, because it is.
This guide explains how images are stored in a PDF, why extracting them is different from capturing the page, what can and cannot be extracted, and how to do it in a browser or on the command line.
How images live inside a PDF
When a PDF is created, each photo or bitmap is usually stored once as an image object, with its own pixel dimensions, and then placed on the page at whatever size the layout needs. A 3000 × 2000 pixel photo might be printed only five centimetres wide, but the full data is often still in the file.
That leads to three important consequences:
- Extraction can beat what you see. Pulling out the image object can give you far more detail than a screenshot of the page, because you get the stored pixels rather than a scaled-down view.
- Cropping may be hidden. Designers often crop a photo in the layout without cutting the stored image. When extracted, you may see the whole uncropped picture.
- Not everything that looks like a picture is one. Charts, logos, icons and diagrams are frequently drawn as vector shapes. They are instructions to draw lines and fills, not pixels, so there is no image object to extract.
Some creators also downsample or compress images when exporting, so extracted photos are only as good as what was embedded. Nothing can restore detail that was removed at export time.
Extract images with our browser tool
Our Extract Images from PDF tool reads the PDF inside your browser and saves every embedded picture it finds.
- Open Extract Images from PDF and drop your PDF onto the page. Enter the password if asked.
- Under Save images as, choose PNG (lossless, keeps transparency) or JPG (smaller files for photos). PNG is the safer default; JPG is handy when the images are photographs and you want smaller files.
- Click Extract images. The tool walks through every page. You can press Stop to cancel.
- A summary tells you how many images were found, how many duplicates were ignored and how many tiny or unsupported images were skipped.
- Download individual images from their thumbnails, or click Download all (ZIP).
A few behaviours are worth knowing. A logo repeated on every page is saved only once, because duplicates are detected. Very small images, under 16 pixels on a side, are skipped since they are usually bullets or decorative dots. When you choose JPG, transparent areas are filled with white because JPG cannot store transparency.
When nothing (or not enough) is found
If the summary shows zero images, or the chart you wanted is missing, it is probably vector artwork. Click Render pages as images instead. The tool then saves each full page as a picture at 150 DPI. These are page snapshots rather than original images, but they capture everything visible, including vector charts and text. For more control over the resolution, use PDF to PNG and crop the result with the Image Cropper.
Other ways to extract images
pdfimages on the command line
Poppler's pdfimages is the most faithful option available:
pdfimages -all catalogue.pdf product
The -all flag writes each image in its native format where possible, so a JPEG stored in the PDF comes out as the identical JPEG file, byte for byte, with no re-encoding. Add -list to see a table of every image with its size and resolution before extracting. For archival work or large batches, this is better than any browser tool.
Desktop PDF editors
Paid editors such as Adobe Acrobat have an export option for images, and some let you right-click an individual picture to save it. That is convenient if you already have the software.
Screenshots and copy-paste
Copying an image from a PDF viewer sometimes works, but many viewers copy only what is visible at the current zoom level. Screenshots have the same limitation. Use them only when the picture is large on screen and quality does not matter much.
Tips and pitfalls
Images come out in strange colours
Some PDFs store images in CMYK or other print colour spaces, or with masks that combine two images. These may be skipped as unsupported, or look slightly different from the page. Rendering the page is the reliable fallback.
A photo appears in several pieces
Some programs slice a large image into strips or tiles when exporting. You will get several narrow images; reassemble them with Merge Images or simply render the page instead.
Respect copyright
Being able to extract an image does not mean you are allowed to reuse it. Product photos, stock images and illustrations usually belong to someone. Check the licence or ask the owner before publishing them.
Shrinking the results
Extracted PNGs of photographs can be large. Run them through the Image Compressor before uploading them to a website.
Frequently asked questions
Does extracting images reduce their quality?
Choosing PNG keeps every decoded pixel exactly. Choosing JPG re-compresses at a high quality setting, which is visually very close but not identical. Neither can add detail that the PDF creator removed.
Why is my chart not extracted?
Charts, icons and diagrams are often drawn as vector shapes rather than stored as images. Use Render pages as images instead, or convert the page with PDF to PNG.
Why does an extracted image look larger or uncropped?
The layout may display only part of the stored image, or scale it down. Extraction saves the whole stored image at its native pixel size.
Can I extract images from a scanned PDF?
A scanned PDF is usually one big image per page, so you will get each page back as a picture. That is effectively the same as rendering the pages.
Are my files uploaded?
No. The PDF is opened and processed in your browser, and the images are created on your device.