Optimize Your Website Images with TinyPNG
TinyPNG uses intelligent lossy compression technology to reduce the file size of your PNG and JPG images. By selectively reducing the number of colors in the image, it requires fewer bytes to store the data. The effect is almost invisible, but it makes a huge difference in file size! In simple terms, it helps you compress images without affecting the browsing experience, reducing page size and indirectly improving website loading speed.
TinyPNG offers multiple ways to process images, including online tools, plugins, and APIs, making it suitable for both beginners and professional developers.
Online Processing
Visit the TinyPNG official website to upload local images. After processing, click "download" to save the compressed file. As shown in the example below, uploading a random image resulted in a 70% compression rate, effectively reducing the image volume.\n

Using WordPress Plugin
If you are using WordPress, you can install the official "Compress JPEG & PNG images" plugin to automatically process images. Search for the keyword "Compress JPEG" in the WordPress admin panel to install it. If you cannot install it online, visit the download link to download the tiny-compress-images.2.2.6.zip file, extract it to /wp-content/plugins, and enable the plugin in the backend.

In the WordPress admin panel, go to Settings > Media and configure the TinyPNG API. If you haven't registered for TinyPNG yet, simply enter your email to register (note: QQ email addresses are not supported). Keep other settings at their defaults.

Log in to your email to activate your account, as shown in the screenshot below.

After activation, you can upload images for testing. You will be able to see the compression ratio, and the effect is very obvious.

Summary
The TinyPNG free API is limited to 500 compressions per month, making it suitable for personal sites. If you upload a large number of images, you will need to purchase additional credits. If you are a developer, you can integrate the TinyPNG API into your own applications for convenience.
Further Reading: