Choosing a format instead of defaulting to one
An image converter decodes a picture from one file format and re-encodes it in another, changing how the pixels are stored — and, depending on the target format, whether transparency, animation and colour depth survive.
Format choice is the optimisation people skip because every format basically works. But the gap between the right and wrong format for a given image is large: a screenshot saved as JPEG looks fuzzy and is bigger than the PNG would have been, while a photograph saved as PNG can be five times the size of an equivalent WebP.
This converter’s menu offers JPEG, PNG, WebP, GIF and TIFF (the server can also emit AVIF). This page sets out what each format is genuinely good at, what is lost in the conversions that lose something, and the one conversion you should think twice about.
Exactly what this conversion does
- Outputs
- JPEG, PNG, WebP, GIF and TIFF from the menu. JPEG is re-encoded at quality 90 with mozjpeg; PNG uses maximum zlib compression; WebP at quality 90; AVIF is supported by the server at quality 80 if requested.
- JPEG transparency
- Transparent pixels are flattened onto white before encoding. Measured on a transparent PNG: the empty corners came out white, not black.
- Animation
- An animated GIF kept as GIF, or converted to WebP, keeps every frame. Converting to PNG, JPEG, TIFF or AVIF keeps a single frame.
- Metadata
- EXIF orientation is applied so phone photos come out upright. Camera EXIF and GPS are stripped from the result. Uploads are capped at 10 MB and are not kept after the response.
- Inputs that fail
- JPEG, PNG, WebP, GIF, TIFF, AVIF and SVG convert cleanly. BMP and HEIC are accepted by the file picker but rejected by the image library on our server — open them in Preview or Photos and export as PNG or JPEG first.
What each format is actually for
Direct answer: WebP for photographs on the web, PNG for graphics with flat colour or transparency, JPEG when something old needs to read the file, and TIFF only for print and archival handoff.
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPEG | Lossy (quality 90 here) | No — flattened onto white | Photographs where universal compatibility matters more than the last 30% of file size. |
| PNG | Lossless | Yes, with full alpha | Logos, icons, screenshots, diagrams — anything with sharp edges, text or flat colour. |
| WebP | Lossy at quality 90 here (can also be lossless elsewhere) | Yes | The default for web photographs today. Typically 25–35% smaller than JPEG at similar perceived quality, and supported by every current browser. |
| GIF | Palette, 256 colours | Yes, but only fully on or off | Legacy animation. For anything photographic it is the worst option available — the palette limit destroys gradients. |
| TIFF | JPEG compression inside the TIFF here | Alpha is not preserved in practice | Print production and archival handoff. Not for the web; files are still large. |
Conversions that lose something permanently
Converting between formats is not always reversible. These are the cases where information does not survive the trip.
PNG to JPEG destroys transparency
JPEG has no alpha channel. Transparent regions are flattened onto white here, which shows up as a white box the moment the image sits on a coloured surface. Convert to WebP instead if you need both transparency and small files.
Anything to GIF crushes the colours
GIF supports 256 colours per frame. A photograph converted to GIF will show visible banding in every gradient, and the file will usually be larger than the JPEG you started with.
JPEG to PNG does not restore quality
Converting a lossy file to a lossless one preserves the artefacts perfectly and makes the file much bigger. There is no upside unless you are about to edit the image and want to avoid further generational loss.
Animation only survives as GIF or WebP
Keeping an animated GIF as GIF, or converting it to WebP, keeps every frame. Converting to PNG, JPEG, TIFF or AVIF keeps one frame. For animation on the web, an MP4 or WebM video is usually smaller than a GIF anyway.
Metadata is stripped
Camera settings, capture date and GPS coordinates are removed from the result. That is a privacy benefit when publishing photos and a loss when cataloguing them, so keep the originals.
Colour profiles
Embedded colour profiles are not carried into the result. Images in a wide-gamut profile can shift in appearance. If precise colour matters, convert to sRGB deliberately in an editor before uploading.
A decision procedure that takes ten seconds
- 1
Does the image need transparency?
If yes, the choice is PNG or WebP. JPEG is out regardless of everything else.
- 2
Is it a photograph or a graphic?
Continuous tone — a photo — goes to WebP or JPEG. Flat colour, text or sharp edges goes to PNG or lossless WebP.
- 3
Who has to open it?
For the web, WebP is safe on every current browser. For an email attachment, a client’s legacy system or a print supplier, JPEG or TIFF is the safer handoff.
- 4
Convert, then compress
Format conversion sets the ceiling; compression finds the floor. Follow up with the image compressor once the format is right.
- 5
Check the result at full size
Look for banding in skies, halos around text and lost transparency before you publish. A thumbnail hides all three.
Conversion runs on our server: the file is uploaded over HTTPS, re-encoded in memory and returned, with a 10 MB limit per image and no retention after the response.
Preparing an image for the web, end to end
- Crop first — removed pixels cost nothing to serve.
- Resize to display dimensions with the image resizer, doubled for high-density screens.
- Convert photographs to WebP; keep flat graphics and anything with transparency as PNG.
- Compress at 75–85 for photographic content and inspect the result at full size.
- Give every image descriptive alt text — it is an accessibility requirement and an SEO signal, and screen-reader users depend on it.
- Set explicit width and height attributes so the browser reserves space and your layout does not shift while loading.
Sources and further reading
Where the technical statements on this page come from: standards, specifications and the official documentation of the tools and services involved.
- web.dev: Use WebP images — how WebP compares with JPEG and PNG on file size
- MDN: Image file type and format guide — which format suits which kind of image, and what lossy and lossless mean in practice
- sharp documentation — the image-processing library used for conversion on our server
How this page is maintained
Output formats, quality settings, white flattening for JPEG, animation behaviour, EXIF stripping, orientation handling and the BMP/HEIC failure cases were checked against this tool’s server code and measured on test files. The WebP size comparison is stated as a typical range because actual savings depend heavily on the source image.
Written and reviewed by the ToolsRacks editorial team. Last reviewed: . Found an error? Tell us — see our editorial standards.