Skip to content
New: Go-to-market lead lists, 5X cheaper with 10X more data than other tools
File Converter Guides

Compress Image WordPress: Right Sizes, WebP and Plugin-Free Steps Before Upload

Compress image WordPress uploads the smart way: the right pixel sizes, 100-300 KB targets, WebP, the 2560 px scaled rule and when a plugin is worth it.

Compress image WordPress: LeadCanal guide cover
On this page
  1. How does WordPress handle image sizes?
  2. What size should images be before uploading to WordPress?
  3. How to compress image WordPress files before upload, step by step
  4. Should you convert images to WebP for WordPress?
  5. Pre-compressing versus a WordPress image plugin
  6. A worked example from our team
  7. Troubleshooting WordPress image uploads
  8. Frequently asked questions
  9. Conclusion: key takeaways
  10. Editorial policy
  11. Content transparency
  12. About the author

The simplest way to compress image WordPress uploads is to fix them before they reach the Media Library: resize each photo to the largest width your theme actually shows (usually 1200 to 2000 pixels), then compress it to roughly 100 to 300 KB as JPG or WebP. Our free in-browser image compressor does both size targets and WebP output without uploading anything. WordPress then builds its smaller copies from a lean original, and you may not need an optimisation plugin at all.

Quick answer: WordPress does some compression for you, but it cannot shrink a 5 MB phone photo into a fast page on its own.

  • Resize first: 1920 to 2560 px wide for full-width heroes, 1200 to 1600 px for images inside posts.
  • Compress next: aim for 100 to 200 KB for post images and under about 300 KB for heroes.
  • Format: WebP is smaller than JPG at similar quality and WordPress accepts it.
  • Fastest tool: the LeadCanal image size reducer with a KB target and WebP output, all in your browser.
  • Plugins: useful for an existing library, optional for new uploads you prepare yourself.

Free LeadCanal tools for this guide

Do it yourself in your browser in a few seconds, no signup needed.

Image Compressor →Image Resizer →Image Converter →

How does WordPress handle image sizes?

When you upload an image, WordPress keeps your file and generates several resized copies so themes can serve a smaller one where it fits. We manage WordPress sites for our own tools and client landing pages, and this is the part most people never see:

  • Default sizes: thumbnail (150 x 150, cropped), medium (up to 300 px), medium_large (768 px wide) and large (up to 1024 px). You can change the first three under Settings, then Media, as the Learn WordPress media settings tutorial shows.
  • Extra sizes: since WordPress 5.3, core also makes 1536 px and 2048 px versions, and themes and plugins often add their own.
  • Big image threshold: anything larger than 2560 pixels is scaled down to a copy with “-scaled” in its name, which becomes the main image. The big_image_size_threshold reference documents this.
  • Built-in compression: generated copies are saved at a JPEG quality of 82 by default, a change explained in the WordPress 4.5 image performance post.
  • Responsive images: WordPress adds srcset so browsers pick a fitting size.

The catch: your original upload is stored as you sent it, and every resized copy is made from it. A heavy original means a heavy library, slower backups and, on many themes, a heavy full-size image on the page.

What size should images be before uploading to WordPress?

Image type Width to upload Target file size Format
Full-width hero or banner 1920 to 2560 px under about 300 KB WebP or JPG
Image inside a post 1200 to 1600 px 100 to 200 KB WebP or JPG
Featured image (social share) 1200 x 630 px is common 100 to 200 KB JPG or WebP
Logo or icon 2x its display size under 50 KB SVG (via plugin) or PNG
Screenshot with text 1200 to 1600 px 100 to 250 KB PNG or WebP
Product photo 1000 to 2000 px square 100 to 250 KB WebP or JPG

Check your theme’s content width first. If posts display at 800 px, a 1600 px upload covers high-density screens. Anything wider only adds weight.

How to compress image WordPress files before upload, step by step

  1. Open the image resizer and set the width from the table, for example 1600 px, with aspect ratio locked. Resize a whole folder at once if you need to.
  2. Open the LeadCanal compressor and add the resized JPG, PNG or WebP files.
  3. Pick a target size such as 200 KB, or a quality level if you prefer to judge by eye.
  4. Choose WebP for the smallest files, or JPG if a plugin or service you use needs it.
  5. Download the files one by one or as a ZIP.
  6. Rename them with descriptive words, for example blue-office-chair.webp, before uploading.
  7. Upload to Media, add alt text, and insert the image at the size your layout needs.

Both tools run in your browser, so images are never uploaded to our servers. That matters for unreleased product shots, client photos and screenshots that show dashboards or customer data.

Should you convert images to WebP for WordPress?

Usually yes. WebP files are typically noticeably smaller than JPGs at similar visual quality, and WordPress has accepted WebP uploads since version 5.8. Your server’s image library must support WebP to create the resized copies, which most current hosts do. Our image converter turns JPG, PNG, HEIC, AVIF and other formats into WebP in bulk.

Keep PNG for images that need sharp text or transparency where WebP is not an option, and keep a JPG copy if you use email newsletters or tools that do not show WebP. Our comparison of PNG and WebP covers the trade-offs in detail.

Pre-compressing versus a WordPress image plugin

Approach Cost Files leave your device Works on old uploads Best for
Resize and compress before upload (LeadCanal tools) Free No No New posts, small sites, lean libraries
Built-in WordPress handling only Free No Only new sizes Sites with few images
Optimisation plugin (cloud based) Free tier, then paid Yes, to the plugin’s service Yes, bulk optimise Large existing libraries
Optimisation plugin (local processing) Free or paid No Yes Hosts with strong servers
Image CDN Usually paid Yes Yes High-traffic sites

Our view after running several WordPress sites: prepare new images yourself and use a plugin only to clean up an old library. Fewer plugins mean fewer updates, fewer conflicts and no monthly image quotas. If you do install one, pick a single optimiser and avoid stacking two that both recompress.

Can I stop WordPress compressing my images?

Developers can raise the quality WordPress uses for resized copies with the wp_editor_set_quality filter, or change the 2560 px threshold with big_image_size_threshold. Most sites do not need to: if the original is already well compressed, the default quality of 82 on the smaller copies is a sensible balance.

A worked example from our team

For a landing page we received a hero photo straight from a phone: 4032 x 3024 pixels and several megabytes. WordPress would have made a “-scaled” 2560 px copy and kept the giant original. Instead we resized it to 2000 px wide in the photo resizer, then set a 250 KB target with WebP output in the browser-based compressor. The uploaded file needed no scaling, every generated size came from a clean source, and the page looked the same at a fraction of the weight.

Troubleshooting WordPress image uploads

Problem Likely cause Fix
File name ends in “-scaled” Upload was wider or taller than 2560 px Resize below 2560 px before upload
“Exceeds the maximum upload size” Server upload limit Compress the file or ask your host to raise the limit
WebP uploads but no thumbnails appear Server image library lacks WebP support Ask your host, or upload JPG
Images look blurry on the page Upload narrower than the display width Upload at about twice the content width
HEIC from iPhone will not upload Format not supported everywhere Convert to JPG or WebP first
Page still slow after compressing Theme loads full-size images Insert the large size instead of full

For a batch of product photos, our guide to resizing images in bulk shows how to process a whole folder, and our guide to resizing without losing quality explains how far you can shrink before detail suffers.

Frequently asked questions

How do I compress images in WordPress without a plugin?

Resize and compress them before uploading with a browser tool or desktop editor. WordPress then generates its own sizes at quality 82, so no plugin is needed for new uploads.

Does WordPress compress images automatically?

Partly. It compresses the resized copies it generates and scales images over 2560 px, but it keeps your original upload as it is.

What is the best image size to compress image WordPress pages load fast with?

Upload at the largest width your theme shows, often 1200 to 1600 px for posts and up to 2560 px for full-width heroes, at about 100 to 300 KB.

What file size should WordPress images be?

Under 200 KB for most images inside posts and under about 300 KB for large hero images. Small icons and logos should be far smaller.

Is WebP better than JPG for WordPress?

For most photos, yes: WebP is usually smaller at similar quality, and WordPress accepts it from version 5.8 on. Keep JPG copies for places that cannot show WebP.

Why does WordPress add “-scaled” to my image?

The image was larger than the 2560 px big image threshold, so WordPress made a smaller copy and uses that as the main file.

Which is better for compress image WordPress jobs, plugin or manual?

Manual preparation is free and keeps files private. A plugin helps when you already have hundreds of heavy images to fix in bulk.

Do I need to compress PNG screenshots too?

Yes. Screenshots saved as PNG can be very large. Convert them to WebP or compress them, keeping enough quality for the text to stay crisp.

Conclusion: key takeaways

WordPress handles the resized copies, but the original is your job. When you compress image WordPress uploads before they reach the Media Library, every page that uses them gets lighter.

  • WordPress keeps your original and builds smaller copies from it.
  • Uploads over 2560 px get a “-scaled” copy; resize below that first.
  • Upload 1200 to 1600 px for post images, up to 2560 px for heroes.
  • Aim for 100 to 300 KB per image, and use WebP where you can.
  • Prepare new images yourself; keep plugins for fixing an old library.
  • Browser tools compress images without uploading them anywhere.

Find more no-upload converters in our free tools hub.

Key takeaways

Compress images for WordPress

1 WordPress keeps your original and builds smaller copies from it.
2 Uploads over 2560 px get a "-scaled" copy; resize below that first.
3 Upload 1200 to 1600 px for post images, up to 2560 px for heroes.
4 Aim for 100 to 300 KB per image, and use WebP where you can.
5 Prepare new images yourself; keep plugins for fixing an old library.
6 Browser tools compress images without uploading them anywhere.

Editorial policy

LeadCanal publishes practical guides for people who handle files and data every day. We write from hands-on use of the tools we build and the software we describe, check facts against official documentation, and update articles when WordPress or other platforms change. We do not accept payment for mentions.

Content transparency

This article was researched with keyword data and checked against WordPress developer documentation, the Learn WordPress media settings tutorial and WordPress core announcements. File size targets are our working guidelines, not WordPress rules. LeadCanal offers the free tools mentioned here.

About the author

This guide was written by the LeadCanal team. We build verified B2B contact lists, run cold email infrastructure and maintain the WordPress sites behind our own tools. We built our browser-based converters to make file work faster and more private.

Found this useful? Share it with your team.

Written by LeadCanal

The LeadCanal team builds verified B2B lists and runs cold email infrastructure for agencies and sales teams. Every guide comes from campaigns we send every day.

Done-for-you lead generation

Want this done for you?

Targeted lists and cold email campaigns that book qualified meetings.