Skip to content

Convert JPG to WebP in your browser

Shrink JPG and JPEG photos into WebP for faster web pages, without uploading them.

Image compression workspace

Settings
FormatWebP for best compression
Quality82 is a solid default
82
Higher = larger file. JPEG uses perceptual scaling.
Resize1.000 = original size
Options
Compression
Progress0%

Buy Me a Coffee

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

  1. Select your JPG image.
  2. WebP is preselected; choose lossless or set the quality.
  3. Optionally resize, crop, or keep metadata.
  4. 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

Localsquash image processing specifications
EngineFFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab
InputsJPG, PNG, WebP, BMP, GIF (first frame)
OutputsWebP (libwebp, lossy or lossless), JPEG, PNG (compression level 9)
ControlsQuality, resize, crop, strip metadata
TransparencyKept in PNG and WebP; JPEG has no alpha channel
Not supportedAnimated output, batch processing, exact-KB targets
MemoryLimited by the browser and device; phones fail sooner on large files
NetworkAbout 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

  1. Open your browser’s developer tools and select the Network tab.
  2. Select a file and wait until the engine status shows Ready.
  3. Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
  4. 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.