Converting an image between JPG, PNG, and WebP changes how it is stored and compressed. The right conversion depends on whether you need transparency, smaller file size, broad compatibility, or sharper text and graphics.
You can convert images using built-in tools on Windows and Mac, image editors, online converters, or command-line tools. Always keep the original file before converting, especially when moving from a lossless format to a lossy one.
Understand What Changes During Conversion
Each format handles image data differently.
| Format | Transparency | Compression | Best for |
|---|---|---|---|
| JPG | No | Lossy | Photographs and detailed images |
| PNG | Yes | Lossless | Logos, screenshots, graphics, transparency |
| WebP | Yes | Lossy or lossless | Modern web images |
Converting from PNG to JPG usually removes transparency. Converting from JPG to PNG may increase file size without improving the image’s visual quality. Converting to WebP can reduce file size, but you should check that the platform or app where you will use the image supports it.
Convert Images on Windows
Using Paint
Microsoft Paint can convert images to JPG, PNG, and sometimes WebP, depending on your Windows version.
- Open the image in Paint.
- Click File.
- Select Save as.
- Choose the format you want, such as PNG, JPEG, or WebP if available.
- Name the file and choose a location.
- Click Save.
Paint is suitable for simple conversions, but it offers limited control over compression quality and resizing.
Using Photos
The Windows Photos app may allow exporting or saving a copy in a different format, depending on the version and installed features. For more reliable format control, use Paint, an image editor, or an online converter.
Convert Images on Mac
Using Preview
Preview can convert images between common formats, including JPG and PNG. WebP support can depend on your macOS version and the apps installed.
- Open the image in Preview.
- Click File.
- Select Export.
- Choose the output format from the Format menu.
- Adjust the quality slider if converting to JPG.
- Click Save.
Preview is useful for quick conversions and gives basic quality control when exporting JPG files.
Convert Images With an Online Converter
Online converters are convenient when you do not want to install software.
A typical process is:
- Open an online image converter.
- Upload the image.
- Choose the output format: JPG, PNG, or WebP.
- Adjust quality, resizing, or compression settings if available.
- Start the conversion.
- Download the converted file.
- Compare it with the original before using it.
This method works well for one-off conversions, such as turning a PNG screenshot into a JPG for email or converting a JPG photo into WebP for a website.
Be cautious with private, confidential, or unpublished images. Check the converter’s privacy policy before uploading. For sensitive files, use an offline image editor or your device’s built-in conversion tools.
Convert Images in an Image Editor
Image editors give you more control over quality, resizing, and compression.
Common workflow
- Open the original image.
- Choose Export, Save As, or Export As.
- Select the desired format.
- Set the image dimensions if resizing is needed.
- Choose a quality level for JPG or lossy WebP.
- Preserve transparency by choosing PNG or WebP when needed.
- Export the file.
- Compare the result with the original at 100% zoom.
For photographs, start with a moderate-to-high quality setting, such as around 80% for JPG or WebP. For graphics with text, use PNG or lossless WebP to preserve sharp edges.
Convert PNG to JPG
Convert PNG to JPG when you have a photograph or detailed image and do not need transparency.
- Open the PNG file.
- Choose Export or Save As.
- Select JPG or JPEG.
- Set the quality level.
- Save the new file.
Important: JPG does not support transparency. If the PNG has a transparent background, the converted JPG will usually have a white background or another solid color, depending on the software.
Use this conversion for:
- Web page photos
- Email images
- Social media photos
- Product images without transparency
Avoid it for:
- Logos that need a transparent background
- Screenshots with small text
- Diagrams and charts
- Icons with sharp edges
Convert JPG to PNG
Convert JPG to PNG when you need lossless storage, transparency support, or maximum compatibility with graphic editing tools.
- Open the JPG file.
- Choose Export or Save As.
- Select PNG.
- Save the file.
Keep in mind that converting a JPG to PNG does not restore detail that JPEG compression already removed. It may also create a larger file because PNG stores the image without lossy compression.
Use JPG-to-PNG conversion when:
- You need to add transparency later.
- You want to avoid further lossy compression.
- You are editing a graphic or screenshot.
- A platform specifically requires PNG.
Do not expect a PNG converted from JPG to look sharper than the original JPG.
Convert JPG or PNG to WebP
WebP is often the best choice for website images because it can reduce file size while maintaining good visual quality.
- Open the image in an editor or online converter.
- Choose WebP as the output format.
- Select lossy or lossless WebP.
- For photos, start with a moderate quality setting.
- For graphics, text, or transparency, test lossless WebP or a higher-quality setting.
- Export the file.
- Compare the WebP version with the original at actual display size.
Use WebP for:
- Website photos
- Blog images
- Product images
- Graphics that need transparency
- Pages where loading speed matters
Keep a JPG or PNG backup if you need to upload the image to a platform that does not support WebP.
Convert WebP to JPG or PNG
Some apps and websites do not accept WebP files. Converting WebP to JPG or PNG can solve compatibility problems.
- Open the WebP image in Preview, Paint, an image editor, or an online converter.
- Choose JPG for photographs or PNG for graphics and transparency.
- Export the new file.
- Check the image quality and dimensions.
Use JPG when the WebP image is a photo and transparency is not needed. Use PNG when the image has transparency, text, sharp lines, or fine graphic detail.
Preserve Image Quality During Conversion
Start with the best available original
Converting cannot add detail that was never there. If possible, convert from the original high-quality image rather than from an already compressed copy.
Avoid repeated lossy conversions
Do not convert an image from JPG to WebP, then back to JPG, then to WebP again. Each lossy conversion can reduce quality and introduce artifacts.
Resize before final export
If the image needs to be smaller, resize it before exporting. This produces a cleaner result than converting a large image and resizing it later.
Check transparency
Before converting PNG to JPG, confirm whether the image needs a transparent background. If it does, use PNG or WebP instead.
Compare at actual size
An image may look acceptable in a thumbnail but show blur, banding, or rough edges at full size. Compare the converted file with the original at 100% zoom.
Common Conversion Mistakes
Converting a transparent PNG to JPG
This removes transparency and can add an unwanted background. Use PNG or WebP if transparency matters.
Converting JPG to PNG to improve quality
PNG is lossless going forward, but it cannot recover quality lost during original JPG compression. The file may become larger without looking better.
Using maximum compression for every image
A very small file is not always better. Excessive compression can make photos blurry and make text difficult to read.
Ignoring platform requirements
Some websites, marketplaces, email tools, or content management systems accept only certain formats or dimensions. Check the requirements before converting.
Overwriting the original file
Always export a new file rather than saving over the original. This gives you a clean source for future resizing or format changes.
Quick Conversion Guide
| Need | Convert to |
|---|---|
| Smaller website photo | WebP or JPG |
| Transparent logo | PNG, WebP, or SVG |
| Screenshot with readable text | PNG or WebP |
| Broadly compatible email image | JPG or PNG |
| Image for a platform that rejects WebP | JPG or PNG |
| Photo without transparency needs | JPG or WebP |
Choose the output format based on the image’s purpose, not just file size. Use JPG for compatible photos, PNG for transparency and sharp graphics, and WebP for efficient modern web images—while keeping the original file safe for future conversions.