How do I convert an image from JPG to WebP or PNG?
Pick the target format and the tool re-encodes the image with the browser’s own encoder — JPEG and PNG everywhere, WebP in every current browser, AVIF in recent Chrome, Edge and Safari. Because the encoding happens locally, the image is never uploaded.
Runs entirely in your browser · no upload · no account · no watermark
- Choose the image you want to convert.
- Pick the target format and, for a lossy one, a quality.
- Convert, then download the new file.
JPEG, PNG, WebP, AVIF, GIF or BMP. The file is read by this page and never sent anywhere.
Applies to lossy formats only.
Original
Converted
What this page can do
- Convert JPG ⇄ PNG ⇄ WebP ⇄ AVIF
- Quality control for lossy targets
- Transparency is preserved where the target format supports it
- Files are never uploaded
When to use this page
- You need a format a browser can actually display, such as WebP or JPEG from a PNG.
- Converting a small number of images without installing anything.
- Checking whether your browser supports AVIF encoding at all.
When to use something else
- You need CMYK, 16-bit depth, RAW or HEIC input, or colour-managed print output.
- Metadata, EXIF or ICC profiles must survive.
- You need quality/speed settings beyond what the browser exposes.
How it compares with other options
Support here is exactly the set of encoders your own browser ships, which is why AVIF may be unavailable and why results differ between Chrome and Safari. ImageMagick, libheif or libaom support far more formats and tunable colour profiles and produce better AVIF quality. This page is a convenient converter for everyday web formats, not a production colour pipeline.
Where your files go
Nowhere. This page loads the code that does the work, and from then on the file you open is read by your own browser. There is no upload step, no temporary server copy and no cleanup to trust — the data never crosses the network, so there is nothing to delete afterwards. You can confirm it yourself: open your browser’s network panel while the tool runs and watch it stay quiet.
Questions about this tool
- Which format should I choose?
- For photos that go on the web, WebP is the safe default: it is supported everywhere modern and is much smaller than JPEG at similar quality. AVIF is smaller again but is slower to encode and depends on a recent browser. Reach for PNG only when you need lossless pixels or transparency, and keep JPEG when the file has to open in the widest possible range of older software.
- I converted a transparent PNG to JPEG and lost the transparency. Why?
- JPEG cannot store an alpha channel, so it has no way to keep transparency. The tool paints white underneath before drawing, which gives a predictable result instead of a black background. To keep transparency, convert to PNG or WebP instead.
- Why is the AVIF option greyed out?
- Your browser does not expose an AVIF encoder, and the tool refuses to guess. It disables the option rather than quietly giving you a PNG under an .avif name. Chrome, Edge and Safari 16.4+ can encode AVIF; Firefox generally cannot yet.
Other tools in the same group
Guides
- How to compress an image without losing visible qualityRe-encode a JPEG, PNG or WebP at a quality you choose, with the before and after size side by side. Runs in your browser.
- JPG, PNG, WebP or AVIF: which format, and how to convertWhat each image format is actually good at, and how to convert between them in your browser with the encoder you already have.