File size guides: compress images and minify code
Plain-English guides to making files smaller without losing quality: compressing and resizing photos, WebP, stripping hidden metadata, minifying website code, faster pages and fitting email limits.
New to this? Start here
Three good places to begin, one from each of the main topics.
Images
15 guidesHow to Reduce Image File Size Without Losing Quality
Reduce image file size without losing quality on Windows: when to use lossless or lossy, which settings to pick, and how to shrink whole folders safely.
How to Batch Compress Hundreds of Images at Once on Windows
Batch compress images on Windows: compress a whole folder of JPG, PNG and WebP files in one run, keep the folder structure and back up the originals first.
How to Compress JPEG Files on Windows Without Ruining Them
How to compress JPEG files on Windows: the quality settings that matter, why saving a JPG twice hurts, and how to shrink many photos at once safely.
How to Compress PNG Files Without Losing Quality
Compress PNG files without losing quality: lossless PNG optimization, when to switch to WebP or JPG, and how to shrink a folder of PNG screenshots at once.
How to Compress an Image to a Specific File Size (200 KB, 100 KB, 1 MB)
Compress an image to a specific file size such as 200 KB or 1 MB on Windows: how target size compression works and how to hit a limit for a whole folder.
How to Reduce Photo Size for Email on Windows
How to reduce photo size for email on Windows: attachment limits for Outlook and Gmail, the built-in resize option, and how to shrink a batch of photos.
How to Bulk Resize Images on Windows (and Shrink Them at the Same Time)
Bulk resize images on Windows: set a maximum width or height, keep the aspect ratio, compress as you go, and avoid upscaling small pictures by mistake.
How to Convert PNG to WebP on Windows (One File or a Whole Folder)
How to convert PNG to WebP on Windows: what you gain, how transparency is handled, lossless or lossy WebP, and how to convert a whole folder at once.
How to Reduce GIF File Size on Windows Without Ruining It
Reduce GIF file size on Windows: why GIFs get so big, what compression can and cannot do, and when converting to video or WebP is the better answer.
How to Reduce TIFF File Size Without Losing Detail
Reduce TIFF file size on Windows: lossless compression options, stripping extra data, when to keep TIFF and when a JPG copy is the smarter choice.
How to Compress a PDF File on Windows to Make It Smaller
How to compress PDF file size on Windows: what makes PDFs large, the Print to PDF and Word tricks, and how to shrink PDFs offline without uploading them.
Photos Taking Up Too Much Space on Your PC? How to Shrink Them
Photos taking up too much space on your Windows PC? Find what uses the room, then compress, resize and clean up your library without losing shots.
How to Optimize SVG Files for the Web and Make Them Smaller
How to optimize SVG files for the web: what bloats an SVG exported from a design app, what is safe to remove, and how to minify a folder of icons at once.
How to Remove EXIF Data From Photos on Windows
Remove EXIF data from photos on Windows: the built-in Remove Properties option, its limits, and how to strip camera and location data from a whole folder.
How to Remove Location Data From Photos Before You Share Them
How to remove location from photos on Windows before sharing: check for GPS data, strip it from one photo or a whole folder, and stop your phone adding it.
Page speed
11 guidesHow to Optimize Images for Your Website: Size, Format and Compression
How to optimize images for a website: the right dimensions, format and quality, plus how to process a whole uploads folder before your pages go live.
How to Improve Your PageSpeed Insights Score (Image and Code Fixes)
Improve your PageSpeed Insights score with the fixes that move it most: lighter images, minified code and compressed files, with a step-by-step plan.
Properly Size Images: How to Fix the PageSpeed Warning
How to fix the properly size images warning in PageSpeed and Lighthouse: find the display size, resize the files to match and use srcset for screens.
Efficiently Encode Images: How to Fix the PageSpeed Warning
How to fix the efficiently encode images warning in PageSpeed and Lighthouse: what triggers it, the settings that clear it and how to fix every image.
Serve Images in Next-Gen Formats: How to Fix the PageSpeed Warning
How to fix serve images in next-gen formats: what WebP and AVIF mean, how to convert existing JPG and PNG files and keep a fallback for old browsers.
How to Reduce the Page Size of Your Website (Total Page Weight)
Reduce page size on your website: measure total page weight in your browser, find the heaviest files and cut images, CSS and JavaScript down to size.
How to Compress Your WordPress Uploads Folder Without a Plugin
Compress the WordPress uploads folder without a plugin: download wp-content/uploads, shrink every image offline with backups, then upload it back safely.
How to Optimize Product Images for Your Online Store
Optimize product images for ecommerce: the sizes stores expect, quality settings that keep detail, and how to compress a whole catalog before upload.
How to Optimize Website Files Before Deployment: A Practical Checklist
A checklist to optimize website files before deployment: compress images, minify HTML, CSS, JS and PHP, pre-compress assets and keep a clean rollback copy.
How to Precompress Static Files With GZIP and Brotli
How to precompress static files with GZIP and Brotli: why .gz and .br files help, how to create them for a whole site and how servers deliver them.
How to Compress Photos for a Portfolio Website Without Losing Detail
Compress photos for a portfolio website without losing detail: the export sizes and quality that still impress, color profile tips and a batch workflow.
Code minification
7 guidesHow to Minify HTML, CSS and JavaScript Files on Windows
How to minify HTML, CSS and JavaScript files on Windows: what minification removes, how much it saves and how to minify a whole site folder safely.
How to Minify CSS Files and Clear the Minify CSS Warning
How to minify CSS files on Windows: what is removed, how much you save, how to clear the Minify CSS warning in Lighthouse, and what to keep for editing.
How to Minify JavaScript Files on Windows
Minify JavaScript files on Windows: what is safe to strip, the semicolon and comment pitfalls to avoid, and how to minify a folder of scripts in one run.
How to Minify HTML Files and Templates Safely
How to minify HTML files on Windows: what is removed, which elements must be left alone, typical savings, and how to minify a whole folder of pages safely.
How to Minify PHP Files and When It Is Actually Worth It
How to minify PHP files on Windows: what PHP minification removes, where it helps and where it does not, and how to minify a project folder with a backup.
How to Minify JSON Files on Windows (and When to Pretty-Print Instead)
How to minify JSON files on Windows: remove whitespace safely, compare minified and pretty JSON, and minify a folder of config or data files in one pass.
How to Remove Comments From Code Files in Bulk
Remove comments from code files in bulk: why you might strip comments from HTML, CSS, JS and PHP before release, what to keep, and how to do it safely.
Troubleshooting
6 guidesCompressed Images Look Blurry or Blocky? Causes and Fixes
Compressed images look blurry, blocky or banded? Find out which setting caused it, how to fix it from the originals and the settings that avoid it.
Why Is My PNG File So Large? How to Make It Smaller
Why is my PNG file so large? The usual causes, from photos saved as PNG to huge dimensions and hidden metadata, and the quickest fix for each one.
Images Loading Slowly on Your Website? How to Find and Fix the Cause
Images loading slowly on your website? Find the cause in your browser tools, then fix oversized files, wrong formats, missing caching and lazy loading.
Minified JavaScript Not Working? How to Find and Fix the Problem
Minified JavaScript not working? Common causes such as missing semicolons and cached files, how to find the broken file and how to roll back.
JPEG File Got Bigger After Compression? Why It Happens and What to Do
JPEG file bigger after compression? Learn why re-saving a JPG at high quality can grow it, why PNG exports balloon, and how to make sure files only shrink.
Image File Size Too Large to Upload? How to Make It Fit
Image file size too large to upload to a form, portal or website? Check the limit, then resize or compress the photo to fit without making it unreadable.
Reference
6 guidesLossless vs Lossy Compression: What Is the Difference and Which to Use
Lossless vs lossy compression explained in plain terms: how each works, typical savings by format, and which one to use for photos, graphics and archives.
The Best JPEG Quality Setting for Web, Email and Print
The best JPEG quality setting for web, email and print, with a reference table of quality levels, typical file sizes and when to go higher or lower.
JPG vs PNG vs WebP: Which Image Format Should You Use?
JPG vs PNG vs WebP compared: compression, transparency, quality and support, with a quick table showing which format to use for photos, graphics and logos.
Best Image Size for a Website: Pixel Dimensions and File Size Guide
The best image size for a website: reference tables for hero, blog, product and thumbnail images in pixels and kilobytes, plus how to apply them in bulk.
GZIP vs Brotli: Which Web Compression Should You Use?
GZIP vs Brotli compared: compression ratio, speed, browser support and server setup, plus when precompressed .gz and .br files make the most sense.
What Is Minification? A Plain-English Guide for Web Files
What is minification? A plain guide to what it removes from HTML, CSS and JavaScript, how it differs from compression, and when it is worth doing.
Buying guide
3 guidesBest Image Compressor for Windows: What to Look For Before You Choose
Choosing the best image compressor for Windows: the features that matter, the types of tool available and the questions to ask before you pick one.
Offline Image Compressor: Shrink Images Without Uploading Them
Why use an offline image compressor on Windows: privacy, no upload limits, whole folders at once, and what to check before choosing a desktop tool.
Code Minifier for Windows: Minify HTML, CSS, JS and PHP Without a Build Tool
Looking for a code minifier for Windows? Compare build tools, editor plugins, online minifiers and desktop apps, and see which fits how you work.
No guides match that search. Try a different word.
