Skip to main content
Photo Resize Tools
Free · Client-Side · No Upload

Custom Image Resizer

Set your own width, height, format, and file-size target. Resize in px, cm, mm, or inches. Crop, rotate, flip, and compress JPEG, PNG, or WebP images entirely in your browser.

Any DimensionsJPG / PNG / WebPCustom Target KBProcessed in Your Browser

Drag & drop your photo here, or browse files

Supports JPG, JPEG, PNG, WEBP. Max 15 MB.

Your image is processed in your browser and is not uploaded to a server.

Full Control

What can you customize?

Unlike preset tools that lock you into fixed dimensions, this tool gives you control over every setting.

Width & Height

Enter any width and height. Switch between pixels, centimeters, millimeters, inches, or percentage of the original size. An aspect ratio lock prevents distortion when you change one dimension.

Crop

Crop to a specific region using percentage-based sliders, or pick a preset ratio: Free Form, Square 1:1, or Passport 3.5:4.5. A visual overlay shows the crop area on your image.

Target File Size

Choose a preset target (Best Quality, Under 20 KB, Under 50 KB) or enter any custom value in KB. The tool automatically adjusts quality to fit under your target for JPEG and WebP output.

Output Format

Choose between JPEG (most compatible), WebP (smaller file sizes), or PNG (lossless, no target KB limit). The format is applied when you download the image.

Rotate & Flip

Rotate the image 90 degrees left or right, or flip it horizontally or vertically. Useful for correcting orientation from phone cameras or scanners.

Live Preview

See your changes in real time. The preview updates as you adjust dimensions, crop, rotate, or compress. The estimated output size is displayed before you download.

Step by Step

How to resize an image to custom dimensions

1

Upload your image

Drag and drop or browse to select a JPG, PNG, or WebP photo from your device. The maximum file size is 15 MB.

2

Set your dimensions and settings

Enter width and height in the Resize tab. Switch units if needed. Use the Crop, Compress, and Rotate tabs to adjust format, file size, and orientation.

3

Preview and download

Check the estimated output size and new resolution in the metadata panel. When the result looks right, click Download to save the resized image.

When to Use Which

Custom tool vs preset tools

Use the Custom Tool when you need to

  • Resize to specific pixel dimensions that no preset covers.
  • Set a custom file-size target in KB.
  • Work in physical units (cm, mm, inches) with DPI control.
  • Convert between JPEG, WebP, and PNG.
  • Crop, rotate, or flip before resizing.

Use a preset tool when you need to

Image Guide

Image dimensions and quality

When resizing an image, you are working with two separate properties: dimensions (width and height in pixels) and file size (how much storage the image occupies in KB or MB). Many forms and portals specify both, and understanding the difference helps you produce images that meet requirements.

Dimensions vs file size

  • Dimensions are the width and height of the image, such as 800 x 600 pixels. Reducing dimensions removes pixels and usually lowers file size.
  • File size depends on both dimensions and compression quality. A 350 x 450 pixel JPEG at high quality can be larger than the same image at lower quality.

If a portal specifies both a pixel size and a file-size limit, set the dimensions first in the Resize tab, then use the Compress tab to bring the file size under the limit.

Why enlarging does not improve quality

Increasing dimensions adds pixels but does not add detail. A 400 x 400 image scaled to 800 x 800 will look soft or blurry because the tool interpolates new pixels from existing ones. For best results, start with the highest-resolution original you have and reduce to the target size rather than enlarging.

How compression affects output

JPEG and WebP compression reduces file size by discarding some image data. Higher quality settings preserve more detail but produce larger files. Lower quality settings shrink the file but can introduce visible artifacts, especially in areas with fine detail or sharp edges. The tool uses a binary search algorithm to find the highest quality that fits under your target file size.

PNG uses lossless compression, which preserves all detail but does not support a target file size. If you need a specific KB limit, use JPEG or WebP output.

Tips for clean results

  • Start with the best quality source. Compressing a low-resolution image will only make it worse.
  • Crop unnecessary areas first. Backgrounds, borders, and blank margins add bytes without adding useful information.
  • Use the aspect ratio lock. Turning it off allows independent width and height, which can distort the image if the proportions do not match the original.
  • Check the estimated output size. The metadata panel shows the actual file size before you download. Verify it meets your portal's requirements.

Related tools

Frequently Asked Questions

What is a custom image resizer?

A custom image resizer lets you set specific width, height, unit, format, and file-size target instead of using a fixed preset. On this page you can enter any dimensions in pixels, centimeters, millimeters, inches, or percentage, choose between JPEG, WebP, and PNG output, and set a custom target file size.

How can I resize an image to exact pixels?

Upload your image, set the unit to Pixels (px), enter the exact width and height you need, and click Download. If aspect ratio lock is on, the second dimension adjusts automatically. Turn it off to enter independent width and height values.

Can I set a custom width and height?

Yes. The Resize panel has separate width and height fields. You can switch between pixels, centimeters, millimeters, inches, and percentage. An aspect ratio lock is available to prevent distortion, and you can turn it off to set each dimension independently.

Can I reduce an image to a specific file size?

For JPEG and WebP output, you can enter a custom target in KB or use the preset chips (Best Quality, Under 20 KB, Under 50 KB). The tool uses a binary search algorithm to find the highest quality that fits under your target. PNG output uses lossless compression and does not support a target file size.

What is the difference between image dimensions and file size?

Image dimensions are the width and height in pixels, such as 800 x 600 px. File size is how much storage the image occupies, measured in KB or MB. Reducing dimensions usually lowers file size, but compression quality also affects it. A heavily compressed image can have large dimensions yet a small file size.

Why does my image become blurry after resizing?

Blurriness typically comes from one of two causes: enlarging a small image beyond its original resolution, or aggressive compression to meet a small file-size target. To avoid this, start with the highest-quality original you have, do not upscale beyond the source dimensions, and reduce the target file size gradually until you find a balance between size and sharpness.

Should I use a custom tool or a preset image resizer?

Use the custom tool when you need specific dimensions, a non-standard file-size target, or want full control over format and compression. Use a preset tool when you already know the exact requirements for a specific form or portal, such as SSC CGL photo or passport photo dimensions.

Which image formats are supported?

The tool supports JPEG, PNG, and WebP for upload. For output, you can choose JPEG (most compatible, supports target file-size compression), WebP (smaller files, supported by modern browsers), or PNG (lossless, no target file-size limit). Maximum upload size is 15 MB.