Choose PNG, JPEG or WebP and resize correctly

Understand transparency, aspect ratio, compression quality and decoded-pixel limits.

Open this tool · All guides

Understand the settings

PNG stores the resulting pixel values losslessly and supports transparency. JPEG is lossy and has no alpha channel, so transparent pixels must be placed on a background. WebP supports transparency and either lossy or lossless encoding. The best choice depends on the destination and the image, not just the extension.

For a photograph, reducing dimensions before lowering quality often saves substantial space. For screenshots with fine text, PNG can avoid JPEG artifacts around sharp edges. A high quality number does not make a previously compressed source lossless or restore missing detail.

With aspect ratio preserved, entered dimensions define a bounding box. Supplying only a width lets height follow proportionally. Disabling aspect preservation allows distortion. The server checks decoded pixels because a compressed upload can expand into a large amount of memory.

Step by step

  1. Choose an image and an output format.
  2. Set a background for JPEG if the image contains transparency.
  3. Optionally enter resize dimensions and choose whether to preserve the aspect ratio.
  4. Download and inspect edges, transparency and dimensions. Keep your original.

Fit into a box

A 1600 × 900 image resized to fit 800 × 800 with aspect ratio preserved becomes 800 × 450. Without aspect preservation, explicitly setting both values produces 800 × 800 and stretches the image.

Limits and what to check

Troubleshooting

Small file rejected for pixel count

Compressed size and decoded dimensions are different limits. Reduce dimensions locally before uploading.

Transparent areas turned white

JPEG cannot preserve alpha. Choose PNG or WebP, or select a different flattening color.

The file grew

Different formats compress different images differently. Check the result rather than assuming conversion always shrinks it.

Related tools

Updated October 9, 2026. Report an issue with this guide.