A freemium, easy to use, comprehensive, stable and frequently updated image compression plugin supported by the friendly team that created it. ?
Increase your website’s SEO ranking, number of visitors and ultimately your sales by optimising any image or PDF document on your website.
ShortPixel is an easy to use, lightweight, install-and-forget-about-it image optimization plugin that can compress all your past images and PDF documents with a single click. New images are automatically resized/rescaled and optimized on the fly, in the background. It’s also compatible with any gallery, slider or ecommerce plugin.
Short Pixel uses minimal resources and works well with any shared, cloud, VPS or dedicated web hosting. It can optimize any image you have on your website even the images that aren’t listed in Media Library like those in galleries like NextGEN, Modula or added directly via FTP!
Both lossy and lossless image compression are available for the most common image types (JPG, PNG, GIF and WebP) plus PDF files.
We also offer glossy JPEG compression which is a very high quality lossy optimization algorithm. Specially designed for photographers!
Optimized images mean better user experience, better PageSpeed Insights or GTmetrix results, better Google PageRank and more visitors.
Why is ShortPixel the best choice when it comes to image optimization or PDF compression?
<picture>tag instead of
How much does it cost?
ShortPixel comes with 100 free credits/month and additional credits can be bought for as little as $4.99 for 5,000 image credits.
Check out our prices.
????? A Super Plugin works very well 62% reduction overall. robertvarns
????? The secret sauce for a WordPress website. mark1mark
????? A must have plugin, great support! ElColo13
????? Excellent Plugin! Even Better Customer Service! scaliendo
????? Great image compression, solid plugin, equally great support. matters1959
Help us spread the word by recommending ShortPixel to your friends and collect 100 lifetime monthly additional image credits for each referred active user. Make money by promoting a great plugin with our 50/50 affiliate program.
Other plugins by ShortPixel
Get in touch!
The ShortPixel Image Optimiser plugin calls the following actions and filters:
do_action( 'shortpixel_image_optimised', $post_id );
upon successful optimization;
before restoring an image from backup;
after succesful restore;
apply_filters("shortpixel_backup_folder", $backup_folder, $main_file_path, $sizes);
just before returning the ShortPixel backup folder, usually /wp-content/uploads/ShortpixelBackups. The
$sizes are the sizes array from metadata;
apply_filters('shortpixel_image_exists', file_exists($path), $path, $post_id);
post ID is not always set, only if it’s an image from Media Library;
apply_filters('shortpixel_image_urls', $URLs, $post_id);
filters the URLs that will be sent to optimisation,
$URLs is a plain array;
$chunk is the value ShortPixel chooses to use as number of selected records in one query (based on total table size), some hosts work better with a different value;
In order to define custom thumbnails to be picked up by the optimization you have two options, both comma separated defines:
will handle custom thumbnails like image-100x100_tl.jpg;
will handle custom thumbnails like image-uae-100×100.jpg;
will tell the plugin to create double extensions for the WebP image counterparts, for example image.jpg.webp for image.jpg;
don’t use flock queue, only activate this when you have
flock() denied errors on your installation;
adds timestamps to URLS, to prevent hitting the cache. Useful for persistent caches.
Hide the Cloudflare settings by defining these constants in wp-config.php:
define('SHORTPIXEL_CFTOKEN', 'the Cloudflare API token that has Purge Cache right'); define('SHORTPIXEL_CFZONE', 'The Zone ID from the domain settings in Cloudflare');
Let’s get ShortPixel plugin running on your WordPress website:
ShortPixel consistently has better compression rates along with more features, backup support and has very affordable one-time or monthly plans.
Here are a couple of independent reviews:
AuthorityHacker – “ShortPixel is our tool of choice, simply because it’s pretty much automated – we just let it do its thing.” (read full review)
WP Modula – “One of the reasons I’m personally a huge fan of ShortPixel is the built-in support for next-gen image formats like WebP.” (read full review)
Yes, you can.
As long as you have available credits, you can use a single API Key on as many websites as you wish!
Everyone has different needs, but generally, we recommend getting a One-Time plan to optimize your whole Media Library and then get a Monthly plan to optimize your future uploads. To learn more, have a look at this comparison
To know how many thumbnails you have, just install the plugin and go to Media > Bulk ShortPixel. The plugin will tell you how many thumbnails you’ve got. Based on this, have a look at our plans
Of course. You can upgrade or downgrade your plans in a couple of clicks from your account on shortpixel.com.
Yes, you can.
We offer 100 free image optimization credits each month. Exceeding the monthly free quota will pause the optimization process till the quota is reset or extended by buying one of our plans.
You can actually optimize any image you have on your site regardless of its place. You just need to add – in the Advanced section of the ShortPixel Settings – the folders where the images you want to optimize are located and ShortPixel will work its magic and do the rest.
You can optimize all your past/current images and photos using our “Bulk ShortPixel” page in your Media with a single click.
Yes, that is correct.
But please note that usually an image in Media Library has 3, 5 or more associated thumbs. Each optimized thumb requires a credit. In the rare cases when ShortPixel does not optimise the image (lossy) with at least 5%, the credit will not be consumed, though.
If you choose the “Image backup” option in Settings/ShortPixel then the original version of any optimized image or PDF will be saved in the backup folder.
The original image is needed if you want to restore an image or if you want to convert an image from lossy/glossy to lossless or viceversa.
ShortPixel optimises JPEG (JPG, JPEG, JPEG 2000, JPEG XR), PNG, GIF (animated and still) and PDF type of files.
Yes we do.
The credits that come with our one-time plans never expire. Yummy! ?
Your existing images are replaced with the optimized ones.
If you choose the backup option then the originals will be saved in a separate folder so you can restore them should you ever need/want to do that.
Our light-weight plugin sends the original images to our Image Optimization Cloud where they are compressed. ShortPixel then downloads the optimized images and the unoptimized originals are replaced with the optimised versions.
Yes, all the images processsed by ShortPixel are optimized in the Cloud. This takes the load off of your server and allows us to produce the best results.
We accept payments via card (Mastercard, Visa, Maestro, American Express, Discover, Diners Club, JCB, UnionPay), PayPal and Apple Pay.
You have to activate the plugin in the network admin and then activate it manually on each individual site in the multisite. Once you have done that, the Settings menu appears and you can add the API key for each individual site.
As an alternative, you can edit wp-config.php and add this line:
APIKEY is the API Key received upon sign up.
If configured that way, the API key will be used for all the sites of the multisite but will only be visible on the main site’s Settings page, being hidden for the rest of the sites.
There is a simple way to hide the API key, all you need to do is to add these two lines in your wp-config.php:
define('SHORTPIXEL_API_KEY', '<<your api key here>>'); define('SHORTPIXEL_HIDE_API_KEY', true);
A credit is used each time ShortPixel optimizes an image or thumbnail by at least 5%. If we’re not able to optimize an image or thumbnail by at least 5% then no credit will be used ?
Please also note that usually images in your Media Library have 3-5 thumbs associated and a credit will be used for each featured image or associated thumbnail that is optimized.
Because ShortPixel algorithms were perfected while optimizing over 2 billion real-life images.
ShortPixel not only offers the best compression for JPEG, PNG, GIF and PDF files but it also saves you a lot of time. You just install it on your site and then ShortPixel will take care that all the images on your site are immediately optimized after upload.
No, ShortPixel only optimizes images, it won’t touch anything else like your HTML/CSS.
Once optimized, the images will remain optimized unless you explicitly choose to restore them. But why would you do that? ?
We have both options available.
One-time credits never expire are a bit more expensive. Check out our prices here
Whenever you want.
The credits you still have available for the current billing period will still be available until the end of the billing period. At the end of it, you won’t be billed again and the plan will be reset to the free plan.
Monthly credits expire after 30 days while one-time credits never expire.
Yes, we have several APIs and tools.
You can learn more about it here:
If you choose the option to resize images on your site, then the featured image can be resized to a predefined size while keeping its aspect and proportions intact. The associated thumbs won’t be resized.
Using this option you can safely upload original images safely without needing to apply any pre-processing to make them smaller.
Absolutely! Sometimes you’ll need to make sure you whitelist some IPs, just contact us and we’ll assist you with that.
The ShortPixel team is here to help. Contact us!
Speed up your website & boost your SEO by compressing old & new images and PDFs. WebP convert and optimize support.View Cart
Cookiebot is a cloud-driven solution that automatically controls cookies an...
This plugin inserts social share links at the top or bottom of each post.
Search & Replace data in your database with WordPress admin, replace do...
YITH WooCommerce Catalog Mode, a plugin for disabling sales in your e-comme...