IMAGE / FILES

Resize imageAVAILABLE

Set exact dimensions or a maximum file size for PNG, JPEG, and WebP images. Processing stays in your browser.

Local processingYour image is never uploaded.
Image workspace
PNG · JPEG · WebP · 20 MB max

Source image

Or drop a PNG, JPEG, or WebP image here.

No image selected

Output settings

A size target works with JPEG or WebP. To meet it, the result may use lower quality or smaller dimensions.

Choose an image to begin.

How resizing works

Your browser decodes the image, draws it to a canvas, and exports a new file. Animated images, HEIC, and SVG are not supported. EXIF metadata may not be preserved.

Privacy and limits

Images are processed on your device, with no upload or server request. The source file limit is 20 MB. Output is limited to 8,000 pixels per side and 16 megapixels total to protect browser memory.

← Back to all tools

Resize image pixels and file size

Change an image's output dimensions or work toward a file-size target using a local JPG, PNG or WebP image. This online image resizer is useful for web assets, forms and social pictures.

Can I resize a picture to an exact number of kilobytes?

A requested output size may not be achievable for every image at acceptable quality. Always check the downloaded file size and its appearance.

Related tools: Crop image · Image compressor

Worked example and important checks

Suppose a photo is 2400 × 1600 pixels. With the aspect ratio locked, setting its width to 1200 pixels makes the corresponding height 800 pixels. Always inspect the final dimensions; changing pixel dimensions is not the same as guaranteeing a particular file size.

For a transparent logo, choose a format supporting transparency. Keep your original: resizing cannot recover detail that was removed from an earlier low-resolution image.

Practical walkthrough

Resize a photo without stretching it →

Calculate the correct image dimensions, compare exact-size and maximum-KB requirements, and check a resized photo before submitting it.

Built on Hatchable