Image Converter
Convert between PNG, JPEG and WebP, and resize on the way.
About Image Converter
An image converter that turns PNG, JPEG, WebP, GIF, BMP, AVIF or SVG into PNG, JPEG or WebP in the browser, with resizing and a quality slider.
How to use
- Choose an image, up to 25 MB. Its dimensions, type and size appear on the right.
- Pick the output format: PNG (lossless, keeps transparency), JPEG (smallest for photos, no transparency) or WebP (both, where the browser can encode it).
- For JPEG and WebP, set the quality; 90% is the default. For JPEG, choose the background colour that fills transparent areas.
- Resize with a preset (50%, 25%, 1920, 1280 or 800 wide, fit in 512 or 256) or type a width or height; with the aspect ratio locked, the other side follows.
- Download the result. It keeps the original file name with the new extension.
What it does
- Decodes the image with the browser's own decoder, draws it onto a canvas at the chosen size with high-quality smoothing, and re-encodes it with the canvas encoder. Any format the browser can display can be read, including SVG, which is rasterised at the chosen size.
- Converting to JPEG flattens transparency onto the background colour, white by default, because JPEG has no alpha channel. PNG and WebP keep it.
- Animated GIFs and animated WebP are converted as their first frame; the output formats here are still images.
- EXIF metadata, colour profiles and the camera's orientation tag are not carried over; the browser applies the orientation while decoding, so the pixels come out upright.
- Dimensions are capped at 8192 pixels a side. Some browsers, notably older Safari, cannot encode WebP; the tool says so, and PNG and JPEG still work.
Example
logo.png · 2400×1200 · 1.4 MB
→ JPEG, quality 90%, 1280 wide, white background
→ logo.jpg · 1280×640 · 96 KB
Privacy
Decoding, resizing and encoding run in the browser. No request is made, and the image never leaves the device.
Frequently asked questions
- How do I convert a PNG to JPG without losing quality?
- JPEG is always lossy, but at 90% quality the difference from the PNG is invisible on photos. Flat graphics with sharp edges or text show JPEG artefacts sooner; keep those as PNG or use WebP, which handles both well.
- What happens to transparency when converting PNG to JPEG?
- JPEG cannot store transparency, so transparent pixels have to become a solid colour. This tool fills them with the background colour you choose, white by default; black backgrounds come from converters that skip this step.
- Is WebP better than PNG or JPEG?
- WebP files are typically 25 to 35 percent smaller than JPEG at the same visual quality and smaller than PNG for lossless images, and every current browser displays them. JPEG and PNG remain safer for email, older software and print workflows.
- Does converting an image reduce its resolution?
- Not unless you resize. Converting at the original size keeps every pixel; JPEG and lossy WebP reduce the file size by discarding fine detail, not by removing pixels. The resize options are there when you want a smaller image.