Skip to content
    PDFWix logo — free browser-based PDF toolsPDFWix
    Home / Guides / How to Crop an Image Into a Circle in PNG
    crop image circle

    How to Crop an Image Into a Circle in PNG

    How to crop an image into a circle step by step, keep transparent corners in PNG, and see why JPEG exports stay rectangular.

    10 min readUpdated todayNo upload
    PParag· Reviewed for accuracy
    Files never uploaded Runs in your browser No signup No watermark
    Your headshot looks perfectly round in the preview. Then you download it, place it on a coloured slide, and a white square appears around the face. The crop looked right, but the exported file didn't preserve the transparent corners.

    Your headshot looks perfectly round in the preview. Then you download it, place it on a coloured slide, and a white square appears around the face. The crop looked right, but the exported file didn't preserve the transparent corners.

    Learning how to crop an image into a circle means getting both the framing and the file format right. A good result keeps the subject inside a smooth circular edge, leaves the corners transparent, and stays round when you place it in its final layout.

    Table of Contents

    Why a Circle Crop Stays Rectangular Unless You Export PNG

    Use a transparent PNG when the circular image needs to work outside the editor. A browser preview alone doesn't establish that the downloaded file contains transparency.

    A circle crop is a masking operation. The image still occupies a rectangular grid of pixels. The editor either hides the area outside the circle or makes those pixels transparent. Even a properly exported circular PNG has rectangular dimensions, but its clear corners let the background show through.

    A diagram illustrating how circular cropping works in a browser, explaining masks and file transparency formats.

    A round preview isn't a round export

    For a webpage, a developer can use equal width and height, object-fit: cover, and border-radius: 50% to display a rectangular source as a circle, as demonstrated in the circular image tutorial. That changes how the browser presents the image, not necessarily the source file.

    This is useful when the image only needs to appear round inside that layout. It's insufficient when you need to send the asset to someone else or place it in a presentation, document, or logo layout that won't apply the same mask.

    Practical rule: Choose the output format before adjusting the crop. Otherwise, you can finish the framing correctly and still download the wrong kind of file.

    What PNG preserves that JPEG cannot

    PNG stores per-pixel opacity through an alpha channel. Ordinary web-oriented PNG images can contain 254 levels of partial transparency between fully transparent and fully opaque pixels, according to the W3C PNG data representation specification.

    Those partially transparent pixels matter along the circumference. Digital images use square pixels, so a hard boundary can look stair-stepped. Anti-aliasing softens the transition by varying edge opacity, helping the curve blend against its background.

    JPEG doesn't preserve that alpha transparency. When an editor saves the masked image as JPEG, it must replace clear areas with a solid colour, commonly white or black. Renaming the extension won't restore the missing transparency.

    Export formats and transparent corners

    Format Transparent corners Alpha detail Best use
    JPEG No, corners export as a solid fill None Photos with no transparent areas
    PNG Yes Per-pixel opacity with partially transparent edges Logos, avatars and downloads that need clear corners
    WebP Yes Supports alpha transparency Web pages where smaller files matter
    AVIF Yes Supports alpha transparency Modern web delivery; check that the receiving app opens it

    WebP and AVIF are options when the destination accepts them. PNG is the practical default for a reusable download, but you should still test the receiving application rather than assume it handles every format.

    If you need another format for a separate purpose, keep the transparent master. The guide to converting PNG to JPG covers that conversion workflow, but the JPEG copy won't retain clear corners. Conversion is a compatibility decision, not a way to preserve a circular mask.

    How to Crop an Image into a Circle Step by Step

    Start with an untouched original and save the cropped result separately. You may need a wider composition later, and the exported circle can't restore content that you excluded.

    The sequence below describes the required editing decisions, not a fixed set of button labels. Check the live page for its current controls and export options before loading the image, especially if you're working with a sensitive photograph.

    A four-step infographic illustrating how to crop an image into a circle for web design.

    Prepare the source and crop geometry

    1. Choose a sufficiently large original. Use a source that contains enough detail for the intended display size. Enlarging a tiny face from a group photograph won't reveal detail that wasn't captured. Judge the retained subject area, not just the dimensions of the whole photograph.

    2. Open PDFWix's circle crop tool and inspect the current page. Use its image-loading method to select your source file. Don't assume that a control's label or position matches an older tutorial.

    3. Position the subject before committing. Arrange the frame around the face, logo, or object you want to retain. Leave breathing room around important details instead of pressing them against the circular boundary.

    4. Establish a square crop or square output area. Equal width and height allow a circular mask to remain round; stretching the result into unequal dimensions makes it oval. If you need to prepare the rectangular composition separately, use the image cropping utility and retain enough space for the curved boundary.

    Apply the mask and verify the download

    1. Use the circular crop mode shown on the live page. Review the full circumference, not just the centre. Look for clipped hair, missing lettering, and background objects that become distracting when the surrounding scene disappears.

    2. Inspect the preview at its intended display size. An enlarged editor view helps you position the mask, but a small avatar can make a face unrecognisable or lettering unreadable. Adjust the composition to suit the actual use.

    3. Export with transparency preserved as PNG. Check the current output settings or downloaded file type rather than assuming the preview determines the format. The PNG specification documents the transparency mechanism that makes clear corners possible.

    4. Open the downloaded file in a transparency-aware viewer or place it over a dark or coloured background. Confirm that the corners reveal the background, the subject isn't stretched, and the edge looks clean at the size you'll use.

    Verify the downloaded file, not just the editor preview. The export is the asset you'll actually upload, share, or print.

    For PDF workflows, our standard upload pattern is to drop a PDF into the upload area or click to select a file, with output ready in seconds. For this image task, follow the live image page's accepted-file guidance rather than treating a photo as a PDF.

    A successful result has a well-framed subject, transparent corners, and undistorted proportions. Keep it alongside the original with a descriptive filename so you don't accidentally overwrite your master or send an older rectangular version.

    Framing the Subject and Keeping the Circle Round

    A centred mask doesn't guarantee a well-framed portrait. The centre of the photograph and the centre of the subject can be in different places, especially when the original includes scenery or other people.

    Say a headshot places the face toward the upper-left of the photograph. A crop centred on the whole image may retain too much background while clipping the person's hair or chin. Move the crop frame toward the face, upward and left in this example, then adjust its size until the important features fit comfortably.

    A visual guide illustrating correct and incorrect framing techniques for circular image cropping with a woman's portrait.

    Frame for the curved boundary

    The square's corners won't remain visible inside the circle. A logo can fit inside a square and still lose its outer lettering when masked. Check the curved perimeter with the actual artwork rather than relying on the square selection alone.

    For browser layouts, object-position lets you adjust which part of the source remains visible, while object-fit: cover fills the container without distorting the image, as explained in the HTML and CSS cropping guide. For a downloaded asset, make those framing decisions before export.

    • Portraits: Keep hair, chin, and other identifying details away from the edge. Compare the result at its intended avatar size.
    • Logos: Protect the complete mark and any essential lettering. A wider composition may need more surrounding space than a face.
    • Repeated team images: Match the apparent face size and breathing room, not merely the outer image dimensions.

    Cropping changes the boundary, not the scene inside it. If the job requires moving a person into a different photograph, RevelRaw's guide to composite a subject into images addresses that separate editing task. Complete the composition before making the final circular crop.

    Preserve proportions and accessibility

    When preparing another output size, resize the image without changing its proportions. In the destination layout, avoid dragging only a side handle or assigning unequal width and height. A correct export can still be distorted after insertion.

    A circular shape doesn't communicate meaning to screen readers. Give an informative standalone avatar an image role and accessible label. When the avatar merely repeats an adjacent person's name or serves as decoration, hide that redundant image from assistive technology.

    Keep the uncropped original for reuse. A platform with its own profile mask may need a different composition from a document or presentation, so don't force every destination to use the same tightly cropped asset.

    Fixing White Corners, Ovals and Jagged Edges

    White or black corners are the first thing to investigate. Check the actual file format, then inspect the image against a contrasting background. A viewer's white canvas can look identical to a baked-in white fill, so appearance in a single viewer isn't enough to diagnose the problem.

    Say a team member's photograph looks round in a layout preview but prints with a white square on a coloured handout. If the downloaded asset is JPEG, return to the masked original and export a transparent PNG. Converting that flattened JPEG to PNG alone won't erase the white area.

    Match the symptom to the cause

    Circle crop symptoms, causes and fixes

    Symptom Likely cause Fix
    White or black corners Saved as JPEG or another format without transparency Re-export as PNG and check on a dark background
    Oval instead of round Crop box is not square, or the result was stretched Crop to equal width and height, then apply the circle and preserve proportions
    Jagged or stair-stepped edge Small source image scaled up Start from a larger original image
    Face or logo cut off Circle centred on the wrong point Move the focal point inside the circle before exporting
    Still square on a website Rectangular source displayed without the intended CSS mask Use border-radius: 50% on a square container, or export a circular PNG
    Upload rejected by a platform Format or size not accepted there Check the platform's accepted formats and convert the file

    A rectangular source underneath a functioning CSS mask is normal. If the website itself shows square corners, inspect the presentation rules rather than assuming the mask permanently changed the file.

    Separate quick repairs from source problems

    Export and proportion mistakes are usually straightforward to correct when you still have the original. Missing detail is different. Repeatedly enlarging and resaving a small source won't produce a sharp portrait, and excessive smoothing can make the edge look blurred.

    Quality check: Inspect the circle at normal display size before rejecting it for pixel stepping visible only under extreme magnification.

    For a wide object that loses essential parts inside a circle, change the shape instead of squeezing the subject. A rounded-corner image can preserve more of the rectangular composition.

    A dark fringe may also belong to the source image rather than the mask. For product compositions, distinguish an unwanted edge halo from a deliberate shadow. Nereo's guide to adding realistic shadows to product shots is relevant when you're rebuilding that surrounding treatment, not merely changing the crop boundary.

    Export Your Circle as a Transparent PNG Now

    Keep the rectangular original as your master and treat the circular export as a separate deliverable. Prepare the square framing, position the subject, apply the circular mask, export PNG, and inspect the downloaded file against a contrasting background.

    If your starting asset is already transparent WebP and the destination requires PNG, use WebP to PNG conversion. Format conversion can preserve existing transparency, but it won't create a circular mask or remove a solid background by itself.

    Check the destination before sending

    Transparency matters for other reusable graphics too. The LinkShip transparent QR code comparison addresses that separate use case. For your circle, the essential check is whether the receiving application preserves the clear corners.

    • Sensitive images: Read the live tool's privacy and storage notes before loading a headshot. Most of our document tools run entirely in the browser without uploading files, but don't assume identical handling across every page.
    • Output integrity: Our files contain the requested change without added watermarks. Still inspect your download for framing, dimensions, and compatibility.
    • Source limitations: A circle can't repair a low-resolution photograph or restore details outside an already flattened crop.

    Open the circle crop page, load your working copy, and verify the PNG before sending it. If the asset must retain clear corners in a document, profile, or logo layout, export transparent PNG. If it only needs to appear round on a webpage, CSS masking can be enough.


    PDFWix offers Circle Crop alongside image cropping, resizing, and format-conversion tools for preparing reusable graphics. Visit PDFWix, choose Circle Crop, and create a PNG you can check against your destination background before sharing.

    Found this useful? Share it