Skip to content
Marvin's Toolbox.

Image Converter

Convert images between JPEG, PNG, WebP and AVIF, and open iPhone HEIC photos too. Drop in as many as you like, pick a format, and dial in the quality for the lossy ones. When you convert to JPEG, choose the colour that fills any transparency. Live previews, download one or all at once.

Runs entirely in your browser. Nothing you put in here gets uploaded.

Your images

Drop images here

JPG, PNG, WebP, HEIC, GIF, AVIF, BMP… Click to choose files.

They never leave your browser.

Convert to

Format
Quality82

Higher keeps more detail and a larger file, lower saves more space. JPEG at 82 is a good balance for most photos.

Background
Custom

JPEG has no transparency. Transparent areas are filled with this colour.

Next steps

Send this tool's output straight into another tool.

Compress images to JPEG at a target file size or quality, with presets for WhatsApp, Instagram and Discord, optional resizing and EXIF kept or stripped.

Convert images between JPEG, PNG, WebP and AVIF, and open iPhone HEIC photos too. Drop in as many as you like, pick a format, and dial in the quality for the lossy ones. When you convert to JPEG, choose the colour that fills any transparency. Live previews, download one or all at once.

See and edit the EXIF metadata inside a photo, then download it with your changes or save a copy with all metadata removed, GPS included. It reads JPEG, PNG, HEIC and more, and edits JPEG files.

Copy the EXIF metadata from one photo onto another without changing the destination's pixels. That covers camera model, lens, focal length, exposure, GPS and more. Choose to replace all metadata or only fill in what the source provides.

Draw arrows, boxes, text, highlights and numbered steps on a screenshot, blur or pixelate anything private, crop the result and add a watermark. The finished image downloads as PNG or JPG or goes straight to your clipboard.

Hash text or a file with MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, BLAKE3, CRC32 and more, all computed live as you type. Compare against an expected checksum and copy any digest.

Verify a file against its checksum. Drop the file and paste the expected hash or a sha256sum line, and the hash type is detected for you, from MD5 to BLAKE3.

Compress text or a file with gzip, deflate, brotli or Zstandard and see the size before and after, the compression ratio and how long it took. One click tries every method and recommends the smallest result.

Decompress gzip, deflate, brotli or Zstandard data from a file or pasted Base64 and read the result as text or download it. Detects the format from the magic bytes where possible, with a manual override.

About the Image Converter Tool

This tool changes an image from one format to another. Drop in JPEG, PNG, WebP, HEIC or other images, pick the format you want out, and download the result.

Use it for the conversions that come up when a site or app only accepts certain formats, like turning an iPhone HEIC photo into a JPG, a PNG into a WebP, or a WebP back into a PNG or JPG.

What you can do

  • Convert between JPEG, PNG, WebP and AVIF
  • Convert HEIC to JPG or PNG, even in browsers that cannot open HEIC
  • Convert PNG to WebP, WebP to PNG, or either to JPG
  • Set the quality for JPEG, WebP and AVIF. PNG stays lossless
  • Flatten transparency onto a background colour when saving as JPEG
  • Convert a batch of images in one go

How to use the Image Converter

  1. 1Drop in your images, or click to choose them.
  2. 2Pick the format you want out.
  3. 3For a lossy format, set the quality. PNG has no quality to set.
  4. 4If you are saving as JPEG, pick a background colour for any transparent areas.
  5. 5Download each image, or download the whole batch.

Which format to pick

PNG keeps transparency and every pixel exactly, which suits graphics and screenshots. JPEG is smaller and best for photos, but it cannot store transparency. WebP and AVIF are newer formats that get photos smaller than JPEG at the same quality, though AVIF only saves in browsers that can encode it, which today mainly means Chrome and Edge.

HEIC and HEIF photos

iPhones save photos as HEIC, which most browsers and many apps cannot open. Files are recognised by their content, so one with a missing or wrong extension still works. Rotated photos come out upright, and the wider colours of iPhone photos are converted to standard sRGB so they look the same everywhere.

A HEIC file can hold several images, such as a burst. The tool converts the main one. A file that cannot be read shows its error on its own card, and the rest of the batch carries on. The first HEIC file in a visit takes a moment longer while the decoder loads, and a 48 megapixel photo takes a few seconds.

Metadata is not carried over

Converting redraws the image, so EXIF and other metadata are dropped from the result, and that includes HEIC photos. If you need the camera details back on a converted JPEG, the EXIF Transfer tool can copy them from the original, as long as both files are JPEGs.

Credits

Open source does the heavy lifting in this tool. Thank you to:

  • libheif

    An open source decoder and encoder for HEIF and AVIF image files.

Everything this site builds on is listed on the credits page.

Tools that share a tag with this one.

Turn a series of images into a video. Drop in your frames, reorder them, set the frame rate and resolution, and encode the result as MP4 or WebM, ready to play anywhere.

Convert an animated GIF into an MP4 or WebM video. Videos are far smaller than GIFs and play everywhere, so this is the quickest way to make a heavy GIF shareable.

Read the text out of a screenshot, photo or scan with OCR. Pick the language, watch the recognition progress, review the result with per-word confidence, and copy or download the extracted text.

Rasterize SVG files to PNG, WebP or JPEG at any size. Set an exact width and height or a scale such as 2x or 4x, keep transparency or fill a background colour, and download one file or the whole batch.

Extract still frames from a video. Grab every frame, every Nth one or one per second, or step through and pick single frames by hand. Choose PNG, JPEG or WebP for the output and download everything as a zip.

Turn a video clip into an animated GIF. Pick the exact section on a timeline, set the frame rate, size and loop behavior, and fine-tune the palette for a small file that still looks good.