Image Compressor
Shrinks JPG, PNG, WebP, and AVIF files with a quality slider and a before/after view.
Tools for compressing, resizing, converting and editing images, plus SVG utilities. Local files are processed in your browser. Load From URL may use a server fallback; see the privacy policy for details.
Shrinks JPG, PNG, WebP, and AVIF files with a quality slider and a before/after view.
Resizes images to exact pixels or a percentage, one at a time or in batches.
Converts images between JPG, PNG, WebP, AVIF, and ICO, and opens iPhone HEIC photos. ICO is a ZIP of icon sizes.
Converts JPG, PNG, GIF, and other images to WebP without visible quality loss.
Converts JPG, PNG, WebP, and GIF images to AVIF at full color resolution.
Crops images with a draggable box, aspect ratio presets, and exact pixel fields.
Rotates images by 90°, 180°, 270°, or any angle, in batches.
Mirrors images left to right or top to bottom without losing sharpness.
Turns color images into grayscale or sepia, with a before/after slider.
Shows and removes EXIF, GPS, XMP, and IPTC data from JPG, PNG, and WebP files.
Sets the DPI stored in JPG and PNG files and shows the print size.
Pulls the dominant color and a 5 to 12 color palette out of any image.
Draws your text as a PNG, JPG, or WebP image with your font and colors.
Shrinks SVG files with SVGO and shows the before and after side by side.
Minifies SVG code to the smallest version that draws the same.
Strips editor data, comments, and metadata from SVG files and leaves the drawing alone.
Indents SVG code for reading and editing without changing any values.
Checks SVG files for XML errors, broken references, typos, and unsafe code.
Shows SVG code as an image with zoom, backgrounds, and size details.
Adds a viewBox to SVG files from their width and height or their drawn content.
Turns SVG files into sharp PNG images at any scale, with transparency.
Turns SVG files into JPG images at any size, on a background color you pick.
Turns SVG files into small WebP images with transparency at any size.
Makes every iOS and Android app icon size from one 1024 px image and packs them in a ZIP.
Turns one logo into favicon.ico, favicon.svg, Apple and Android icons, and the HTML that installs them.
The Image Compressor trades a little quality for a much smaller file, and the Image Resizer changes the width and height in pixels or percent. To change the format with high-quality lossy or lossless settings, use the Image Converter, or go straight to Image to WebP or Image to AVIF for the web.
For quick edits there is the Image Cropper, the Image Rotator, the Image Flipper, and Image Grayscale. Text to Image turns a line of text into a PNG, and the Image Color Extractor pulls a palette out of a photo.
For mobile apps, the App Icon Generator takes one square image and returns every iPhone, iPad, and Android icon size, already sorted into the folders Xcode and Android Studio use. For websites, the Favicon Generator turns a logo into favicon.ico, an SVG favicon, and the home screen icons, along with the code that installs them.
To choose display dimensions before changing compression, prepare images for a website and compare the result at its intended size.
A lossy format (JPG, lossy WebP, lossy AVIF) throws away detail you are unlikely to notice, and a quality setting decides how much. Saving a lossy file again loses a bit more each time. A lossless format (PNG, lossless WebP and AVIF) keeps every pixel exactly.
Some tools here never re-encode the image at all. The Image Metadata Remover and the Image DPI Converter only rewrite the information stored around the pixels, and the SVG tools edit text. Conversion tools preserve decoded pixels when using lossless output. Photos use high-quality lossy settings by default, so fine detail can change. JPG does not support transparency, and the output pipeline uses 8 bits per channel.
To open a file and inspect its appearance first, use the SVG Viewer. Switch the background, zoom in, and check the intrinsic size and viewBox before validating or converting it.
SVG files from design apps carry a lot of extra code. The SVG Optimizer and SVG Minifier cut it down, and the SVG Metadata Remover takes out only the editor data. The SVG Validator finds broken references and typos, the SVG Formatter makes the code readable, and the SVG ViewBox Generator makes an icon scale properly. To get a raster image, use SVG to PNG, SVG to JPG, or SVG to WebP.
Files you choose from your device are processed in your browser. Load From URL may use a server fallback, which fetches the image through this server. Use local-file input if you want to avoid that fallback.
No. For JPG, PNG, and WebP files the metadata remover copies the compressed image data byte for byte and only drops the blocks around it, so the pixels are exactly the same.
The AVIF encoder does much more work to find a small file, so a large photo can take a few seconds. It runs in the background, so the page stays usable while it works.
Up to 20 images per batch, each up to 50 MB and 50 megapixels. Several results download together as one ZIP file.