Image Converter

Convert JPG to PNG, PNG to JPG, any image to WebP, and AVIF, WebP or SVG files to PNG or JPG. Resize while you convert and adjust quality — all inside your browser, so your images are never uploaded.

90%
JPG has no transparency, so transparent areas are filled with this color.

What this image converter does

It decodes an image with your browser’s own decoder, draws it on an HTML canvas at the size you choose, and re-encodes the pixels as PNG, JPG or WebP. It opens anything your browser can display — PNG, JPG, WebP, AVIF, GIF, BMP and SVG in current browsers — but saves only the three formats browsers can reliably encode. The file never leaves your device.

How to convert an image

  1. Click the box above to choose an image, or drag one onto it.
  2. Pick a format under Convert to. The preview and the Original and Converted rows (dimensions and file size) update straight away.
  3. Adjust Size, Quality or Background if you need to; each change re-encodes the image.
  4. Click the download button (labelled Download PNG, Download JPG or Download WebP). The file keeps its original name with the new extension, so holiday.png becomes holiday.jpg.

Options explained

Which format should I use?

FormatCompressionTransparencyBest forHere
PNGLosslessYesScreenshots, UI graphics, logos, images with textIn and out
JPG / JPEGLossyNoPhotographs where file size matters more than perfect detailIn and out
WebPLossy or losslessYesWeb pages; usually smaller than JPG or PNG for the same imageIn and out
AVIFLossy or losslessYesModern web delivery with very high compressionIn only
SVGVectorYesIcons and illustrations that must stay sharp at any sizeIn only
GIF / BMPLossless (GIF limited to 256 colours)GIF: on/off onlyLegacy files; convert them to PNG or WebPIn only

For WebP, Google’s own compression study reported lossy WebP files 25–34% smaller than JPEG at equivalent quality; your results depend on the image. The quickest way to decide is to try both here and compare the Converted size.

Common conversions

JPG to PNG

Useful when an editor or form only accepts PNG, or to avoid further quality loss while editing. PNG cannot restore detail JPG already discarded, and the file grows: in our test, an 800 × 600 photo-like JPG of 167.7 KB became a 1.06 MB PNG.

PNG to JPG or WebP

Photos saved as PNG are often far larger than they need to be. JPG at 80–90% quality, or WebP, usually shrinks them a great deal with no visible difference. A logo with a transparent background is a poor candidate for JPG: the transparency is replaced by the Background colour, so choose WebP or keep PNG.

WebP or AVIF to PNG or JPG

Images saved from websites are often WebP or AVIF, which older editors and some forms still reject. Choose PNG or JPG for a widely compatible copy. Opening AVIF needs a browser that supports it, as current Chrome, Edge, Firefox and Safari do.

SVG to PNG

Social networks, app stores and email clients usually want a bitmap. Choose PNG and 200% or 400% for a crisp, high-resolution export. If the SVG has no usable width and height, the tool takes the size from its viewBox (and falls back to 300 × 150, the default size of a replaced element, if there is none). An SVG with viewBox="0 0 120 60" exports at 480 × 240 pixels at 400%.

Common problems and fixes

Message or symptomCauseFix
“Your browser could not read this image”The file is damaged, or in a format the browser cannot decode, such as HEIC from an iPhone or TIFF.Export it as JPG or PNG from the device or app that created it, then convert here.
“Your browser cannot create WebP files”Some browsers can display WebP but not encode it from a web page; Safari is the usual case.Use a recent Chrome, Edge or Firefox for WebP, or choose PNG or JPG.
“The output would be … pixels”The result would exceed 16,777,216 pixels (4096 × 4096), a canvas limit in Safari that the tool applies everywhere.Choose a smaller Size.
Transparent areas filled with a solid colourJPG cannot store transparency.Pick a Background colour that matches where the image will be used, or convert to PNG or WebP.
The converted file is bigger than the originalPNG was chosen for a photo, or the source was already heavily compressed.Use JPG or WebP and lower Quality.
Colours look slightly differentThe pixels are redrawn without the original embedded colour profile.For colour-critical print work, convert in an editor that manages ICC profiles.

Frequently asked questions

Are my images uploaded to a server?

No. The image is decoded and re-encoded by your own browser. You can disconnect from the internet after the page loads and the converter keeps working.

Does converting remove EXIF and GPS data?

Yes. Only the pixels are drawn to a canvas and re-encoded, so camera details, GPS coordinates and other metadata are not written to the new file. Converting is therefore a quick way to strip location data before sharing a photo.

Will converting JPG to JPG again lose quality?

Each lossy re-encode discards a little more detail, so avoid repeated JPG or WebP round trips. Keep a PNG or the original as your master copy and export a lossy version from that.

Are animated GIFs or WebPs supported?

Only one frame is converted — the image’s default frame, usually the first. The canvas holds a single still image, so the output is never animated.

Why can I open AVIF but not save as AVIF?

Displaying AVIF and encoding it are separate features. The HTML standard only requires browsers to encode PNG from a canvas, and when asked for AVIF, Chromium returns PNG instead. Use an image editor or a command-line encoder such as avifenc for AVIF output.

Guides

Related tools