Optimize
Resize Image
Set width and height in pixels, or resize by percentage. Lock aspect ratio to avoid distortion. Choose from common presets for Instagram, YouTube, LinkedIn, and web. Export as JPG, PNG, or WebP.
Written by Jay Sudha · Published · Last updated
How this tool handles files
- Processing
- In your browser, on-device
- Storage
- Nothing stored
- Output
- A file you download
- Your responsibility
- Review before official use
- Runs in your browser. Your file is processed on your own device and, on this site, is not uploaded to our servers.
- Nothing is stored. Your file and its output are gone the moment you close or reload the page.
- Review sensitive files (bank, ID, medical) and check the output before sharing it.
Every tool on FormatOS runs in your browser. Read our Privacy Policy and File Handling Policy.
Input formats
Output formats
Common uses
- Resize photo for a form upload limit
- Prepare social media images at exact sizes
- Reduce image dimensions for faster website loading
- Create thumbnails from large images
Limitations
- Upscaling beyond original dimensions reduces quality.
- Animated GIF resizing uses the first frame only.
- SVG resizing exports a rasterized PNG output.
Resizing by exact pixels, percentage, or social preset
This tool gives you three ways to set output dimensions. Type an exact width and height in pixels, tap a percentage button (25%, 50%, 75%, 150%, or 200%) to scale relative to the original, or pick a social preset that fills both fields for you: Instagram square (1080×1080), Instagram story (1080×1920), YouTube thumbnail (1280×720), or LinkedIn post (1200×627).
The lock toggle next to the dimension fields keeps proportions intact. With it on, editing the width recalculates the height automatically (and vice versa) so the image never stretches. The percentage presets always preserve the original ratio. Choosing a social preset intentionally turns the lock off, because those target sizes have fixed aspect ratios that may differ from your source image. With the lock off, the output is exactly the width and height in the fields: if that shape differs from your photo, the edges are trimmed evenly so the image fills it without stretching.
Loading a file shows its pixel dimensions and size above the controls.
Quality, format, and the prevent-upscale guardrail
Export as JPG, PNG or WebP. For JPG and WebP, a quality slider from 60 to 95 trades file size against fidelity; PNG is lossless and ignores it, keeping sharp edges and transparency. For a small web file, WebP at mid-range quality is usually leanest.
The Prevent upscale checkbox is on by default. While enabled, requesting dimensions larger than the original will not stretch the image past its native size, which avoids the soft, blocky look of fake enlargement. Turn it off only when you deliberately need a larger canvas and accept that upscaling beyond the original dimensions reduces quality.
After processing, the output size in pixels is shown with any notes from the resize step (such as trimmed edges or a prevented upscale), and you can compare the original and output file sizes before saving.
Browser-side processing and format edge cases
Resizing happens in your browser on a local canvas, so on this site the file is not uploaded and speed depends on your device. Dimensions beyond the browser's canvas limit are rejected rather than failing silently.
Two format cases are worth knowing in advance. Animated GIFs are resized using the first frame only, so the result is a single still image, not an animation. SVGs are rasterized on export: a vector file comes out as a fixed-resolution PNG, which is fine for a one-off bitmap but loses the infinite scalability of the original vector.
If a file will not process, try another source format or a smaller target, and keep your original: shrinking discards pixels for good.
Frequently asked questions
Yes. Enable 'Lock aspect ratio' to maintain proportions. If you set only width or height, the other dimension is calculated automatically.
Instagram square (1080×1080), Instagram story (1080×1920), YouTube thumbnail (1280×720) and LinkedIn post (1200×627). A preset gives exactly that size: if your photo is a different shape, the edges are trimmed evenly rather than the image being stretched.
Guide
- How to get a photo under a size limit
What a 12-megapixel photo looks like at 200, 100, 50 and 20 KB, measured, and the order that keeps portals happy.
Related tools
Tool last reviewed: September 27, 2026 · Report a problem