Image Convert / Resize
Save an image, from a file or a web address, as JPEG, PNG, WebP or GIF, at a chosen size and quality, cropped, rotated or flipped if you like.
About this tool What it's for, how to use it and an example
What it's for
Convert an image to JPEG, PNG, WebP or GIF, resize it and set the quality. It also removes hidden metadata, such as camera details and GPS location.
- When a website or form rejects a photo for being too big or the wrong format.
- When you want to share a photo without revealing where it was taken.
How to use it
Choose an image, drop one on the page or paste one (a screenshot, say), or paste an image’s web address and press Load, then pick a format in Save as. For JPEG and WebP, set the quality: lower means a smaller file. Enter a Width or Height and the other adjusts to keep the proportions, or set both to force an exact size. Rotate turns the picture a quarter or half turn, the Flip boxes mirror it, and Crop keeps only the part you give in the original’s pixels (from the left, from the top, width and height; leave any blank for the edge). Width and height then apply to the cropped, turned picture. The preview shows the result, with the old and new dimensions and file sizes, and Download saves it. The format and quality are remembered.
Responsive sizes (srcset) makes one picture at several widths for a web page. Enter the Widths (any wider than the picture are cut down to its width, so nothing is enlarged), tick one or more formats, and optionally set the File name, the Sizes value and the Alt text. Make the set renders each width in each format with the crop, rotate, flip and quality settings above, downloads them together as a ZIP, and fills the Markup box with an <img> that has srcset (or a <picture> with a <source> per format when you tick more than one) ready to Copy. The sizes value tells the browser how wide the picture will appear: 100vw means the full width of the window.
Example
Choose a photo from your phone, which is often several megabytes. Set Save as to JPEG, quality to 0.85
and Width to
1600
The tool shows the new size as a percentage of the original, usually a small fraction. The copy still looks sharp on screen and has no location data.
Good to know
Making an image larger than the original can’t add detail. PNG and GIF ignore the quality setting, and JPEG has no transparency, so transparent areas become white. HEIC photos, the iPhone’s default format, open only in Safari. A GIF has at most 256 colours, so photos look grainier, and only the first frame of an animated GIF is read: to resize or edit an animation, use the Animated GIF Maker. To make a PNG, JPEG or WebP as small as it can be while it still looks the same, use the Image Compressor, which tries many settings and measures each result.
Loading from a web address only works when the site allows other pages to read its images. Many, such as Wikimedia Commons, do; most others don’t, and then you need to save the image and choose the file. Everything else happens in your browser, and your own files are never uploaded.
Guides: Before you share a photo or document · Fixing up a picture · Getting images ready for a website · Making an audiobook from recorded chapters · Paper and templates for printing or an e-ink tablet · Putting a PDF together to send · Publishing an ebook that stores accept · Screenshots for a blog post, slide or app store
Set one of width and height to keep the proportions; they apply after cropping and turning. The saved copy has no metadata, such as EXIF or GPS location.
Built with The third-party code and data this tool uses, and their licences
This tool runs on the following open-source work, copied onto this site and served from it:
- gifenc 1.0.3
- Copyright
- Copyright (c) 2017 Matt DesLauriers
- Licence
- MIT License
- Source
- github.com/mattdesl/gifenc
Every page also uses Montserrat (SIL Open Font License 1.1).
Everything the site uses is on Credits and licences.
Private: this tool runs in your browser. Nothing you type, paste or choose leaves this page.
Saved you a few minutes? Say thanks with a coffee.
Something wrong with this tool, or missing from it? Report a bug or suggest a feature.