Compress Stable Diffusion images

Compress a single JPG/JPEG, PNG, or WEBP image generated by Stable Diffusion to your desired file size.

Privacy note: your image is processed in your browser and is not uploaded to our backend.

Upload your image, set your target size in KB, and compress it instantly. Choose your file:




Your image will be compressed as close to your chosen size as possible while keeping the best quality achievable at that size.

What is a Stable Diffusion Image Compressor?

A Stable Diffusion image compressor shrinks images generated by Stable Diffusion models, including SD 1.5, SDXL, and SD 3, down to a specific file size of your choice. Stable Diffusion outputs images in PNG format by default, and with high-resolution workflows like hires fix or img2img upscaling, a single image can range from 2MB to over 15MB. These sizes are impractical for sharing online, posting to galleries, or using in web projects. This compressor lets you type in a target size in KB and automatically reduces the file to match, adjusting quality and resolution as needed while preserving the artistic style and details of your generation.

Why You Might Need to Compress Stable Diffusion Images

Stable Diffusion users often generate images at high resolution using extensions like hires fix, ControlNet, and upscalers, producing detailed outputs that can be very large. Whether you run Stable Diffusion locally through Automatic1111, ComfyUI, or Forge, or use a cloud service, the output files are optimised for quality rather than file size. Art-sharing platforms like DeviantArt, ArtStation, and Civitai impose upload limits, social media re-compresses large uploads unpredictably, and storing thousands of generated images at full size consumes significant disk space. Compressing to a specific target size before uploading or archiving lets you manage the quality-size tradeoff yourself.

Use Cases for Stable Diffusion Image Compression

This tool is useful for uploading Stable Diffusion artwork to AI art galleries and community sites, sharing generations on social media with predictable quality, preparing SD images for use in web design and blog content, reducing file sizes for large generation batches before archiving, and optimising SD outputs for use in game assets, presentations, and print materials. Because the target size is adjustable, the same tool works whether you need 100KB for a web thumbnail, 300KB for a gallery upload, or 800KB for a high-quality portfolio image, without needing a separate page for each one.


Our other free Image Tools



Free Image Format Conversion Tools