# Image Format Converter Guide

Convert a picture between JPEG, PNG, WebP and AVIF, with a quality slider and a before-and-after size.

- Tool: https://ilham.dev/tools/image-format-converter/
- Guide URL: https://ilham.dev/guides/image-format-converter/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Practical Image Tools (https://ilham.dev/guides/practical-image-tools/)

## What it does

Save a picture in another format so it fits where it is going. JPEG keeps photographs small, PNG keeps sharp edges and transparency, WebP often beats both, and AVIF is offered when the browser can actually write it.

## Use the tool

Open https://ilham.dev/tools/image-format-converter/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Web.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### Why is AVIF marked as not supported?

Encoding AVIF is left to the browser, and some browsers can decode it without being able to write it. The page encodes one pixel and checks what format comes back before offering the choice.

### What happens to transparency in a JPEG?

JPEG has no alpha channel, so a transparent area has to become something. A white layer is laid down first, which is the usual choice for a photo going to a place that expects a solid background.

### Which format should I pick?

Photographs are usually smallest as WebP or JPEG. Screenshots, diagrams and anything with text or a transparent background hold up better as PNG, and the size shown for each choice makes the trade visible.