Resize images with contain, cover or stretch
The same requested dimensions can produce padding or cropping depending on the fit mode. Decide whether the entire subject must remain visible or whether filling the target rectangle matters more for this image.

How to use this tool
- Choose files in JPG, JPEG, PNG, WEBP, BMP, SVG format. Maximum files per batch: 100.
- Review Width (px), Height (px), Fit mode, then start processing.
- Download the output, open it, and check its content and quality.
Choose the right settings
Contain can leave space around the image, while cover can cut its edges. Stretch changes proportions, so inspect faces and products for distortion and consider the prevent-enlargement option when the source is small.
- Supported input
- JPG, JPEG, PNG, WEBP, BMP, SVG
- Output
- Image
- Available settings
- Width (px)
- Height (px)
- Fit mode
- Output format
- Output quality (%)
- Background color
- Prevent enlargement
Before you start
Prepare a representative source
Start with a copy of the source and decide where the result will be used. A picture for later editing, an upload with fixed dimensions and a printed page have different requirements. Check the supported input and intended output in this guide; a new filename extension alone does not convert the file.
Where size, quality, background or crop controls are available, change one choice at a time on a representative image. Include small lettering and an important edge in your comparison. If the task extracts information rather than changing the picture, decide which source region and values you need to inspect.
Write down the recipient’s requirements and the choices used for a trial, including output type and any size or background setting that applies. If a detail is already blurred, cropped or absent in the original, changing an output setting will not supply the missing evidence. Compare an intermediate copy separately from the original: it may already contain changes from a previous step. This record helps you decide whether to correct the source, revise one choice or use a different supported operation.
Compare the result with its source
Open the downloaded output in the program that will actually use it. For image outputs, compare the same area at the same zoom, inspect all edges and read the saved dimensions and file size. For extracted text, measurements or color values, check sample entries directly against the visible source; a plausible-looking result can still be wrong.
If the output differs from the preview or cannot be created, check the input format, this tool’s limits and the selected settings before changing the source. Repeating compression or enlarging a small image cannot restore detail already lost. Keep the original so another trial starts from the same evidence.
Example input and output
128×96 image + 96×96 → 96×96 imageExamples describe the workflow. Results depend on the source file and settings.
Check the saved result before using it
Read the saved output's pixel dimensions and inspect all four edges. Compare the background color and confirm that cropping has not removed important text or part of the subject.
If the result is different from what you expected
Enlarging a small image does not create new detail. Preventing enlargement can also make the output differ from the dimensions you requested, so check its actual size before using it in a fixed-size layout.
Limits to keep in mind
- Fill can crop edges and stretch can distort proportions. Enlarging an image cannot invent real detail.
Continue with a related tool
This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.