Image2026-05-31Β·5 min readΒ·By Sky Lu

PNG to JPG: How and When to Convert

Learn how to convert PNG to JPG to shrink file size, what happens to transparency, and when to choose JPG over PNG (and back again).

You probably have a PNG that looks fine but is too large to email, upload, or use on a website. After reading this, you’ll know exactly when converting PNG to JPG is the right move, what settings to use, and how to avoid the usual problems: blurry text, ugly backgrounds, color shifts, and files that are still bigger than expected.

PNG vs JPG: the practical difference that matters

PNG and JPG are both common image formats, but they are built for different jobs.

PNG is best when the image needs sharp edges, transparency, or exact pixel detail. Use PNG for logos, icons, screenshots with text, interface mockups, diagrams, product cutouts, and images with transparent backgrounds. A PNG can preserve clean lines without the fuzzy artifacts you often see around text in a JPG.

JPG is best for photographs and complex images with lots of color variation. Use JPG for camera photos, blog post images, product photos with a normal background, email attachments, social media images, and website banners where smaller file size matters more than perfect pixel accuracy.

The key trade-off is this: JPG uses lossy compression. That means some image data is permanently discarded to reduce file size. At sensible quality settings, a photo can still look excellent. But if you convert a crisp screenshot or logo to JPG, you may see smudged edges, noise around letters, or blocky areas in flat colors.

PNG uses lossless compression. It keeps image detail intact, but the file can be much larger, especially for photos. A full-size phone screenshot saved as PNG may be acceptable. A full-resolution camera photo saved as PNG can become unnecessarily heavy.

A simple rule I use:

  • Use PNG if the image has transparency, text, logos, line art, charts, or UI screenshots.
  • Use JPG if the image is a photo or a realistic image with many colors.
  • Do not convert to JPG if you need the transparent background to stay transparent.
  • If the PNG is already small and sharpness matters, leave it alone.
  • When converting PNG to JPG is the right choice

    Converting PNG to JPG is useful when file size is causing a specific problem. Do not convert just because JPG sounds more common. Convert because it solves a real issue.

    For email attachments

    If you need to send several images by email, JPG is usually better for photos. A good target is:

  • Longest side: 1600 to 2400 pixels for general sharing
  • JPG quality: 75 to 85
  • Resolution metadata: 150 DPI if the image may be printed casually, though pixel dimensions matter more than DPI for email
  • Color mode: sRGB
  • For example, if a PNG photo is 4000 Γ— 3000 pixels, resize it to 2000 Γ— 1500 and export as JPG quality 80. That gives the recipient a usable image without forcing them to download an oversized file.

    Do not use JPG quality 100 unless you have a specific reason. It usually creates a much larger file with little visible improvement. Quality 80 or 85 is a better practical setting for most email and web use.

    For websites and blog posts

    For website images, JPG is often the right choice for photos and banners. The important part is to resize before or during conversion. A 5000-pixel-wide image displayed in a 900-pixel-wide article area wastes bandwidth and slows the page.

    Useful web targets:

  • Blog content image: 1200 pixels wide
  • Full-width website banner: 1600 to 2000 pixels wide
  • Thumbnail: 300 to 600 pixels wide
  • JPG quality: 75 to 82
  • Color profile: sRGB
  • Avoid embedded editing metadata if your tool offers that option
  • If you need to reduce the image further after converting, run the final JPG through Compress Image. This is especially helpful after resizing, because compression works best when the image is already close to its final display size.

    For online forms and document uploads

    Many forms reject large PNG files or allow only JPG/JPEG. In that case, convert to JPG but check whether the image contains text. IDs, receipts, signed forms, invoices, and certificates often include small text. Too much JPG compression can make that text harder to read.

    For document-like images, use:

  • JPG quality: 85 to 92
  • Longest side: at least 1800 pixels if text must be readable
  • Avoid repeated saving, because each JPG save can add more compression damage
  • Use grayscale only if color is not needed and the form accepts it
  • If the form has a file size limit, reduce dimensions first, then lower quality gradually. Do not jump straight to quality 40 unless there is no other option.

    When not to convert PNG to JPG

    Some PNG files should stay PNG. Converting them can create visible quality problems or remove features you need.

    Transparent backgrounds

    JPG does not support transparency. If your PNG has a transparent background, converting it to JPG will replace that transparency with a solid color, usually white or black depending on the tool.

    This matters for:

  • Logos
  • Product cutouts
  • Stickers
  • Website icons
  • Profile graphics
  • Images meant to sit on colored backgrounds
  • If you need a smaller file but must keep transparency, keep PNG or consider WebP if your platform supports it. If you must send a JPG, choose the background color deliberately before converting. For example, place a white logo on a white background only if it will always be used on white.

    Screenshots with small text

    Screenshots often look worse as JPG because JPG compression creates artifacts around letters, buttons, and straight edges. If the screenshot includes code, spreadsheets, UI instructions, or small labels, keep PNG unless the file size is a serious issue.

    If you must convert a screenshot to JPG:

  • Use quality 90 or higher
  • Resize only if the text remains readable
  • Avoid sharpening after conversion
  • Check the result at 100% zoom, not just as a thumbnail
  • For screenshots inserted into documents or tutorials, PNG is usually safer.

    Logos, icons, and flat graphics

    Flat graphics expose JPG artifacts quickly. A solid red logo on a white background may develop fuzzy edges or light blotches after conversion. Small icons can look especially poor.

    Keep these as PNG:

  • Logos
  • App icons
  • Line drawings
  • Infographics with text
  • Charts with thin lines
  • QR codes
  • QR codes are a special case: keep them PNG whenever possible. JPG compression can soften the square edges and make scanning less reliable, especially if the code is printed small.

    How to convert PNG to JPG without ruining the image

    The best workflow is simple: duplicate the file, resize if needed, convert once, then inspect the result. Most problems happen when people repeatedly export the same JPG or use extreme compression settings.

    Step 1: Make a copy of the original PNG

    Keep the original PNG untouched. Name it something like:

  • `product-photo-original.png`
  • `screenshot-source.png`
  • `logo-transparent-original.png`
  • Then create a working copy. Once a PNG becomes a JPG, transparency is gone and compression changes are permanent. Keeping the original gives you a clean file to return to if the export looks bad.

    Step 2: Check whether transparency is present

    Before converting, look at the image on a checkerboard background if your editor supports it. That pattern usually indicates transparent areas. If the background is transparent, decide what should replace it.

    For example:

  • Product photo for an online marketplace: white background
  • Logo for a presentation: match the slide background
  • Graphic for a dark website: use the site’s dark background color
  • Image for general sharing: white or light gray is safest
  • Do not let the converter choose the background by accident. A black box behind a formerly transparent logo is one of the most common conversion mistakes.

    Step 3: Resize to the final use

    Resizing before conversion usually gives better results than converting a huge image and then compressing it aggressively.

    Use these practical sizes:

  • Email photo: 1600–2400 px on the longest side
  • Blog image: 1200 px wide
  • Website hero image: 1600–2000 px wide
  • Profile or avatar image: 800–1000 px square
  • Product image: 1500–2000 px on the longest side
  • Document scan: keep enough pixels for text, usually 1800 px or more on the long side
  • If your original is 6000 Γ— 4000 and you only need a 1200-pixel blog image, do not keep the full size. Exporting the full-size image as JPG quality 60 is usually worse than resizing to 1200 px and exporting at quality 80.

    Step 4: Choose the right JPG quality

    JPG quality scales vary by tool, but the practical idea is the same. Higher quality means less compression and a larger file. Lower quality means a smaller file but more visible damage.

    Good starting points:

  • 90–95: important photos, document images with text, images that may be printed
  • 80–85: email, web photos, product images, blog graphics
  • 70–78: thumbnails, casual sharing, background images
  • Below 65: only when file size limits are strict and visual quality is less important
  • For most photos, quality 82 is a reliable first try. If the file is still too large, reduce dimensions before dropping quality too far.

    Step 5: Export in sRGB

    If your tool offers color profile options, choose sRGB. This is the safest color space for browsers, email clients, and most online platforms. Images edited in wider color spaces can look dull or strange after upload if the platform strips or mishandles the profile.

    If you notice that the JPG looks less saturated than the PNG, color profile handling may be the reason. Re-export using sRGB and compare again.

    Step 6: Inspect at actual size

    Open the converted JPG and check it at 100% zoom. Look closely at:

  • Text edges
  • Logo outlines
  • Skin tones
  • Smooth gradients, such as skies
  • Flat color areas
  • Corners and shadows
  • Background color where transparency used to be
  • Also view the image at its final display size. A tiny artifact that is obvious at 300% zoom may not matter on a website, but unreadable text at normal size is a real problem.

    Common mistakes and how to fix them

    Mistake: converting a transparent PNG and getting a black background

    This usually happens because JPG cannot store transparency and the converter fills empty pixels with black.

    Fix it by reopening the original PNG, adding a solid background layer in the color you want, then exporting again as JPG. If the image is a logo, use white only if the logo will appear on white. For a website, match the page background color exactly if possible.

    Mistake: the JPG looks blurry

    Blurriness usually comes from resizing too small, using too much compression, or converting a screenshot with text.

    Fix it by going back to the original PNG and trying:

  • Larger dimensions
  • JPG quality 90 instead of 75
  • No additional sharpening unless the image is a photo
  • PNG instead of JPG if the image is mostly text or UI
  • If a screenshot must stay readable, PNG is often the correct final format.

    Mistake: the file is still too large after conversion

    If your JPG is still too large, the image dimensions are probably too big. A high-resolution image exported at quality 85 can still be heavy if it is thousands of pixels wide.

    Fix it in this order:

  • Resize to the largest dimensions you actually need.
  • Export as JPG quality 80–85.
  • Remove metadata if available.
  • Compress the final JPG.
  • Do not reduce quality to very low levels before resizing. That usually creates visible artifacts while leaving unnecessary pixels in the file.

    Mistake: text or fine lines look dirty

    JPG compression creates noise around high-contrast edges. Black text on a white background is a classic example.

    Fix it by keeping the file as PNG, or if JPG is required, export at quality 90–95 and avoid scaling down too much. For invoices, forms, diagrams, and slides, readability matters more than file size.

    Mistake: saving the same JPG repeatedly

    Every time you open a JPG, edit it, and save it again with compression, quality can degrade. This is called generation loss.

    Fix it by editing from the original PNG or a high-quality source file. Make all changes first, then export one final JPG. If you need multiple sizes, create each one from the original, not from a previously compressed JPG.

    Quick recommendations for real situations

    Use these as practical starting points:

  • Photo for email: JPG, 2000 px longest side, quality 80, sRGB
  • Blog article photo: JPG, 1200 px wide, quality 78–82, compressed afterward
  • Product photo on white background: JPG, 1500–2000 px longest side, quality 85
  • Logo with transparent background: keep PNG
  • Screenshot with UI text: keep PNG; if required, JPG quality 90+
  • QR code: keep PNG
  • ID or receipt upload: JPG quality 90, keep text readable, avoid over-compression
  • Social media image with text: PNG if the platform accepts it; otherwise JPG quality 90
  • A good conversion is not just β€œPNG to JPG.” It is choosing the final size, background, quality level, and color profile for the job. Start with the original PNG, resize to the actual use, export once as JPG, then check the result before deleting anything. If your final image still needs to be smaller, try the BestAIFinds Compress Image tool to reduce file size without guessing through repeated exports.

    SL

    Sky Lu

    Solo developer behind BestAIFinds β€” 240+ free, no-signup file tools, most running entirely in your browser. More about me β†’