Image Resizer
Resize images online to exact pixels, a percentage or presets like 1200×630 for Open Graph. Crop to fill, pad or stretch, in batches, without uploading.
Something not working, or missing a feature? Send feedback
About the Image Resizer
The Image Resizer changes the width and height of images: to exact pixels, by a percentage, or to a preset such as 1200×630 for Open Graph previews, 1280×720 for YouTube thumbnails or 512×512 for app icons. When the new shape differs from the photo, it can crop the centre to fill, fit the whole image with padding, or stretch it. Resize many files at once; everything runs in your browser, so nothing is uploaded.
Images are processed in your browser with its built-in codecs, so your photos and screenshots are never uploaded.
How to use the Image Resizer
- Drop one or more images onto the box, paste them, or choose files.
- Choose Pixels and enter a width, a height or both, pick a preset, or switch to Percentage.
- With both sides set and Keep aspect ratio off, choose Crop to fill, Fit with padding or Stretch.
- Pick the output format and quality, then download each file or use Download all.
Common mistakes
- Stretching to a new shape. Setting both sides of a 4:3 photo to 1200×630 with Stretch squashes faces and text. Use Crop to fill for previews and banners, or Fit with padding when nothing may be cut off.
- Resizing several times. Each resize resamples the pixels and loses a little detail. Resize from the original file, not from a copy that was already made smaller.
- Serving a 4000 px photo in a 600 px slot. The browser still downloads every pixel. Resize to about twice the displayed width for sharp high-density screens, then compress.
Works well with the Image Resizer
- Image Compressor: make the resized file smaller.
- Image Converter: change the format, for example to WebP.
- Meta Tag Generator: write the og:image tags for a 1200×630 preview.
Frequently asked questions
How do I resize without distorting the image?
Keep aspect ratio on and enter only the width or only the height; the other side is calculated from each image's own shape. Enter both to fit the image inside that box. For an exact size such as 1200×630, turn it off and use Crop to fill, which trims the edges instead of squashing the picture.
Can I make an image larger?
Yes, by entering a larger size or a percentage above 100%. Enlarging cannot add detail, so a small photo scaled up a lot looks soft; it suits icons, pixel art at whole multiples and screenshots more than photos.
What size should an Open Graph or social image be?
Use 1200×630 for Open Graph (Facebook, LinkedIn, Slack and most link previews), 1600×900 for an X post image and 1280×720 for a YouTube thumbnail. Keep important text away from the edges, because some apps crop the preview further.
Are my images uploaded?
No. Images are decoded and redrawn with your browser's canvas and saved on your device. Resizing also drops EXIF metadata such as GPS location; photos are rotated correctly first.
Related tools
Image Compressor
Compress JPEG, PNG and WebP images online with a quality slider and optional resizing. See the size saved for each file. Images never leave your browser.
Image Cropper
Crop images online with a draggable box, fixed ratios like 1:1, 16:9 or 1200×630, or exact pixel values. Save as JPEG, PNG or WebP without uploading.
Image Converter
Convert images online between PNG, JPEG and WebP, and turn SVG into PNG, with quality and size options. Convert several files at once in your browser.
Image to Base64
Convert images to Base64 online: get a data URI, raw Base64, an <img> tag or CSS background for PNG, JPEG, SVG, WebP or GIF. Files stay in your browser.
Base64 to Image
Decode a Base64 string or data URI to an image online: preview it, see its type, size and dimensions, and download it as PNG, JPEG, SVG, WebP or GIF.