[{"data":1,"prerenderedAt":165},["ShallowReactive",2],{"tool-content-en-image-compressor":3},{"id":4,"title":5,"body":6,"description":155,"extension":156,"locale":157,"meta":158,"navigation":159,"path":160,"seo":161,"stem":162,"toolId":163,"__hash__":164},"tools\u002Ftools\u002Fen\u002Fimage-compressor.md","Image Compressor - Shrink JPEG, PNG, WebP",{"type":7,"value":8,"toc":135},"minimark",[9,14,18,22,38,42,45,49,67,71,74,78,81,85,88,92,97,100,104,107,111,114,118,121,125,128,132],[10,11,13],"h2",{"id":12},"what-does-this-image-compressor-do","What does this image compressor do?",[15,16,17],"p",{},"This tool shrinks images directly in your browser. Add up to 100 pictures at once, adjust the quality slider, optionally limit the longest side to scale large photos down, and compress them in one click. Each row shows the original size, the compressed size, and the percentage saved so you can verify the result before downloading. Finished files can be saved individually or packed into a single ZIP archive.",[10,19,21],{"id":20},"supported-formats","Supported formats",[23,24,25,29,32,35],"ul",{},[26,27,28],"li",{},"JPEG: quality-based compression, ideal for photos.",[26,30,31],{},"PNG: lossless output that keeps transparency; shrinking comes mainly from resizing.",[26,33,34],{},"WebP: modern format that usually produces the smallest photos at the same visual quality.",[26,36,37],{},"GIF, BMP, AVIF: accepted as input; when keeping the original format is not encodable by the browser canvas, the result falls back to PNG.",[10,39,41],{"id":40},"converting-between-formats","Converting between formats",[15,43,44],{},"The same queue doubles as an image converter. Choose JPEG, WebP, or PNG as the\noutput format and every image is re-encoded, even when the file does not get\nsmaller. That covers the common cases: PNG to JPG for photos, WebP to PNG when a\ntool rejects modern formats, or JPG to WebP to cut size at the same visual\nquality. Conversion and compression happen in the same pass, so you get the\nformat you need and the size reduction together.",[10,46,48],{"id":47},"how-to-use-it","How to use it",[50,51,52,55,58,61,64],"ol",{},[26,53,54],{},"Drop images onto the upload area or click to browse.",[26,56,57],{},"Pick an output format: keep the original or convert everything to JPEG, WebP, or PNG.",[26,59,60],{},"Adjust the quality slider (1-100) and optionally set a maximum dimension in pixels.",[26,62,63],{},"Press \"Compress all\" and wait for each progress bar to finish.",[26,65,66],{},"Download files one by one or grab them all as a ZIP.",[10,68,70],{"id":69},"quality-vs-file-size","Quality vs. file size",[15,72,73],{},"Quality controls how aggressively JPEG and WebP data is discarded. Values between 70 and 85 usually cut file size by half or more while staying visually indistinguishable from the source. Very low values cause visible blockiness around sharp edges, while values above 90 often add megabytes for little perceptible gain. PNG ignores the quality slider because it is a lossless format; converting photos from PNG to WebP is usually the biggest single win.",[10,75,77],{"id":76},"why-resize-large-images","Why resize large images?",[15,79,80],{},"Screens rarely need more than 2000 pixels on the long side. A 6000-pixel camera photo scaled to 1920 pixels can lose most of its weight before quality compression even starts. Setting a maximum dimension resizes proportionally and never enlarges smaller images.",[10,82,84],{"id":83},"privacy-and-security","Privacy and security",[15,86,87],{},"Every image is decoded, compressed, and encoded locally inside your browser tab using the Canvas API and Web Workers. Nothing is uploaded to any server, no URL parameters are written, and nothing is stored after you close the page. Object URLs for previews are revoked when you remove files or leave the page.",[10,89,91],{"id":90},"faq","FAQ",[93,94,96],"h3",{"id":95},"will-compression-reduce-my-image-dimensions","Will compression reduce my image dimensions?",[15,98,99],{},"Only if you set a maximum dimension. Without resizing, the pixel width and height of the output stay identical to the input; only the encoding changes.",[93,101,103],{"id":102},"does-converting-png-to-jpeg-lose-transparency","Does converting PNG to JPEG lose transparency?",[15,105,106],{},"Yes. JPEG has no alpha channel, so transparent areas become solid. Keep PNG output or choose WebP when transparency matters.",[93,108,110],{"id":109},"can-i-compress-animated-gifs","Can I compress animated GIFs?",[15,112,113],{},"Animated GIFs are accepted as input, but the browser canvas only re-encodes static frames, so animation is lost. Use dedicated software when animation must be preserved.",[93,115,117],{"id":116},"why-is-the-compressed-file-sometimes-larger","Why is the compressed file sometimes larger?",[15,119,120],{},"Compressing an already well-optimized image, or converting a small PNG to PNG again, can produce marginal growth. The tool highlights such results with a negative savings badge so you can keep the original instead.",[93,122,124],{"id":123},"can-i-use-it-just-to-convert-the-format","Can I use it just to convert the format?",[15,126,127],{},"Yes. Pick the target format and set the quality high; the tool re-encodes every image whether or not the result is smaller, so it works as a plain image converter too.",[93,129,131],{"id":130},"is-there-a-file-size-limit","Is there a file size limit?",[15,133,134],{},"The practical limit is your device memory because processing happens locally. Typical phone photos of several megabytes compress without issues, and heavy work runs in a Web Worker to keep the page responsive.",{"title":136,"searchDepth":137,"depth":137,"links":138},"",2,[139,140,141,142,143,144,145,146],{"id":12,"depth":137,"text":13},{"id":20,"depth":137,"text":21},{"id":40,"depth":137,"text":41},{"id":47,"depth":137,"text":48},{"id":69,"depth":137,"text":70},{"id":76,"depth":137,"text":77},{"id":83,"depth":137,"text":84},{"id":90,"depth":137,"text":91,"children":147},[148,150,151,152,153,154],{"id":95,"depth":149,"text":96},3,{"id":102,"depth":149,"text":103},{"id":109,"depth":149,"text":110},{"id":116,"depth":149,"text":117},{"id":123,"depth":149,"text":124},{"id":130,"depth":149,"text":131},"Free online batch image compressor for JPEG, PNG, WebP, GIF, BMP, and AVIF with quality control, resizing, and format conversion. Runs entirely in your browser.","md","en",{},true,"\u002Ftools\u002Fen\u002Fimage-compressor",{"title":5,"description":155},"tools\u002Fen\u002Fimage-compressor","image-compressor","qWpMlkAP-pmoBiuubUbTyn-cyPytbni8fqZeEWKkXLo",1792391418159]