File Trimmer
Windows 10 & 11 Buy license · $29.95
Guides & how-tos

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.

Topics

New to this? Start here

Three good places to begin, one from each of the main topics.

  1. How to Reduce Image File Size Without Losing Quality5 min read
  2. How to Optimize Images for Your Website: Size, Format and Compression5 min read
  3. How to Minify HTML, CSS and JavaScript Files on Windows5 min read

Images

15 guides

How 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.

5 min readRead guide →

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.

5 min readRead guide →

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.

4 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

Page speed

11 guides

How 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.

5 min readRead guide →

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.

5 min readRead guide →

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.

4 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

4 min readRead guide →

Code minification

7 guides

How 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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

5 min readRead guide →

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.

4 min readRead guide →

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.

5 min readRead guide →

Troubleshooting

6 guides

Reference

6 guides

Buying guide

3 guides

No guides match that search. Try a different word.