XTools Logo
XTools
Blog
/
Image CompressionImage Format ConversionBackground RemovalImage MosaicImage ResizerCrop ImageRotate & Flip ImageBlack & White ImageAdd Text & WatermarkAdd Border to ImageShape CropCollage & Image StitcherBlur BackgroundChart MakerBlur Part of ImageGIF MakerAdjust Image ColorsMeme GeneratorTrim Transparent EdgesStraighten PhotoSplit Image into TilesSquare ImageRemove Photo MetadataPlaceholder ImageDevice Mockup & Screenshot BeautifierSocial Share Image (OG)Code ScreenshotSignature Maker

© 2026 XTools. All rights reserved.

Privacy PolicyContact Us

    Trim Transparent Edges

    Crop away empty transparent space around a PNG
    • Files never leave your device
    • Runs in your browser
    • Free, no sign-up, no watermark

    Drop files here, or click to choose

    Accepts JPG, PNG, WebP, AVIF, GIF, BMP, HEIC · You can also paste with Ctrl+V / ⌘V

    Related tools

    • Image Compression
    • Image Format Conversion
    • Background Removal
    • Image Mosaic
    • Image Resizer
    • Crop Image
    • Rotate & Flip Image
    • Black & White Image
    • Add Text & Watermark
    • Add Border to Image
    • Shape Crop
    • Collage & Image Stitcher
    • Blur Background
    • Chart Maker
    • Blur Part of Image
    • GIF Maker
    • Adjust Image Colors
    • Meme Generator
    • Straighten Photo
    • Split Image into Tiles
    • Square Image
    • Remove Photo Metadata
    • Placeholder Image
    • Device Mockup & Screenshot Beautifier
    • Social Share Image (OG)
    • Code Screenshot
    • Signature Maker

    How to use Trim Transparent Edges

    Cut away empty transparent space around logos, stickers and cut-outs, or trim a flat background color such as the white margin around a scan. Each image is trimmed to its own content, and whole batches are processed in your browser.

    1. 1

      Drop one or more images on the page, or paste one with Ctrl+V.

    2. 2

      Under What to trim, choose Transparent edges or Solid background.

    3. 3

      Raise the Alpha threshold to also remove faint shadows; in Solid background mode, set the Color tolerance too.

    4. 4

      Enter a Padding to keep some space around the content, and check the new size under the preview.

    5. 5

      Pick a Format and click Apply and download, or Apply to N images for a batch. Several results can be saved with Download all (ZIP).

    Frequently asked questions

    Are my images uploaded?

    No. Trimming runs in your browser, and your images never leave your device.

    Which output format should I use?

    PNG or WebP, so the transparency survives. The output starts as PNG; JPG has no transparency, so see-through areas would turn white.

    How does Solid background know which color to remove?

    It checks the four corners and uses the color most of them share. The Detected background is shown in the panel; raise Color tolerance if JPEG noise stops the trim too early.

    Why is a faint shadow still kept?

    With Alpha threshold at 0, any pixel that is even slightly visible counts as content. Raise the threshold to treat almost invisible pixels as empty.

    Can I trim many images at once?

    Yes. Each image is trimmed to its own content with the same settings, and the results download one by one or as a single ZIP.

    How is this different from Crop Image?

    Crop Image cuts an area you choose by hand. This tool finds the content edges for you, which suits batches of logos, icons or scans.