DevTools

Image Converter

Convert, resize, and compress images between PNG, JPEG, and WebP, or copy them as a Base64 data URI — entirely in your browser.

Prefer the terminal? See the CLI equivalent →
Loading tool…

About the Image Converter

  • Convert to WebP, PNG & JPEG
  • Resize & quality control
  • Instant results
  • 100% private — runs in your browser
  • Free, no sign-up

This tool converts images between the three formats the web relies on — PNG, JPEG, and WebP — and lets you resize and compress them at the same time. Drop in a photo or screenshot, pick a target format and size, and download the result or copy it as a Base64 data URI to embed directly in HTML or CSS.

Everything happens in your browser using the Canvas API: the image is decoded, redrawn at your chosen dimensions, and re-encoded locally. Nothing is uploaded to a server, which keeps private screenshots and photos private and makes the whole process instant. A useful side effect of re-encoding is that EXIF and other metadata (including GPS location) are stripped from the output.

Choosing the right format matters. PNG is lossless and supports transparency, ideal for logos, icons, and screenshots with sharp edges. JPEG is lossy and best for photographs. WebP usually beats both — smaller files at the same quality, with support for transparency — and is well supported across modern browsers.

How to use it

  1. Drop an image onto the box, or click to choose a file. Its dimensions, size, and type are shown.
  2. Pick an output format (WebP, PNG, or JPEG) and, for the lossy formats, drag the quality slider.
  3. Optionally resize — set a width or height (aspect ratio locks by default) or reset to the original size.
  4. Compare the original and result side by side, then download the file or copy it as a Base64 data URI / CSS url().

Choosing a format

PNG
Lossless, supports transparency. Best for logos, icons, line art, and screenshots.
JPEG
Lossy, no transparency. Best for photographs where small size matters more than pixel-perfect edges.
WebP
Modern format with lossy and lossless modes plus transparency — usually the smallest for the same quality.
Quality
For JPEG/WebP, controls the compression trade-off. ~80% is a good balance of size and fidelity.

Frequently asked questions

Are my images uploaded anywhere?+

No. Decoding, resizing, and re-encoding all happen locally in your browser with the Canvas API. The image never leaves your device — there is no server involved — so it is safe to convert private screenshots and photos.

Does converting remove EXIF / location metadata?+

Yes. Because the image is redrawn onto a canvas and re-encoded, EXIF data — including camera details and GPS coordinates — is not carried over to the output. It is an easy way to strip metadata before sharing an image.

PNG, JPEG, or WebP — which should I pick?+

Use PNG for graphics with transparency or sharp edges (logos, icons, screenshots), JPEG for photographs, and WebP when you want the smallest file — it typically produces noticeably smaller images than JPEG or PNG at equivalent quality and supports transparency.

Why is my JPEG larger than the WebP?+

WebP uses more efficient compression, so for the same visual quality it is usually smaller than JPEG or PNG. If a converted file is larger than the original, lower the quality, reduce the dimensions, or try WebP.

Why can’t I export to AVIF or GIF?+

Browsers can decode many formats but can only reliably encode PNG, JPEG, and WebP via the Canvas API, so those are the export options. You can still load a GIF or other image and convert it to one of these.

Works well with

Image Converter chains with these tools — send your result straight on:

Related tools