Convert JPG to WebP in your browser
Shrink JPG and JPEG photos into WebP for faster web pages, without uploading them.
Image compression workspace
To convert JPG to WebP, select the photo, set quality (75–85 is a good start), and click Compress. Localsquash encodes WebP locally with libwebp, can strip EXIF metadata, and never uploads the image.
How to convert JPG to WebP
- Select your JPG image.
- WebP is preselected; choose lossless or set the quality.
- Optionally resize, crop, or keep metadata.
- Click Compress, compare the result, and download the WebP.
Why convert JPG to WebP?
Page speed
WebP is often smaller than JPEG at similar visual quality, which helps image-heavy pages load faster.
Resize first
Resizing to the displayed dimensions saves more bytes than lowering quality.
Privacy
Stripping metadata removes embedded EXIF fields such as camera details and GPS location from the export.
Technical specifications
| Engine | FFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab |
|---|---|
| Inputs | JPG, PNG, WebP, BMP, GIF (first frame) |
| Outputs | WebP (libwebp, lossy or lossless), JPEG, PNG (compression level 9) |
| Controls | Quality, resize, crop, strip metadata |
| Transparency | Kept in PNG and WebP; JPEG has no alpha channel |
| Not supported | Animated output, batch processing, exact-KB targets |
| Memory | Limited by the browser and device; phones fail sooner on large files |
| Network | About 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent |
How to verify nothing is uploaded
- Open your browser’s developer tools and select the Network tab.
- Select a file and wait until the engine status shows Ready.
- Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
- Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.
JPG to WebP FAQ
Do all browsers support WebP?
Yes. Current Chrome, Edge, Firefox, and Safari versions display WebP. Some older desktop apps and email clients may not.
Will converting JPG to WebP lose quality?
Both are lossy, so re-encoding adds some loss. At quality 80–85 the difference is usually hard to see; compare before replacing the original.
Is JPG to WebP conversion private?
Yes. Conversion runs locally in your browser with FFmpeg WebAssembly. The file never leaves your device, and there is no signup or watermark.
