For WordPress
Compress an Image for WordPress
Get your image under your host's upload ceiling — and small enough to keep page speed high. No plugin required.
Drag & drop image here
or
Your image never leaves your device.
Supports JPG, PNG, and WebP
- Runs in your browser
- Guaranteed under your limit
- No account needed
The "file exceeds the maximum upload size" error in WordPress isn't set by WordPress. It comes from PHP settings on your host — usually the values of upload_max_filesize and post_max_size. Hosts pick different defaults, so a file that failed on one site can succeed on another.
The tool is preset to 500 KB, which is a practical target for hero and content images that balances visual quality with page-load speed. If your specific goal is just to get under a host limit, set the target to that number instead.
You can find your exact limit in the WordPress admin under Media → Add New, which displays the current maximum upload size. Compression here runs entirely in your browser.
Target spec
- Suggested target for hero images
- 500 KB
- Actual host limit
- Shown in WordPress under Media › Add New
- Set by
- PHP (upload_max_filesize, post_max_size)
- Never goes over
- Result is always strictly under your target
- Where it runs
- Entirely in your browser — no plugin, no upload
How it works
- 1
Add your image
Drop in a JPG, PNG, or WebP. Your browser reads the file directly — nothing is uploaded.
- 2
We lock the target
The tool starts pre-filled with the size this page is built for. You can still change it if your form needs something different.
- 3
We find the best quality that fits
The compressor re-encodes and measures until it lands just under your target. If quality alone isn't enough, it lowers dimensions as a last resort.