Esc
↑ ↓ to moveEnter to openEsc to close

Convert and compress tool

Convert image format

The format your next step needs. Convert between JPG, PNG and WebP without sending the image away.

Your image

Processed on your device
Canvas support is required.

Live preview

Try the demo

Choose your crop

Drag on the preview for a custom crop. The shaded edges will be removed. Need more room instead? Uncrop the photo.

PNG and WebP keep transparency.

Continue with this photo Christmas frameNew Year frame Uncrop a photoResizeCompressAdd text Open a photo first, then pick the next step. Your edit carries over and stays on this device.

Three steps

How to convert image format

  1. Choose a JPG, PNG, WebP or AVIF file.
  2. Select the output format and quality where available.
  3. Download a new file and keep your original.

Choose the format for the job.

JPG is a practical choice for many photographs, while PNG keeps transparency and sharp flat graphics without lossy compression. WebP supports both compact photographic images and transparency in current browsers. Converting creates a new file; it does not rename the old extension.

A transparent PNG converted to JPG receives a white background because JPG cannot store an alpha channel. Converting a JPG to PNG does not restore detail already lost to JPG compression. If your source contains animation, this tool exports the still image decoded by the browser, not a moving animation.

The image is redrawn onto a canvas before export. File metadata is not copied as a separate metadata package. It opens JPG, PNG and WebP, and AVIF in browsers that can display it. For formats such as HEIC, GIF or SVG, first create a JPG or PNG using a compatible app.

JPG, PNG and WebP side by side

All three formats store a picture as a grid of colored pixels. They differ in how they compress that grid and in what else they can hold. The table matches each format to the jobs it suits, and the image formats guide explains the tradeoffs at more length.

FeatureJPGPNGWebP
CompressionLossyLosslessLossy or lossless; this editor saves lossy
TransparencyNo, filled with whiteYesYes
Quality slider hereYes, 20 to 100No, solid pixels kept exactlyYes, 20 to 100
SuitsPhotos, email, upload formsScreenshots, logos, text, line artWebsites, photos and graphics
Opens inAlmost every app and browserAlmost every app and browserCurrent browsers; some forms and older apps refuse it

What a conversion keeps and what it leaves out

The new file contains the pixels you see in the preview, including any crop, text, frame or color change you made in this editor before downloading. The width and height stay the same unless you change them. Very large photos are the exception: they open as a smaller working copy, and the editor shows that size before you convert.

It leaves out transparency when you choose JPG, and it leaves out the extra information stored inside the original. The file is built from pixels alone, so camera settings, dates and location tags do not come along, which is useful before you share a photo publicly. To remove the location without re-encoding the photo, use the EXIF remover instead. An animated WebP becomes a single still frame.

One browser quirk to know: Safari cannot write WebP files from a web page, so choosing WebP there gives you a PNG. The file name ends in .png, which tells you what you got.

Files this converter cannot open

The editor reads JPG, PNG and WebP files up to 20 MB, plus AVIF wherever your browser can display it, which current Chrome, Edge, Firefox and Safari all do. It checks what is inside a file rather than trusting its name, so a renamed file is recognized for what it really is. For any other format, make a JPG or PNG copy first.

  • HEIC photos from an iPhone: in Settings, tap Camera, then Formats, and choose Most Compatible, and new photos are saved as JPEG. Existing HEIC photos may be converted to JPEG automatically when you share them with a device that cannot read them. To convert HEIC files you already have, use HEIC to JPG or HEIC to PNG, up to 50 at a time.
  • On a Mac, Preview can save a copy as JPEG or PNG: choose Export from the File menu, then pick the format.
  • GIF, SVG, TIFF or BMP: open the file in an app that can export PNG, then bring the PNG here.
  • An AVIF that will not open means the browser is too old to decode it. Update it, or check the browser versions listed on the AVIF to JPG page.
  • PDF pages are documents, not images. To go the other way and turn pictures into a PDF, use image to PDF.

Picking a format by destination

When you are not sure which format to choose, think about where the file will end up. These defaults cover most cases:

  • An upload form or an email attachment: JPG, unless the instructions say otherwise.
  • A photo you will keep editing: PNG, so the next round starts from exact pixels.
  • Your own website or blog: WebP for photos and graphics, since current browsers display it.
  • A logo or cut-out that must sit on any background: PNG, or WebP for a smaller file.
  • A screenshot with small text, a chart or a diagram: PNG.
  • An app that will not open your file: JPG, which almost every program reads.

Questions

Can I turn a transparent PNG into a JPG?

Yes, and the transparent areas become white because JPG cannot store them. If you want a small file that keeps the transparency, choose WebP instead, or stay with PNG if the destination does not accept WebP.

Is changing the extension the same as converting?

No. Renaming photo.png to photo.jpg leaves PNG data inside a file with the wrong label, and some apps will refuse to open it. This tool decodes the picture and writes real bytes in the format you choose.

Will conversion improve the original quality?

No. A format can only store the pixels it is given. A PNG made from a blurry or heavily compressed JPG keeps the blur and the blocks; it simply stores them without adding new loss.

Which format makes the smallest file?

For photos, usually WebP, then JPG, with PNG far larger. For screenshots and flat graphics, PNG or WebP can beat JPG. The picture decides, so try two formats here and compare the sizes in the download message.

Is WebP better than JPG?

WebP is usually smaller for the same look and can keep transparency. JPG opens almost everywhere, including older software and many upload forms. Use WebP on sites you control and JPG when you are unsure, and turn a WebP you receive into a JPG with WebP to JPG.

Does converting remove EXIF or location data?

Yes. The new file is drawn from the pixels only, so camera settings, dates and GPS location stored in the original are not carried over. That helps before you post a photo publicly. Keep the original if you need that information.

Can I convert an image to PDF here?

Not in this editor, which saves JPG, PNG or WebP files. The image to PDF tool puts one or more pictures into a single PDF on your own device, without uploading them anywhere.

Can I convert several images at once?

This editor converts one picture at a time. On a Mac, Preview converts a batch: open the files in one window, select them in the sidebar, then choose Export from the File menu and pick a format.

Sources: Image file type and format guide (MDN Web Docs), HTMLCanvasElement: toBlob() method (MDN Web Docs), Browser compatibility data for HTMLCanvasElement, toBlob image/webp row (MDN browser-compat-data), Using HEIF or HEVC media on Apple devices (Apple Support), Convert image file types using Preview on Mac (Apple Support)

See all tools

Guides for this