Image Cropper
Crop images right in your browser: drag a selection, use 1:1, 4:3 or 16:9 presets, or set exact coordinates. Files never leave your device.
Why crop images precisely
Avatars that need a square, a banner for a specific slot, a screenshot where only one region matters — cropping is one of those tiny tasks that always opens a heavy editor. This tool does the one thing you need right on the page: drag a rectangle over the image, optionally lock a ratio, and export the result as PNG.
What it does
- Drag a crop area directly on the image, with exact X/Y/width/height readouts.
- Ratio presets: free, 1:1, 4:3, 16:9 and vertical 9:16.
- Exports lossless PNG, entirely processed on your device.
How to use
- Drop an image or pick a file.
- Choose a ratio and drag the selection over the area you need.
- Fine-tune with the numeric fields, press Crop and download the PNG.
How it works
The selection rectangle maps display coordinates to natural image pixels, and the export draws that region onto a canvas with drawImage. No libraries, no uploads — the crop happens entirely in your browser.
Why people crop images in practice
An ordinary image rarely fits the required size first time round. A photo from a phone arrives in portrait orientation while an avatar has to be square. A screenshot contains half a screen nobody needs. A site banner is designed for a particular aspect ratio and the photo came out horizontal. In cases like these people open an editor capable of far more than the job requires, and spend several minutes on a single rectangle.
The second scenario, no less common, is preparing an image for a specific slot. An avatar for a profile, a cover for a blog post, a preview for a product card, a photo for a CV, a picture for a classified ad. Every platform has its own size requirements, and when files need to be brought into line in batches, it helps to have one tool that behaves the same way every time. The usual sizes people aim for are listed further down.
A third scenario has to do with privacy and file weight. Crop away the excess and save as PNG and you get an image with no quality loss, plus everything that should not go public is gone: an address on a sign, someone else's face in the frame, a phone number on a screen. One limit is worth stating here: cropping changes the frame but does not rewrite the original file, so keep the source separately. For working with the weight and format of a file, the image resizer is the right tool.
- An avatar in a square format that a service or social platform insists on.
- Trimming stray edges off a photograph before publishing it.
- Pulling the useful part out of a screenshot or a scanned document.
- Fitting a banner or cover to a required aspect ratio.
- Cropping a photo to a square for a print collage or a grid layout.
- Cutting out a region with nothing private in it before sending it to a client.
- Preparing a version of an image with the frame trimmed and the metadata gone.
- Swapping part of a mockup while working on a page layout.
Mistakes that leave you with the wrong frame
The first mistake is about proportions. If you drag out a rectangle and then change the preset to 16:9, the width of the selection is kept while the height is recalculated, so the frame can slide past the edge of the image or swallow more than you intended. Always check the X, Y, width and height fields after switching presets. They show exact pixels of the source image rather than what you see on screen.
The second mistake comes from the picture being displayed smaller than it is. Dragging the frame over the preview costs you accuracy, because one screen pixel can correspond to several pixels of the original. For precise work, work from the numeric fields, which count in natural image pixels, and correct the frame there. Nothing is applied until you press Crop, and the result appears only after that.
The third mistake is worth anticipating: metadata and orientation. Modern browsers apply the EXIF rotation when displaying a photo, so the crop runs on the already-rotated image. If the result comes out sideways, the file carried a non-standard orientation flag that the browser ignored. Separately, remember that the PNG export carries no service data at all, including geolocation, which for publishing is usually a plus. The weight and format of the output can then be adjusted with the image resizer.
- Changing the aspect preset after the frame is already drawn. Check the numeric fields.
- Eyeballing the selection on a scaled-down preview instead of using the pixel fields.
- Expecting the crop to reduce file size. Cropping does not compress anything.
- Trying to select a region larger than the image. The frame is clamped to the edges.
- Assuming camera metadata and geolocation survive in the PNG. They do not.
- Mixing natural pixels with the size shown on screen.
- Cropping before the file has fully loaded, which puts the frame in the wrong place.
- Expecting a compressed JPEG at the end. The result is saved as lossless PNG.
How cropping works and what to know
The sequence is simple and happens entirely in the browser. The file is read as an object, a temporary URL is created from it, the browser decodes the image and reports its natural size. Then the display scale is computed, the ratio between the on-screen width and the real width. All frame coordinates are stored in natural pixels and converted to screen coordinates only for drawing, so the result does not depend on the window size.
When you press Crop, a canvas is created exactly the size of the selected region and the matching rectangle of the source is drawn onto it. The result is saved as PNG, and the file name gains the dimensions, something like `photo-cropped-800x600.png`. There is no interpolation step in this operation, so the pixels of the selected area are carried across one for one and no quality is lost. Converting that PNG back to JPEG, if you ever need to, is a separate job.
A few limits are worth knowing. Animated GIF and APNG files are shown by the browser as a single frame, and that frame is what ends up in the result. Very large images run into browser limits on canvas dimensions, and cutting a region out of a panorama tens of thousands of pixels across may fail to load. Ordinary screen captures, camera photographs and images from social platforms are handled without trouble.
Common ratios and where they fit
| Ratio | Where it is used | Worth knowing |
|---|---|---|
| Free frame | Any region, no constraints | Best when you need an exact fragment |
| 1:1 | Avatars, square posts, product photos | The most common request by far |
| 4:3 | Classic photography, older formats | The shape consumer cameras used to shoot |
| 16:9 | Video thumbnails, banners, covers | The standard of modern screens |
| 9:16 | Vertical video, stories, short posts | The shape of a phone screen |
| 1280×720 | Thumbnails for video platforms | The standard cover for a clip |
| 1080×1080 | Square social media posts | A common default across platforms |
| 1080×1920 | Vertical posts and stories | Tall format for phones |
| 820×312 | Page or group cover | A wide banner with some slack |
Treat every size here as a starting point. Platform requirements change, so check their documentation before uploading.
Cropping, resizing and the other ways to handle a picture
Cropping and resizing solve different problems, even though they get confused constantly. A crop cuts part of the frame away, reducing the content while keeping its resolution. Resizing shrinks the entire image, and it is the only thing that actually reduces file weight. If the goal is to fit a size limit and keep the file light, resize first and crop afterwards. Otherwise you end up recalculating proportions twice.
There is a separate tool for weight and format that converts between JPEG, PNG and WebP and shows the savings in percent. The choice usually follows one simple rule: photographs go out as WebP or JPEG, while anything with transparency, screen captures and diagrams stay in PNG. If all you need is to bring a picture into line with a dimension and you are not cropping, the image resizer is the faster route.
Some jobs need neither cropping nor compression. You may simply want to see how a picture will look on a page, compare two versions, or find out what format a file is in. For that there is the image viewer and the text comparison tool for matching metadata, and when the task is to turn a picture into a text string, the Base64 image encoder does it.
Comparing image operations
| Operation | What changes | When you need it |
|---|---|---|
| Crop | Part of the frame is removed | You need one specific region |
| Resize | Width and height change | You have to fit a weight limit |
| Compress | Quality and format change | The file is too heavy to send |
| Format conversion | Only the format changes | The platform demands a specific format |
| View | Nothing changes | To check how a file opens |
| Encode to text | The picture becomes a string | Inserting into code or a config |
| Crop and compress together | Both frame and weight change | Shrink first, crop second |
Before uploading to a project it helps to estimate the final weight: the word and character counter handles text files, and the image resizer gives an honest figure for pictures.
A few everyday habits
Precise cropping comes faster when the order of operations is right. Set the proportions first, select the region second, and only then fine-tune it with the numbers. That way there is less to redo.
- Pick the ratio preset before drawing the frame, otherwise you will have to recompute it.
- Read the X, Y, width and height fields. They show natural pixels rather than screen pixels.
- Grow the region up to the edges of the picture instead of dragging it past them. The tool clamps it anyway.
- Remember nothing is applied until you press Crop, and the result only appears afterwards.
- Keep the original: cropping does not shrink the file, and a cropped JPEG comes out as PNG.
- The tool is not built for animation or multi-page files. Only the first frame survives.
- Check that nothing private slipped into the frame before you upload the result.
Frequently asked questions
Will the cropped image lose quality?
Can I crop to an exact size?
Related articles
Aspect Ratio: 16:9, 4:3, 1:1 and How to Size for Social Media
What an aspect ratio is, how to reduce 1920×1080 to 16:9, which resolutions the popular formats use, how to calculate the missing side and what happens to quality in print.
WebP: What the Format Is and When It Beats JPG
What WebP is and how it compares with JPG and PNG: quality, browsers, serving both formats via picture, and compressing photos before publishing.
HEIC Photos: How to Open and Convert Them to JPG
What HEIC is, why photos from an iPhone will not open on a computer, how to add HEIF support to Windows, how to turn HEIC into JPG or PNG without losing quality, and what happens to Live Photos.
Related tools
SVG to PNG Converter
Rasterize SVG to PNG in your browser: set pixel sizes, scale by 2× for retina, download or copy the result
WebP to JPG Converter
Convert WebP to JPG, PNG or WebP in your browser: quality slider, transparency fill, before/after sizes. The file never leaves your device.
EXIF Remover
See what metadata a JPEG or PNG really carries, then download a copy without EXIF, GPS and other metadata blocks
Color Picker & Converter
Pick colors and convert between HEX, RGB, HSL, and HSV formats
HEX to RGB Converter
Convert HEX color codes to RGB and RGBA values
RGB to HEX Converter
Convert RGB color values to HEX codes
Color Palette Generator
Generate color palettes from a base color — complementary, analogous, triadic, and more
WCAG Contrast Checker
Check color contrast ratios for WCAG AA and AAA accessibility compliance