Guide

Resize Image

Resize JPG, PNG images to custom dimensions

Drop your jpg/jpeg/png file here or click to browse

Max file size: 100MB

Maintaining the aspect ratio prevents your image from appearing stretched.

How the Resizing Pipeline Works

When you submit an image for resizing, it passes through a server-side image processing pipeline powered by ImageMagick, the same engine used by professional graphics software and hosting platforms. The pipeline decodes your input file, applies the resize operation with a high-quality resampling filter, and re-encodes the result as a JPG at your chosen quality level.

The critical step is resampling — the algorithm that calculates new pixel values when the output dimensions differ from the input. ImageMagick uses a Lanczos filter by default for downscaling, which samples a neighborhood of surrounding pixels and applies a windowed sinc function to produce the sharpest result with minimal ringing artifacts. For each output pixel, the filter considers a region of input pixels weighted by their distance, blending them into a single value that preserves edges and gradients better than simpler methods like bilinear or nearest-neighbor interpolation.

Before resizing, the pipeline checks the image's EXIF orientation tag. Digital cameras and smartphones often store photos with the raw sensor orientation and rely on a metadata flag to tell viewers which way to rotate the display. With “Auto Orient” enabled (the default), the pipeline applies that rotation to the actual pixel data so the resized output looks correct everywhere — even in applications that ignore EXIF tags. Without this step, a portrait photo from an iPhone might appear sideways after resizing.

After resizing, the image is encoded as JPEG. The quality parameter (1-100) controls the quantization step in JPEG compression: higher values preserve more detail but produce larger files. At quality 75 (the default), a typical photo is almost indistinguishable from the original at normal viewing distances but about 60% smaller than quality 100. The “Strip Metadata” option removes EXIF, IPTC, and XMP data from the output, shaving off another 10-50 KB depending on how much metadata the camera embedded.

Convert-To Tip
If your source image is a PNG with transparency, the transparent regions will be filled with white in the JPG output because JPEG does not support alpha channels. If you need to preserve transparency, resize the image here, then convert the output back to PNG using our JPG to PNG tool.

Fit Modes Explained: Max, Crop, and Scale

The fit mode determines how the resizer handles the relationship between your input image's aspect ratio and the target dimensions you specify. This is the most important setting after width and height — choosing the wrong fit mode is the most common cause of unexpected results.

Max is the safest default. It resizes the image to fit entirely within your specified bounding box, preserving the original aspect ratio. If you set 800×600 and your image is 4000×2000 (a 2:1 ratio), the output will be 800×400 — it fits within 800 wide and 600 tall, but the actual height is less than 600 because the 2:1 ratio is preserved. Crucially, Max never upscales: if your image is already 500×300 and you request 800×600, the output stays at 500×300. This prevents the blurriness that comes from inventing pixels that don't exist.

Crop resizes the image to completely fill the target dimensions, then trims the overflow. Using the same 4000×2000 input with an 800×600 target: the image is first scaled to 1200×600 (filling the 600px height), then the excess 400 pixels on the sides are cropped equally from left and right, resulting in an exact 800×600 output with no black bars and no distortion. This mode maps to ImageMagick's fill-and-gravity-crop operation, centering the subject in the frame. It's ideal for thumbnails, profile pictures, and any context where you need precise dimensions and can afford to lose some edge content.

Scale forces the image to exactly match both width and height, stretching or compressing as needed. A 4000×2000 image resized to 800×600 in Scale mode will appear slightly vertically stretched because the 2:1 ratio is forced into a 4:3 frame. This mode is rarely the right choice for photographs, but it's useful for technical images like textures, patterns, or UI sprites where exact pixel dimensions matter more than visual proportions.

Fit ModeAspect RatioOutput SizeUpscales?Best For
MaxPreservedFits within boundsNoWeb images, email attachments, general resizing
CropTarget ratioExact dimensionsYes (to fill)Thumbnails, social media, profile pictures
ScaleForced to targetExact dimensionsYesTextures, patterns, sprites, technical images
Convert-To Tip
Not sure which mode to use? Start with Max. It never distorts, never upscales, and always produces a result that looks natural. Switch to Crop only when you need exact pixel dimensions (like a 1080×1080 Instagram square) and you're okay losing some edge content.

Aspect Ratios: What Happens When Dimensions Don't Match

Most image resizing problems come down to aspect ratio mismatches. Your source photo is 4:3 but the target slot is 16:9. Your product image is square but the listing template expects a portrait rectangle. Understanding how ratios interact with fit modes saves trial and error.

A smartphone photo is typically 4032×3024 pixels — a 4:3 ratio. If you resize it to 1920×1080 (16:9) using Max mode, the output will be 1440×1080 — it fits the height but is narrower than 1920 because the 4:3 ratio is preserved. Using Crop mode instead produces a full 1920×1080 frame by scaling to 1920×1440 and trimming 180 pixels from the top and bottom. Scale mode would give you exactly 1920×1080 but with a noticeable horizontal stretch.

ScenarioInputTargetMax OutputCrop OutputScale Output
Phone → Banner4032×3024 (4:3)1920×1080 (16:9)1440×10801920×1080 ✓1920×1080 ⚠️ stretched
Landscape → Square3000×2000 (3:2)1080×1080 (1:1)1080×7201080×1080 ✓1080×1080 ⚠️ squished
Portrait → Landscape2000×3000 (2:3)1200×800 (3:2)533×8001200×800 ✓1200×800 ⚠️ stretched
Small → Large640×480 (4:3)1920×1440 (4:3)640×480 (no upscale)1920×1440 ⚠️ blurry1920×1440 ⚠️ blurry

The last row illustrates a common frustration: upscaling a small image. When a 640×480 image is blown up to 1920×1440, the resizer must invent roughly 6 million pixels that didn't exist in the original. Even with Lanczos resampling, the result will look soft and may show halo artifacts around high-contrast edges. There is no processing trick that can add real detail to a low-resolution source — if you need a large output, start with the highest-resolution original available.

When Resizing Degrades Your Image

Resizing is not always lossless, and understanding the failure modes helps you make better decisions about dimensions and quality settings.

Upscaling beyond 150% of the original is the most common source of poor results. The resampling filter interpolates between existing pixel values, which works passably for modest enlargements (a 1000px image scaled to 1200px) but falls apart at 2× or 3×. Text in screenshots becomes blurred, fine lines in diagrams lose crispness, and photographs develop a watercolor-like smoothness. In our testing, upscaling a 800×600 JPG to 2400×1800 produced an output that was visually worse than keeping the original at 800×600 and letting the browser scale it with CSS.

Re-encoding already-compressed JPEGs introduces generation loss. Each time a JPEG is decoded and re-encoded, the quantization step discards slightly more data. Resizing a JPEG inherently requires re-encoding, so repeatedly resizing the same image (resize, save, resize again) accumulates artifacts. A common mistake is resizing an image to several different dimensions by re-processing the previous output rather than starting from the original each time. Always resize from your highest-quality source file. If you need multiple sizes, run the original through the resizer separately for each target dimension.

Screenshots and pixel art are a special case. These images contain sharp edges and flat color regions that rely on exact pixel boundaries. The Lanczos resampling filter — designed for photographs — introduces anti-aliasing at those edges, turning crisp 1-pixel lines into soft 2-3 pixel gradients. Nearest-neighbor resampling would preserve hard edges better, but this tool uses Lanczos because it produces better results for the vast majority of use cases (photographs and natural images). If you're resizing screenshots for documentation, resize to integer multiples (2×, 3×) to minimize interpolation artifacts, or use Max mode to avoid upscaling entirely.

Low quality settings compound with resizing. If you set quality to 30 and simultaneously downscale from 4000×3000 to 400×300, the JPEG encoder has very little data to work with and the result will show blocking artifacts. For aggressive downscaling, keep quality at 60+ to maintain acceptable output. The file size savings from a smaller resolution already far outweigh what low quality would add. Learn more about how images lose quality after conversion.

Privacy Note
Your images are uploaded over an encrypted HTTPS connection directly to CloudConvert for processing. We never view, analyze, or store your images. All uploaded and output files are automatically deleted within 15 minutes. Read more about our privacy practices.

Common Resize Targets: Social Media, Web, and Print

Different destinations have different dimension requirements. Using the right size avoids platform-side reprocessing, which often applies its own compression and degrades quality further. Here are the dimensions that produce the best results on each platform as of early 2026:

Platform / UseDimensions (px)RatioFit ModeSuggested Quality
Instagram Post1080×10801:1Crop85
Instagram Story / Reel1080×19209:16Crop85
Facebook Cover820×312~2.6:1Crop80
Twitter/X Header1500×5003:1Crop80
LinkedIn Banner1584×3964:1Crop80
Website Hero Image1920×108016:9Max75
Blog Thumbnail600×4003:2Crop75
Print 4×6″ (300 DPI)1800×12003:2Max95
Print 8×10″ (300 DPI)3000×24005:4Max95

For web use, quality 75-80 hits the sweet spot between file size and visual quality. Social media platforms re-compress uploads anyway, so there is no benefit to uploading at quality 100 — you're just increasing upload time. For print, quality 90-95 is recommended because the image won't be recompressed and fine detail matters more. The key formula for print is: inches × 300 = pixels. A 4×6 inch print at 300 DPI needs 1200×1800 pixels. If your source image is smaller than this, Max mode will prevent upscaling and you should print at the largest size the resolution supports. Learn more about DPI, PPI, and resolution.

For e-commerce product images, most platforms recommend 2000×2000 square images with the product centered. Use Crop mode with 2000×2000 as your target if your source is landscape, or Max mode if you want white space around the product rather than cropping. If you need to batch-create images for multiple sizes, always start from your highest-resolution source for each size — never resize an already-resized output.

Image Resizing: Frequently Asked Questions

Answers to common questions about resizing JPG and PNG images.

Enter your target width and height in the fields above, set the fit mode to "Scale" to enforce exact dimensions, and click Convert. The resizer will stretch or compress the image to precisely match your specified pixel values. If you want to maintain the original aspect ratio instead, use "Max" mode — it fits the image within your dimensions without distortion.