JPG to WebP Converter
Convert JPG images to WebP in your browser. Preview the output and check its file size before downloading.
How to use JPG to WebP
- Select a JPEG or try the built-in sample.
- Set an initial quality, then select Convert to WebP.
- Compare the preview and file size. Adjust the quality if needed, then download.
How it works
The browser decodes the JPEG and re-encodes the result as WebP with the same decoded pixel dimensions. The original JPEG may already contain artifacts from its first compression.
Set a quality target for the picture
Test higher quality for photos containing small text or fine lines. A simple hero photo may tolerate a lower setting. Inspect the output at its final display size before publishing.
Compare the source and export independently
Keep the original JPEG. WebP re-encodes decoded pixels, so the output can change even when the width and height stay the same.
Formula or processing rules
Space saved (%) = (JPEG bytes − WebP bytes) ÷ JPEG bytes × 100. A negative result means the WebP is larger.
Worked example
A hypothetical 1600 × 900 JPEG starts at 320 KiB. If the WebP is 200 KiB, the saving is 120 KiB, or 37.5%. Check fine lines and gradients before publishing.
| Measure | Value (KiB) |
|---|---|
| Original JPEG | 320 |
| Converted WebP | 200 |
Interpret a negative space saving
If a 320 KiB JPEG becomes a 350 KiB WebP, the saving is −9.375%. Keep the JPEG or test a lower WebP setting if file size is the priority.
Pros and cons
Pros
- Provides a WebP version for a website that supports it.
- Keeps the original decoded dimensions.
- Lets you compare output quality and size.
Cons
- A second lossy encode can add artifacts.
- Conversion cannot recover detail already lost in JPEG.
- Some destinations accept only JPEG or PNG.
Troubleshooting
- The JPEG is rejected Check that the file actually uses JPEG encoding and is under 20 MB and 16 million decoded pixels.
- Colors or fine detail look different Try a higher quality setting and compare the downloaded copy in the same viewer.
- The website rejects WebP Use JPEG where the upload form requires it.
A previously optimized JPEG shrinks very little
Test another quality setting and compare visible detail. When the saving is small, file format compatibility may matter more than the difference in size.
Frequently asked questions
Will it restore detail lost in the JPG?
Changing format cannot restore detail lost in the original JPEG.
Will the dimensions change?
The export uses the same pixel dimensions as the decoded image.
Is the image uploaded?
The converter reads the file and produces the download in your browser.
Why might the WebP be larger?
The original may already be well optimized. Try a lower quality setting and compare the size and appearance.
Is there a file limit?
The converter accepts one image up to 20 MB and up to 16 million decoded pixels.