# Image Compressor_ Shrink, convert, and resize images entirely in your browser — nothing is uploaded. Resize by pixels, percent, or real-world centimetres and millimetres. **Drop an image** or click to choose Input: JPEG · PNG · WebP · GIF · BMP · SVG · AVIF · ICO ## Supported formats **Input** — anything your browser can decode: JPEG, PNG, WebP, GIF (first frame), BMP, SVG, ICO, and AVIF where supported. **Output** — PNG, JPEG, WebP. PNG and WebP preserve transparency; JPEG is flattened onto the background colour you choose. The buttons above are filtered to exactly what your browser can encode. ### About cm / mm sizing Physical units only mean something with a resolution, so set the **DPI**. The tool converts with `pixels = size ÷ 25.4 × DPI` for millimetres (÷ 2.54 for centimetres). Use **96** DPI for screens and **300** for print — e.g. 210 mm at 300 DPI is 2480 px, the width of A4. ## Accessibility ### Screen reader support ## Related tools - [Image Cropper](image-cropper.html) — Crop Photos Online Free - [JPG to PNG Converter](jpg-to-png-converter.html) — Free & In-Browser - [EXIF & Metadata Remover](exif-remover.html) — Clean Photos Privately --- *Source: [ocxly.com/image-compressor.html](https://ocxly.com/image-compressor.html) — OCXLY, free 100% client-side privacy-first tools. Compress, convert, and resize images in your browser (JPEG, PNG, WebP, GIF, BMP, SVG, AVIF in / JPEG, PNG, WebP out). Resize by px, %, cm, or mm. Nothing is uploaded.*