Skip to main content
eyunzhu

Compress image

Smart compression · Target file size · Compare originals

Images stay on your device

Files

0 · 0 selected

No images selected yet.

Drop images or a ZIP file here You can also paste an image or select several at once.
JPEG · PNG · WEBP · AVIF
Original size
Output size
Space saved
Format and dimensions

Compression plan

Choose what matters most
Common usesStart with sensible settings
Format
Quality82%

Higher values retain more detail and usually create larger files.

Apply to
Advanced settings
Encoding effort4

Choose what to do next

Images are passed temporarily within this browser and are not uploaded.

Images to continue with
Batch image processorBuild a workflow · Process images in batches Crop imageCrop ratios · Straighten · Compose each image Split imageGrid tiles · Long image slices · Custom guides Stitch imagesHorizontal strips · Vertical strips · Grids Resize imagePixels or percent · Fit options · Multiple sizes Extend image canvasAdd margins · Set canvas size · Choose a background Social media image resizerPlatform sizes · Composition guides · Batch export Convert image formatConvert on import · Multiple formats · Batch download Image and Base64 converterImage ↔ Base64 · Instant preview · Copy with a click Edit imageRotate and flip · Adjust colors · Undo and redo Add an image watermarkText or image watermark · Drag to position · Tile Redact faces and private detailsFace detection · Draw masks · Batch processing Adjust image coloursExposure and color · Histogram · Live preview Image colour pickerClick to pick · HEX / RGB / HSL · Image palette Replace an image colourSample a color · Tolerance and feathering · Live preview Compare imagesSlider and side-by-side views · Pixel differences View and remove image metadataImage details · Privacy check · Remove metadata Find duplicate imagesImport a folder · Exact duplicates · Similar images Create GIF from imagesImages to animation · Frame duration · Reorder frames Extract GIF framesFrame range · Extraction interval · Batch download Edit animated GIFFrame order and timing · Reverse · Crop and resize Compress GIFReduce colors · Skip frames · Resize GIF to sprite sheetFrames to a grid · Sprite coordinates Images to PDFReorder images · Page settings · Combine into PDF Favicon and app icon generatorWeb and app icons · Safe padding · Multiple sizes Image placeholder generatorBlurHash · ThumbHash · Tiny image previews Sprite sheet makerArrange images · Set spacing · CSS and coordinates Remove image background locallyPortrait or general cutout · Refine edges · Replace background Image to text (OCR)Recognize text · Select a region · Export text Document photo scannerAdjust corners · Enhance documents · Multipage PDF Upscale imageLocal AI upscaling · 2× size · Enhance detail ID photo makerPhoto specifications · Composition · Background China passport photoPhoto specifications · Composition · Background China identity card photoPhoto specifications · Composition · Background China teacher qualification exam photoPhoto specifications · Composition · Background China civil service exam photoPhoto specifications · Composition · Background Hubei social security card photoPhoto specifications · Composition · Background U.S. visa photoPhoto specifications · Composition · Background Japan visa photoPhoto specifications · Composition · Background

About this tool

Application photos, email attachments and website images have different size constraints. A target ceiling helps meet an upload limit; the preview and actual dimensions help judge whether detail remains usable.

How to use

Compress image — Online image compressor

Compress JPG, PNG, WebP, and AVIF images in batches with smart optimisation, a target KB limit, or manual quality and dimension controls. WASM encoding runs locally in your browser.

Prepare a photo under 100KB. The shortcut selects JPEG, a 100KB ceiling and no automatic reduction in dimensions. Check actual bytes and whether the target was met, then inspect text and edges at full size. If needed, lower the quality floor or reduce dimensions when the receiving site allows it. Here 1KB means 1024 bytes; for a strict 100,000-byte limit, use a 97KB target.

Smart compression, target KB, or manual quality

Choose Smart, Target size, Custom quality, or High fidelity according to the job. Smart mode suits websites and everyday sharing. Target size searches for the highest quality that stays under your ceiling, which is useful for application forms, email attachments, and publishing systems with strict upload limits.

Batch JPG, PNG, WebP, and AVIF compression

Select several images, a whole folder, or a ZIP archive. Review any file in the queue, process selected files or everything, and export individual results or one ZIP. JPEG uses MozJPEG, PNG uses OxiPNG, and WebP and AVIF use dedicated browser WASM encoders that load only when required.

Get smaller images without avoidable damage

Photographs usually work well as WebP, AVIF, or JPEG; transparent artwork is better suited to WebP or PNG. Start with Smart mode, zoom into fine texture and text, then adjust quality if needed. For a strict KB ceiling, dimension fallback can progressively reduce the long edge after the minimum quality is reached.

Compare, verify, and continue editing

Use the before-and-after slider to inspect edges, gradients, and texture. Every result reports input and output bytes, savings, dimensions, format, quality, and the actual encoding strategy. Download one result, selected results, or a ZIP, then pass images directly to crop, resize, watermark, and other local tools.

Privacy, metadata, and browser limits

Images are decoded and compressed in the current browser and are not uploaded by this tool. Re-encoding removes EXIF and GPS metadata while originals remain unchanged; an original kept byte for byte retains its metadata. Very large images and large batches require substantial memory, so inspect final output before formal submission or publication.

Common questions

Why is a 100 KB target not exactly 100 KB?

The target is a ceiling; the tool does not add useless bytes to fill it. It works within the quality floor and resizing options. If it cannot meet the target, relax the limit, change format or allow smaller dimensions.

Is location metadata always removed by compression?

Re-encoding removes EXIF and GPS, but a compliant original kept byte for byte retains its metadata. Check whether the original was preserved; use the metadata cleaner before sharing if those fields must be removed.

Which format should I use for photos, screenshots and transparent images?

Compare JPEG, WebP or AVIF for photographs, checking destination support. Try PNG first for text screenshots and limited-colour graphics. Keep an alpha-capable format for transparency; if an application requires JPEG, inspect the filled background.

How do I judge whether a size-compliant image is still usable?

Check its actual dimensions and zoom in on small text, identifiers, hair and edges. Meeting the byte limit does not guarantee readability. Raise the quality floor, reduce downscaling or relax the size limit, then compare with the source.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.