JPG to WebP Converter
Turn JPG photos into WebP files in your browser, one WebP for each JPG.
or drop files here
JPG Format
JPEG image
A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.
- Lossy compression
- No alpha transparency
WEBP Format
WebP image
An image format developed by Google and built on the VP8 video codec for lossy images. It also supports lossless compression, transparency and animation.
- Lossy and lossless compression
- Alpha transparency
- Animation
- Supported by current major browsers
How to convert JPG to WebP
Follow these steps to convert JPG to WEBP online.
Choose your JPG file, or several at once.
Wait while the converter turns each file into WEBP.
Download each new WEBP file. Your original file isn't changed.
What to know before converting JPG to WebP
- The WebP is encoded from the JPG's decoded pixels, so detail can drop again.
- EXIF data, ICC profiles and XMP aren't copied to the WebP.
- The page has no quality slider and no lossless mode.
- WebP caps each side at 16,383 pixels.
- Choose several JPGs at once and each WebP downloads on its own.
About JPG files
What is a JPG file?
Work began in 1986 at the Joint Photographic Experts Group, which is where the name comes from. ITU-T published the core specification as T.81 in 1992, and ISO followed in 1994 with part 1 of its 10918 standard. In the baseline form, an encoder cuts the picture into blocks of 8 by 8 pixels, applies a discrete cosine transform per block and Huffman-codes the result. Because detail is thrown away, a typical file ends up between a tenth and a twentieth the size of the raw pixels.
Every color channel is stored with 8 bits. There is no alpha channel, which rules out transparency, and no layers. A quality scale from 0 to 100 is the usual control, and the same number in two programs does not promise the same look.
Most digital cameras and scanners write JPG, and it is the everyday choice for photos on the web, email attachments and shared pictures. The two extensions, .jpg and .jpeg, are one format. The last of its US patents ran out on 27 October 2006.
Programs that open JPG files
Windows, macOS and Linux
- Editing is GIMP's strength, and its JPEG export dialog offers quality, smoothing, progressive mode, arithmetic coding, optimized entropy coding, restart markers, chroma subsampling and a choice of DCT method.
- ImageMagick reads JPG at the command line. Its format list describes JPEG as lossy, with quality scaling plus Huffman and DCT options.
Web and mobile
- On desktops Chrome and Firefox show JPG, and phones do the same in Chrome and Safari. Every major browser handles it.
JPG and WebP compared
- Names: JPG files use image/jpeg. WebP files end in .webp and use image/webp.
- Compression: baseline JPEG always discards detail. Lossy WebP is based on VP8 coding, and the format has a separate lossless method.
- Transparency: none in a JPG. WebP stores an alpha channel in both its lossy and lossless files.
- Animation: a JPG is a single still, whereas WebP can hold an animation.
- Dimensions: a WebP's width and height are each capped at 16,383 pixels.
- Metadata: WebP can carry an ICC color profile, Exif and XMP.
- Origin: Google announced WebP on 30 September 2010. Its lossy mode reuses the intra-frame coding of the VP8 video codec for still pictures, and JPEG is a standard from the early 1990s.
- Typical jobs: WebP serves web images with smaller files, images needing transparency and short animations, while JPEG serves photographs.
Moving from one to the other changes the compression. The page decodes the JPG into pixels, encodes those pixels as a WebP, and leaves the metadata behind.
Other ways to convert JPG to WebP
- cwebp: run
cwebp -q 80 input.jpg -o output.webp. The -q value runs from 0 to 100 and defaults to 75 when you leave it out. Adding-losslessencodes without loss, though that preserves what was decoded and not what the JPG had already discarded. The cwebp manual lists JPEG as an accepted input. - GIMP: bring the JPG in, go to File > Export As, and give the new file a name that ends in .webp. In the WebP dialog you can tick Lossless or move the sliders for image quality and alpha quality, and GIMP's page notes that higher quality usually means a larger file.
- ImageMagick: run
magick input.jpg -quality 80 output.webp, the pattern ImageMagick's documentation shows with a PNG input. Its format list notes that WebP needs the WEBP delegate library.
Problems with JPG files
- Transparency is missing: JPEG export cannot keep transparent pixels. Pick a format that has alpha when you need see-through areas.
- An old photo frame or TV rejects the file: some older devices cannot show progressive JPEG, where a coarse version appears first and sharpens while the rest loads. Export again with progressive mode off.
- Older software won't open it: GIMP lists arithmetic coding among its JPEG options, says it can make files 5 to 10 percent smaller, and warns that older software may not open them.
- The same quality number looks different: numbers differ between programs, so equal values do not guarantee equal compression or appearance.
- No layers survive: a JPEG holds one flattened picture, so keep the project file you edited it from.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert JPG to WebP?
Will the WebP be smaller than the JPG?
Does converting JPG to WebP lose quality?
Can I pick lossless or choose the quality?
Why convert a JPG to WebP at all?
Does the WebP keep the EXIF data and GPS location?
Where can I open a WebP?
Will a site that wants a JPG accept the WebP?
Can I convert a whole folder of JPGs?
Is there a size limit on the picture?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.