Quick answer
- Converting a JPG to PDF doesn't lose quality by itself. PDF can hold the original JPEG data unchanged, so the picture stays exactly as sharp as your starting file.
- Quality drops only when a converter re-encodes the photo at a lower setting, shrinks its resolution, or the JPG had already been resaved several times before.
- JPG to PDF places a standard JPG's compressed data straight into the PDF, so the result is pixel for pixel the same photo.
- HEIC and WebP photos are re-encoded as JPEG first, since PDF can't store those formats directly, but at a high setting the difference isn't visible.
Does turning a JPG into a PDF lose quality?
No, not by itself. A PDF can hold a JPEG's compressed picture data exactly as it is, instead of redrawing it, so nothing new gets thrown away in the conversion itself.
- PDF has been able to store JPEG images directly since its first version, through a filter called DCTDecode, which the PDF Association says every PDF program still supports today.
- DCTDecode doesn't decode and recompress the picture. It carries the original JPEG bytes, so a tool that uses it correctly produces a photo identical to the one you uploaded.
- JPG to PDF works this way: it places an ordinary JPG's data straight into the PDF rather than re-encoding it, so the PDF is about the size of the photos combined.
- A photo that needs turning upright, or one saved in CMYK color, still has to be re-encoded once. At a high setting, that one extra pass isn't visible.
Why do some JPG to PDF converters blur the picture?
Because they decode the photo and save it again at a lower setting to make the PDF smaller. Every one of those extra saves throws away more detail.
- Lower quality setting: most JPEG tools use a quality scale from 0 to 100. A converter that defaults to a low number trades sharpness for a smaller file.
- Smaller resolution: shrinking a photo's pixel dimensions before placing it in the PDF makes text and fine lines look soft, especially on a scanned page.
- Repeated saving: a JPEG loses a little more detail each time it's decoded and saved again. A 2016 test that resaved one image 500 times showed the loss adding up with every pass.
- Color conversion: converting a CMYK photo, common from print software, to PDF needs a one time re-encode into RGB, which is usually fine but can shift colors slightly.
What actually makes a JPEG lose detail in the first place?
JPEG's own compression is the real source of loss, not the PDF step. It splits each photo into blocks and throws away the fine detail human eyes notice least.
- Blocks and frequencies: JPEG splits a photo into small squares and turns each one into a list of frequencies, from the overall brightness down to the finest detail.
- Quantization: the format then rounds off the finest, least noticeable frequencies to save space. This single step is where almost all of the quality loss happens.
- It's a one way trip: once those details are rounded away, no later save brings them back. Saving again at a higher setting afterward doesn't restore what's gone.
- The format itself is old and stable: JFIF, the common JPEG file format, was published in 1992. It became the formal standard ISO/IEC 10918-5 in 2013 and hasn't needed to change since.
How do I convert a JPG to PDF without losing quality?
Start from the original photo, not a copy that's already been resaved, and use a converter that embeds the JPEG as it is instead of re-encoding it.
- Use the original file: a photo straight from your phone or camera hasn't been through an extra save, so it still has all its original detail.
- Pick a converter that doesn't re-encode: JPG to PDF places a standard JPG's data into the PDF unchanged, rather than decoding and resaving it.
- Keep screenshots and diagrams as PNG: sharp edged images suffer badly under JPEG's compression. Any Image to PDF handles PNG, JPG and other formats in one pass without turning everything into JPEG.
- Built in tools work too: macOS can turn selected photos into a PDF with the Create PDF quick action in Finder. It still has to re-encode formats like HEIC that PDF can't store directly.
- Check the result: open the PDF at full size and compare it to the original photo. If you can't tell the two apart, nothing was lost.
Does the PDF end up bigger or smaller than the photos?
Usually about the same size as the photos combined, sometimes a little bigger. PDF adds a small amount of its own structure around each embedded picture.
- One photo in, one PDF out: a single JPG converted without re-encoding comes out close to its original file size, plus a small amount for the PDF itself.
- Many photos add up fast: ten photos at 3 MB each make a PDF of roughly 30 MB, since each one keeps its full size inside the file.
- If the file needs to be smaller, Compress PDF reduces resolution and quality on purpose, which gives you more control than a converter that does it automatically.
Try the tools
Try it on your own file. The tools are free and you don't need an account.
Common questions
Does converting a PDF back to JPG also lose quality?
Not necessarily. PDF to JPG extracts the same picture data already stored in the PDF, so if the PDF held the JPEG unchanged, the extracted photo matches the original too.
Does converting a HEIC or WebP photo to PDF lose quality?
A little, but it's hard to notice. PDF can't store HEIC or WebP directly, so Any Image to PDF re-encodes them as JPEG at a high setting first, and that one extra pass isn't visible in normal viewing.
What JPEG quality setting keeps the most detail?
The highest number on the 0 to 100 scale most JPEG tools use. A higher number keeps more detail and makes a larger file, and there's no way to get detail back once you've saved at a lower one.
Can I convert a scanned page saved as a JPG without losing quality?
Yes, the same rule applies. If the scan is already a JPG and you convert it without resaving or rotating it first, JPG to PDF keeps it exactly as it was scanned.
Sources
- Jpegli works in PDF pdfa.org
- JFIF, JPEG File Interchange Format, Version 1.02 loc.gov
- What Happens When You Re-Save an Image 500 Times in Different Formats petapixel.com
- Perform Quick Actions in the Finder on Mac support.apple.com
This post is general information about working with PDFs, not legal or security advice. Check anything important with someone qualified. Posts are written with AI help, based on how our tools actually work. About VelloDoc