Home › Image Tools › Auto Face Crop

Auto Face Crop

Drop in portraits and get consistent, centered headshots in seconds. Faces are detected automatically on your device, then each photo is cropped to the same aspect ratio, face size and eye-line position, which is ideal for team pages, staff directories, ID badges and profile pictures.

Last updated:

Tight ← → loose: lower values add more padding
Framing preview

Add one or more photos. Each detected face becomes a centered headshot at the ratio and padding you choose; adjust any crop by hand with Adjust.

Advertisement
Advertisement

How to use the Auto Face Crop

  1. Add photos by dropping them on the box. Faces are detected automatically and each photo gets a crop card.
  2. Choose the ratio and output size, for example 1:1 at 1080 px for profile pictures.
  3. Set Face size and Face position; the framing preview shows how much space appears around the head.
  4. Check the cards and press Adjust on any crop to drag the frame or change its size.
  5. Download single headshots or press Download all as ZIP.

How the crop is calculated

Every headshot is framed with the same three rules, which is why a whole batch comes out consistent even when the original photos were shot at different distances:

ValueFormulaExample (face box 300 px tall, 1:1, 38%, 42%)
Crop heightface box height ÷ Face size300 ÷ 0.38 ≈ 789 px
Crop widthcrop height × aspect ratio789 × 1 = 789 px
Horizontal positionface center − crop width ÷ 2face centered left to right
Vertical positionface center − Face position × crop heightface center 331 px below the top edge
Output sizelongest side scaled to the chosen pixels789 × 789 → 1080 × 1080

Recommended settings by use

UseRatioFace sizeFace positionOutput
Profile picture / avatar1:1, circle45–55%45–50%600–1080 px
Team page / staff directory1:1 or 4:532–40%40–44%1080 px
ID badge3:440–45%42%600 px
Print portrait2:3 or 5:725–35%38–42%2048 px
Social story / vertical video cover9:1620–28%35–40%1080 px

Tips for consistent headshots

  • Use the same settings for the whole set: identical face size and position make a grid of team photos look professional even if the originals differ.
  • Start from the highest resolution you have: tight crops from small photos are upscaled, and the card shows "upscaled" when that happens.
  • Leave room above the head: the detector's box ends at the forehead, so a face size of 50% or more may cut off hair; lower it or move the face down.
  • Use circle crops for avatars: the PNG has a transparent background, so it looks right on any page color.
  • Check group photos by hand: use Adjust for anyone partly hidden or turned to the side.

Frequently asked questions

How does the automatic face crop work?

Each photo is scaled down to 1280 pixels and passed to the MediaPipe BlazeFace short-range detector, a small neural network that returns a box around every face from the forehead to the chin. The crop height is then the face box height divided by your Face size percentage, the width follows from the aspect ratio, and the frame is placed so the center of the face sits at your chosen distance from the top.

Are my photos uploaded for face detection?

No. The detector's code and model file are downloaded once from public CDNs, then the detection, cropping and image encoding all run on your device. Your photos are never sent anywhere.

What Face size should I use for headshots?

For a classic head-and-shoulders headshot use about 30 to 40 percent. For tight profile pictures and avatars try 45 to 55 percent; for a looser upper-body crop use 20 to 25 percent. Passport and visa photos have strict official rules, so use a dedicated passport photo tool for those.

Why was no face found in my photo?

The short-range model is made for faces that fill a reasonable part of the picture, like selfies and portraits. Very small faces in wide group shots, faces in profile, heavily shadowed faces, sunglasses and masks can be missed. The photo is then center-cropped and marked, and you can frame it yourself with Adjust.

What happens when the face is close to the edge of the photo?

With Shrink and shift to fit, the frame is made smaller and moved so it stays inside the photo, which keeps every pixel real but can put the face slightly off center. With Keep face centered, fill with color, the frame keeps its size and position and any area outside the photo is filled with the color you pick.

Can I crop several faces from one group photo?

Yes. Set Faces per photo to Every face and the tool creates one headshot per detected face, named face1, face2 and so on. Faces much smaller than the largest one (less than 30 percent of its height) are ignored to avoid background people and false detections.

What if face detection does not load?

If the detector is blocked by a network filter or you are offline, the tool still works: every photo gets a centered crop at your chosen ratio, and you can move and resize each frame with Adjust before downloading.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Profile Picture MakerMake a round or square profile picture with a ring border and color or gradient background.Passport Photo MakerMake passport and visa photos for any country and print them on a 4x6 sheet.Crop Image into ShapeCrop a photo into a heart, star, hexagon, circle, speech bubble or custom SVG shape as a PNG.Bulk Image ResizerResize many images at once by width, height, percent or longest side and download a ZIP.Image CompressorShrink images to a target size like 100 KB.Image ResizerResize images to any size without losing quality.Compress Image to 20KBShrink any photo to under 20KB (or any target size).Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.Image CropperCrop images, including circle crops for profile pictures.Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Collage MakerCombine photos into a grid collage.Aspect Ratio CalculatorCalculate image sizes for 16:9, 4:3 and any ratio.Image Border AdderAdd a border, rounded corners, matte and shadow to a photo onlineImage SplitterSplit an image into a rows × columns grid of tiles and download them one by one or as a ZIP.Image CombinerCombine images side by side, stacked or in a grid, with spacing, background color and alignment.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Image DPI ChangerChange the DPI of JPG and PNG images without re-encoding, and see the print size.Pixel Art MakerDraw pixel art on an 8 to 64 px grid with palettes, fill and mirror, then export PNG or SVG.Social Media Image ResizerResize photos for Instagram, Facebook, X, LinkedIn, YouTube, TikTok and Pinterest in one go.Image Diff CheckerCompare two images and highlight every changed pixel, with % difference and a swipe slider.Emoji to ImageTurn any emoji into a PNG image from 64 to 1024 px, transparent or on a color, in batch.Text to ImageTurn text into a PNG image with your font, size, colors, padding, alignment and wrapping.SVG OptimizerMinify SVG files: strip metadata, comments and editor junk, round numbers, compare sizes.Compress Image to 200KBShrink any photo to under 200KB automatically, with the best quality that fits.Crop GIFCrop an animated GIF with a draggable box or aspect ratio presets, keeping every frame.Drawing Grid MakerPut a numbered grid on a reference photo to copy it by hand. Print it or save as PNG or PDF.Resize GIFResize an animated GIF by width, height or percent, skip frames and compare file sizes.Square Image Maker (No Crop)Make any photo square, 4:5 or 9:16 without cropping, with a color, blur or gradient fill.Text Behind ImagePut text behind the subject of a photo: AI cut-out, fonts, colors, rotation and PNG export.JPG to WordTurn photos and scans into an editable Word document with OCR. Batch images, 30+ languages.PNG CompressorShrink PNG files up to 80% with smart color reduction that keeps transparency. Batch + ZIP.Photo Measurement ToolMeasure distances, areas and angles on a photo using a card or ruler in the picture for scale.Pupillary Distance MeasurementMeasure your PD in mm from a webcam or photo with a card for scale, single and dual PD.Brighten ImageBrighten dark photos with auto exposure, shadows lift and highlight protection. Batch, no upload.Change Image Aspect RatioConvert photos to 1:1, 4:5, 16:9, 9:16, 3:2 or any ratio by crop, color padding or blur fill.Crop Photo for PrintCrop photos to 4x6, 5x7, 8x10, 11x14 or A4 print ratios with a DPI quality check, then export.Long Screenshot StitcherStitch scrolling screenshots into one long image with automatic overlap detection.Resize Image in CM and InchesResize a photo to an exact print size in cm, mm or inches at any DPI. JPG, PNG or PDF.Online Screenshot ToolCapture your screen, a window or a tab, then crop, annotate and copy or save it as PNG.Trim Image WhitespaceAuto-crop white borders or transparent padding from images with tolerance and margin. Batch.Fix Image OrientationRotate sideways photos upright for good by applying the EXIF orientation to the pixels, in batch.Image Format DetectorFind an image's real format from its magic bytes, see size and bit depth, and fix a wrong extension.Increase Image Size in KBMake a photo's file size bigger (e.g. 50 KB or more) to pass minimum upload limits, with no visible change.Megapixel CalculatorTurn width × height into megapixels, aspect ratio and max print size, or MP back to pixels.Volleyball Rotation ToolEnter 6 players and a 5-1, 6-2 or 4-2 system to see all rotations and serve receive on a court.Content-Aware Image ResizeResize images with seam carving to keep people and objects intact; protect or remove areas.Scanned Photo SplitterSplit several photos from one flatbed scan: auto-detect, straighten and crop each, then ZIP.Image to Minecraft Pixel ArtConvert any image into Minecraft block pixel art with block counts, stacks and a row-by-row build guide.Pixel Art UpscalerUpscale pixel art and sprites crisply with nearest neighbor, Scale2x/3x or xBR, keeping transparency.
See all 49 Resize, Crop & Compress →