LighterPics
English

Convert image

Change between JPG, PNG and WebP.

Drop an image here

JPG · PNG · WebP · basic HEIC (Safari) · Up to 20 MB · 25 megapixels

Your image stays on your device.

What each format did to our test images

We converted every image to each format at the quality settings below. Photos started as camera JPGs; screenshots and graphics started as PNG.

25 photos, JPG in

OutputShare of originalSimilarity
JPG 100197%0.999
JPG 92 (default)60%0.993
JPG 8039%0.980
JPG 5016%0.960
JPG 105%0.883
WebP 100250%1.000
WebP 92 (default)50%0.987
WebP 8023%0.969
WebP 5012%0.952
PNG483%1.000

Source: our test on 2026-11-10 (harness eacd79c, site code eacd79c), headless Chromium 145 on a desktop Mac, 25 CC0 photos and 14 images we made. Sizes are a share of the original file size. Similarity is our own 8×8-block luma score (SSIM): 1.000 means no visible change, lower means more change. How we test

PNG screenshots and graphics

OutputScreenshotsGraphics
JPG 92 (default)122%110%
JPG 8097%78%
WebP 92 (default)49%58%
WebP 8040%50%
PNG139%186%

Source: our test on 2026-11-10 (harness eacd79c, site code eacd79c), headless Chromium 145 on a desktop Mac, 25 CC0 photos and 14 images we made. Sizes are a share of the original file size. How we test

How the converter changes format

  1. It takes one still JPG, PNG or WebP and checks the file's bytes, not its name, so renaming a file does not change what it is.
  2. The picture is drawn at the same pixel size on a canvas. For JPG the canvas is filled white first; PNG and WebP keep transparency.
  3. The browser's own encoder writes the new file. The quality slider (1 to 100, default 92) applies to JPG and WebP; PNG has no quality setting because it keeps every pixel.
  4. Before offering the download, the page reads the new file's header to check its format and pixel size.
  5. WebP is offered only if this browser can save it, which the page tests once when it opens, and only up to 16,383 px per side.
  6. If you open a JPG, PNG is selected for you; anything else starts on JPG. The file stays on your device the whole time.

Converter limits

LimitValue
File size20 MB
Image inStill JPG, PNG or WebP, up to 25 megapixels and 16,384 px per side
Formats outJPG, PNG, WebP
Quality1 to 100 for JPG and WebP, default 92
WebP outUp to 16,383 px per side, in browsers that can save WebP
TransparencyKept in PNG and WebP; white in JPG
HEIC (iPhone photos)Opens in Safari, not in Chrome or Firefox. Why, and what to do
Location and camera dataNot copied: 0 of 756 files this tool made in our test had EXIF data.

When conversion goes wrong

Why did PNG make my photo so much bigger?

PNG stores every pixel without loss, and photos have few repeating pixels. Our photos grew to a median 483% of the original JPG as PNG, with no gain in detail: the JPG had already thrown it away. Use PNG for screenshots and graphics, or when you need transparency.

Is quality 100 the safest setting?

No. JPG at 100 made our photos a median 197% of their original size and scored 0.999; the default 92 gave 60% and 0.993. WebP at 100 kept the pixels exactly in 25 of 25 photos, at 250% of the size. Saving again cannot bring back what the first JPG lost.

Is WebP smaller than JPG?

At the same slider value, yes in our test: at 80, WebP files were a median 23% of the original against 39% for JPG, scoring 0.969 against 0.980. Google's WebP study also found WebP smaller than JPG at equal quality. Some upload forms and email apps still refuse WebP, so check what the destination accepts.

What happens to transparent areas?

JPG cannot store transparency, so this tool fills those areas with white. Some other converters fill them with black, a frequent complaint on developer forums (user reports, for example this Stack Overflow question). PNG and WebP kept transparency exactly: 0 of our 110 PNG-source conversions changed it.

Why can a converted, resized or edited file be bigger than the original?

Every LighterPics tool writes a new file with the browser's encoder; none copies the original's bytes. JPG suits photos but not flat screenshots: our PNG screenshots grew to 122% of their size as JPG 92. And the browser's PNG encoder packs less tightly than many apps: our graphics grew to 186% when simply saved as PNG again. Check the size shown before you download, and keep the original if it is smaller.

Can I convert an iPhone HEIC photo here?

In Safari, yes. All 3 of our HEIC test files passed the site's file check and opened in Safari's engine, and the tools save the result as a JPG. Chromium could not decode any of them, so the page shows its unsupported-file message; Firefox showed the same message in our browser tests. In Chrome or Firefox, open the photo in Safari, or set your iPhone to save JPG under Settings, Camera, Formats, Most Compatible (Apple's guide). The HEIC to JPG page has our file sizes for HEIC to JPG.

How to change image format

  1. Choose one still JPG, PNG or WebP image.
  2. Choose the output format. Pixel dimensions stay the same; camera orientation is applied.
  3. Convert, check the preview and file size, then download.

Which format should I choose?

JPG suits photos without transparency. PNG keeps transparency without adding lossy compression. WebP is useful for web images and supports transparency. WebP output requires a browser with a WebP encoder.

Does conversion make the file smaller?

Not always. The encoded file can be larger, especially when converting a photo to PNG. Check the actual size before downloading.

What happens to a transparent PNG?

Choose a format for the destination. PNG or WebP can keep a badge transparent; JPG needs an opaque background. Renaming .png to .jpg does not convert an image.

Mountain badge surrounded by transparency
Original960 × 640 px · 36.293 KBDownload example (PNG)
The same badge converted to JPG with a white background
Result960 × 640 px · 19.563 KBDownload example (JPG)

Select the original transparent PNG and choose JPG. The result stays 960 × 640, but transparent areas become white. The checkerboard behind the original is only a preview background.

Here JPG is smaller, but discards transparency and uses lossy encoding. Converting it back to PNG cannot restore transparency or lost detail. Compare the downloads at full size.

Original illustrations created by LighterPics and processed with this tool. Real example files, not predictions for your image. File sizes can vary by browser.

Measured: · Chromium 145.0.7632.6

When should I keep PNG?

When transparency or sharp graphic edges matter. Photos often become larger in PNG. Choose JPG if the destination accepts it and transparency is unnecessary; check fine text afterward.

Why can this browser not save WebP?

WebP export needs a browser encoder. Some browsers can display WebP but cannot create it through this tool. After an encoder error, choose PNG or JPG, or another browser with WebP output support.

JPG, PNG or WebP?

Choose the format that the destination accepts before optimizing file size. A smaller unsupported file will still be rejected.

JPG for opaque photographs

JPG uses lossy encoding and has no transparency. Transparent areas become white here. Repeated editing and saving can add losses, so work from an original where possible.

PNG for exact pixels and transparency

PNG is useful for logos, interface captures and sharp text. Converting a photograph to PNG can increase its size. The PNG mode in the compression panel preserves pixel data, transparency and color chunks; it removes text metadata and recompresses the existing pixel stream. Already efficient files may not shrink. This is not palette reduction.

WebP when the destination supports it

WebP can keep transparency while using lossy compression. Output availability depends on the browser encoder; an unavailable choice is disabled. Compare fine detail at the intended display size. There is no format that is always smallest.

PNG optimization accepts static PNGs up to 8 megapixels, with bounded decompression. It removes only the known-safe ImageIO EXIF shape that has no rotation or resolution data, and rejects other EXIF rather than risk changing display. JPG/WebP batch input is limited to static JPG, PNG and WebP, up to 25 megapixels. Batch does not take HEIC, animation or SVG. Color rendering and encoded sizes may differ between browsers.

Open the compression tool

Convert between specific formats

Starting from a known format? These pages preset the converter for the exact pair and explain what changes — transparency, size and quality: