πŸ”„ Image Converter

Convert JPG, PNG, WebP, GIF or BMP images to JPEG, PNG or WebP with a quality slider and size comparison.

πŸ”„

Drop your image here Release to upload

or click to browse your files

JPG PNG WebP GIF BMP

Max file size: 50 MB

πŸ–ΌοΈ

Β· Β·

Choose Output Format

Smaller file Better quality

PNG uses lossless compression β€” every pixel is preserved at full quality.

Original
Original image

Converted
Converting…
Converted image
Choose a format and click Convert

Input format
Output format
Original size
Output size
The converted file is larger than the original β€” this is expected when converting to lossless formats like PNG. Try lowering the quality slider.

About Image Converter

  • β€’ Converts images between JPG, PNG, WebP, GIF, and BMP using your browser's Canvas API.
  • β€’ JPEG β€” Ideal for photographs. Smaller files, some quality loss. Use the quality slider to balance size and clarity.
  • β€’ PNG β€” Lossless with transparency. Best for graphics, logos, and screenshots. Files may be larger.
  • β€’ WebP β€” Modern format with excellent compression. Supported in all current browsers.
  • ℹ️ Transparent pixels (PNG, WebP β†’ JPEG) are filled with a white background since JPEG does not support transparency.
  • πŸ”’ All conversion happens entirely in your browser β€” your images are never uploaded to any server.

Decoding to pixels and re-encoding with canvas

Conversion is a two-stage process. First the browser decodes your file into raw pixels. Whatever the container format, a decoded image is simply a grid of colour values, and the tool reads the natural width and height and draws the whole picture onto an off-screen canvas at full size, so no detail is discarded at this stage.

Second, the canvas is encoded into the format you chose, with the quality setting passed to the encoder for the lossy formats. JPEG and WebP quality is a number between 0 and 1: higher values keep more detail and produce a bigger file, lower values discard more high-frequency information and produce a smaller one. PNG ignores the setting, because it compresses losslessly and always reproduces the exact pixels.

One extra step applies to JPEG, which has no alpha channel. Before drawing, the canvas is filled with a solid background so that transparent areas arrive as a flat colour rather than as unpredictable black. The tool also preselects a sensible output, offering WebP for an incoming JPEG or PNG, and JPEG for an incoming WebP.

A 3000 by 2000 photograph converted to WebP

Take a camera JPEG measuring 3000 by 2000 pixels with a file size of 2.4 MB, which is about 2458 KB. Set the output format to WebP and leave the quality around 0.8.

The canvas is created at 3000 by 2000, the photograph is drawn onto it, and the encoder writes a WebP file. For a typical detailed photograph at that quality the result lands near 620 KB. Comparing the two figures: 620 divided by 2458 is 0.252, so the converted file is roughly a quarter of the original, a saving of about 75 per cent. The pixel dimensions are unchanged at 3000 by 2000, because converting the format does not resize anything.

Push the quality down to 0.6 and the same image might fall to around 350 KB, a saving of about 86 per cent, with softening starting to appear in fine texture such as hair or foliage. Convert the same photograph to PNG instead and the file would grow, often past 8 MB, because lossless compression handles photographic noise poorly.

Choosing a format, and what conversion cannot undo

Pick the format by what the image contains. JPEG is the safe choice for photographs going to older software. PNG is right for logos, screenshots, diagrams and anything needing transparency or crisp text edges. WebP normally produces the smallest file of the three at comparable quality and is supported by every current browser, which makes it the usual pick for websites.

The key limit is that conversion cannot restore what was already lost. A JPEG that has been saved at low quality is permanently softened, and converting it to PNG will lock those artefacts into a much larger file rather than repair them. For the same reason, avoid repeatedly re-encoding between lossy formats, because each pass discards a little more detail.

Two further points catch people out. Converting to JPEG flattens transparency to a solid background, so a logo meant to sit on a coloured page will gain a visible rectangle. And because the canvas draws a single frame, an animated GIF converts to a still image rather than keeping its animation.

Frequently Asked Questions

No. The file is read by the browser, drawn onto an HTML canvas and re-encoded on your own device. Nothing is transmitted and nothing is stored remotely, which also means the conversion works on a poor connection and keeps private or confidential pictures on the machine you are using.
Around 0.8 is a good default for photographs, giving a large size reduction with differences that are hard to see at normal viewing distance. Drop towards 0.6 for thumbnails and background images where small artefacts do not matter. Compare the reported output size against the original before deciding.
PNG compression is lossless and works best on flat colour and sharp edges. Photographs contain fine noise that it cannot compress efficiently, so converting a photographic JPEG to PNG routinely multiplies the file size. If you want a smaller photograph file, choose WebP or JPEG instead.
No. The canvas is created at the image's natural width and height, so a 3000 by 2000 picture stays 3000 by 2000 in the converted file. Only the encoding changes. If you also need fewer pixels, resize the image with a separate tool before or after conversion.
The converter draws a single frame onto the canvas, so the output is a still image in the format you selected rather than an animation. JPEG and PNG cannot carry animation at all. If you need to keep motion, use a dedicated GIF or video tool rather than a format converter.