Tools Nimbus

Tool 026 / files / free / runs locally

Image Format Converter

Pick any image and convert it to PNG, JPG, or WebP, the format you actually need, rather than a fixed default. Conversion runs through the Canvas API in your browser, so the original file is never uploaded anywhere. Useful when a site only accepts one format, or when you want a transparent PNG turned into a smaller WebP.

Drag & drop an image here, or click to choose a file.

Any format your browser can decode. Stays on your device.

How it works

This converts an image between PNG, JPG, and WebP entirely inside your browser. The file is decoded, drawn onto a canvas at its original pixel dimensions, and re-encoded in the format you pick. The original and converted byte sizes are shown side by side so you can see whether the swap was actually worth it.

The quality slider runs from 10 to 100 and applies to JPG and WebP, which are lossy formats. PNG ignores it entirely because PNG is lossless, so a PNG export at quality 40 and at quality 100 are byte-for-byte identical. When the target is JPG the canvas is filled with white first, because JPEG has no alpha channel and transparent pixels would otherwise come out black.

Nothing is uploaded. The file is read through a local object URL, converted in the tab, and downloaded from memory, so screenshots containing internal dashboards or client artwork stay on your machine.

How to use it

  1. Drop an image onto the drop zone or click it to choose a file.
  2. Pick the output format: PNG, JPG, or WebP.
  3. For JPG or WebP, drag the quality slider and watch the converted size update.
  4. Compare the original and converted sizes, then download the result.

Worked examples

Input: A 1.4 MB PNG screenshot converted to WebP at quality 85

Output: A visually identical WebP a fraction of the size

Screenshots with large flat regions are where WebP gains the most over PNG.

Input: A logo PNG with a transparent background converted to JPG

Output: The same logo on a solid white background

JPEG cannot store transparency, so the tool fills white rather than letting the transparent area turn black.

Edge cases and limits

  • Metadata is not preserved. EXIF, GPS coordinates, colour profiles, and copyright fields are all dropped by the canvas round trip. That is useful for privacy and unhelpful if you needed the data.
  • Animated GIF and animated WebP inputs are flattened to their first frame.
  • There is no resizing or cropping. The output keeps the source pixel dimensions.
  • Input formats are limited to what your browser can decode. HEIC from an iPhone often fails on desktop browsers, and SVG needs an intrinsic size to rasterise.
  • WebP encoding depends on browser support. Every current browser can do it, but an old one may fail or silently fall back to PNG.
  • Very large images can exceed a mobile browser's maximum canvas area, particularly on iOS Safari, and the conversion will fail rather than degrade.
  • Colours are converted to sRGB, so an image in a wide-gamut profile may look slightly different after conversion.

Common mistakes

  • Expecting PNG to JPG to always be smaller. For flat graphics, logos, and screenshots with sharp edges, PNG frequently wins and JPG adds visible ringing.
  • Converting a transparent PNG to JPG and being surprised by the white background. Use WebP if you need transparency plus small files.
  • Using a format converter when you actually want compression at the same format. The image compressor tool is the right one for that.
  • Converting an original master file and deleting the source. Every lossy re-encode is permanent, so keep the original.

Frequently asked questions

How is this different from the Image Compressor tool?+

The Image Compressor always outputs a JPEG and focuses on shrinking file size with a quality slider. This tool is about choosing the destination format itself: PNG for transparency, JPG for universal support, or WebP for smaller files with transparency support. Use this one when the format matters, and the compressor when only the size does.

Will converting a transparent PNG to JPG lose the transparency?+

Yes. JPG has no alpha channel, so transparent areas are filled with white before export. If you need to keep transparency, convert to WebP or PNG instead, both of which preserve it.

Does my browser need to support WebP to use this?+

To decode a WebP file you upload, yes, but every modern browser (Chrome, Firefox, Safari, Edge) has supported WebP for years. If WebP output isn't available in your browser, the tool disables that option automatically.

Does converting to WebP lose quality?+

At the default 85 the loss is very hard to see on photographs, and the files are typically much smaller than the JPG equivalent. Below about 60 you start to see smearing on fine detail and text. WebP also supports transparency, which JPG does not.

Does this strip EXIF data from my photo?+

Yes, as a side effect of re-drawing the image on a canvas. Location, camera model, and timestamps do not survive the conversion, which makes this a quick way to sanitise a photo before publishing it.

More Files & Media tools that run entirely in your browser.