Use an image compressor API for better and faster website load time

An Developer API is a quick solution to compress a lot of images on your website in no time. Instead of manually uploading all your photos within an online compression tool, an API can do it all at once. It saves you a lot of time and besides, compressed images make your page speed way faster. It has a positive influence on how long users will stay on your webpage. But what is an API and how can you compress images with it?

Customer story: Tinify’s API helps Adpiler simplify ad approvals for creative agencies

Adpiler is a solution dedicated to streamlining ad approval processes for creative agencies. It allows them to receive feedback and manage approvals in one tool, eliminating the need for multiple email versions and cumbersome zip attachments. To further provide a seamless experience for their clients, Adpiler integrated Tinify’s image compression API to enable them to download and preview HTML5 ads already compressed, contributing to faster loading times.

Key results:

  • Importance of image compression for ads: Smaller ads load faster, contributing to better performance and user experience. Additionally, ad networks like Google impose file limitations, making optimization crucial.
  • Savings and performance improvements: With Tinify’s API seamlessly integrated, Adpiler improved performance and load times for optimized banners.
  • User-friendly integration with Tinify’s API: Adpiler highlighted the ease of integration, reliability, and the advantage of not having to worry about the complexities of image optimization.

Background: Users asked for Tinify’s image compression integration

Adpiler’s founder Jorrit Baerends explains that Tinify was already on their radar, thanks to some customers who were already compressing approved ads. Ultimately, it was these customers who advocated for the integration:

“They requested that we integrate Tinify into our platform to avoid the hassle of going through separate optimization steps. It made perfect sense to us, so we made it happen. Now, our users can upload their HTML5 ads to Adpiler, and during the process, they have the option to optimize the PNG and JPEG files. It’s not mandatory, but it’s a convenient feature that saves them time and ensures their ads are optimized.”

Jorrit Baerends, Founder of Adpiler

One of the main advantages of image optimization for ads is the improvement in load times. The smaller the ad file size, the faster it will load, benefiting both performance and user experience. Additionally, ad networks like Google have file size limitations, such as a maximum of 150 KB. By optimizing images, advertisers can ensure their ads meet these limitations and avoid any issues. 

Using Tinify’s API: Easy integration to complement Adpiler’s solution

Adpiler has been on Tinify’s API corporate plan since 2020, a tailored subscription with a fixed price for companies that compress on average thousands of images per month. Jorrit highlighted the simplicity of the integration process, the reliability of the API, and the advantage of not having to worry about the complexities of image optimization, which isn’t their primary business focus:

“The best part is that we don’t have to bother about it. We simply send an API request, receive the optimized images back, and know that they are compressed while maintaining their quality. This is fantastic because otherwise, we would have to develop our own solution, which isn’t our core business but certainly benefits our customers.”

Jorrit Baerends, Founder of Adpiler

In the future, Adpiler will integrate Tinify into their social ad mockup generator, optimizing images for ads on Facebook, Instagram, and other social networks. Jorrit concluded that with “a quick and easy integration”, Adpiler efficiently compresses customers’ ads, adding value to their solution and making it the go-to choice for digital agencies seeking to save time in ad approvals.


To enhance user experience, Adpiler seamlessly integrated Tinify’s image compression API. This integration enables creative agencies to effortlessly manage and download ads already compressed. By reducing image sizes, ads load faster, solving advertisers’ worries about file size optimization from the get-go.

Are you concerned about meeting ad size requirements? Give Tinify’s API a try and take advantage of our offer of 500 free monthly compressions.

Customer story: Tinify’s API optimizes images for construction material marketplace app Tul

“Infrastructure costs and improving SEO are recurring challenges in the e-commerce industry. Image compression is also one of them, and Tinify’s API has proven to be an effective solution.”

Nicolás Villegas, CTO of Tul

Tul is a B2B marketplace specializing in the sale of construction materials, tools, and various products tailored for small hardware stores across Latin America (LATAM). As a rapidly growing mobile app platform, Tul faced a critical challenge in optimizing images to enhance their app’s speed and reduce data transfer costs. To overcome this, they signed up for Tinify’s API Developer, integrating it seamlessly into their existing infrastructure.

Key results

  • Improved speed: Tinify’s API drastically improved the speed and responsiveness of Tul’s app, enhancing the overall user experience.
  • Cost reduction: The reduction in image file sizes resulted in lower data transfer costs, contributing to cost savings for the company.
  • Same image quality: Despite the reduction in file sizes, the optimized images retained high quality, allowing users to view products in detail.
  • Positive user feedback: Users noticed and appreciated the app’s increased speed, resulting in higher user satisfaction.

Background: Discovering Tinify’s image compression API tool

Image optimization plays a crucial role in improving user experience, and this was a challenge that Tul faced right from the start when creating their app. For any e-commerce platform, while it is important to maintain high-quality images to provide customers with a detailed view, large images slow down loading times and increase data transfer costs, affecting the company’s bottom line. But co-founder and CTO Nicolás Villegas explained that they initially lacked awareness of the solutions available in the market:

“We recognized the importance of managing our images effectively to improve the speed of our app and reduce data transfer costs. Originally, we considered building our own solution, but another company recommended Tinify to us, so we decided to give it a try.”

Nicolás Villegas, CTO of Tul

After exploring Tinify’s capabilities, Tul decided to integrate Tinify’s API into their image management workflow: “We didn’t explore any other options. Since Tinify worked well for us from the start, we never felt the need to look for alternatives.”

Solution: Optimizing the app’s speed with Tinify’s API for lightweight images

Tul has been relying on Tinify’s API for the past two years, following a straightforward workflow: their work involves sending the initial product images from their catalog to Tinify’s API, which are then optimized and stored in Amazon S3. 

“Tinify has been instrumental in improving the speed, quality, and overall user experience of our app. We received positive feedback from users who noticed the increased speed and improved image quality”

Nicolás Villegas, CTO of Tul

Impressed by the effectiveness of Tinify’s image optimization solution, Nicolás has recommended Tinify to several other companies in Colombia and beyond:

“Infrastructure costs and improving SEO are recurring challenges in the e-commerce industry. Image compression is also one of them, and Tinify has proven to be an effective solution.”

Struggling to make your e-commerce or marketplace images load faster? Give Tinify’s API a try and enjoy the first 500 compressions every month for free!


Tul’s initial uncertainty about image optimization solutions faded as Tinify’s API seamlessly integrated into their workflow. By compressing their images with Tinify’s API Developer, Tul achieved a faster app, reduced expenses, and improved customer satisfaction. This has made Tinify’s image optimization solution a recommended choice for businesses facing similar challenges in the competitive e-commerce industry.

Customer story: ResponsiveAds uses Tinify’s API for optimal ad sizes

“Ads have a lot of images, it isn’t just one image. So, if each ad is made up of 30 images, and each image is 3KB, that’s already 90KB. That’s why we use Tinify’s API to drastically bring the size down. Achieving the same level of fidelity in a lightweight size – like 50KB – is great for ad performance.”

Matthew Snyder, CEO of ResponsiveAds

ResponsiveAds is a creative platform that makes it easy for designers, brands, and publishers to create and share unique ads. They do this by using automatic layout tools to speed up the ad-making process, helping users improve, streamline, and scale their ad creation efforts.

One of the key challenges faced by ResponsiveAds was optimizing image sizes to meet the stringent requirements of banner ad dimensions. If an ad takes too long to load, users might leave the webpage before seeing it. In an industry where ad size and quality really matter, ResponsiveAds needed a good way to make their images lighter to improve performance. They found the right image compression solution with Tinify’s API Developer.

ResponsiveAds uses Tinify's API on their website

Key results

  • Improved performance: Tinify’s stable API helped ResponsiveAds ensure uninterrupted performance even during peak traffic, with the ability to compress thousands of images daily without slowdowns or crashes.
  • Image quality retention: Tinify’s lossless compression capabilities allowed ResponsiveAds to optimize images without compromising quality or fidelity, crucial for ad creatives.
  • Transparent PNG support: Compatibility with PNGs with transparent backgrounds allowed ResponsiveAds to create complex ad designs with overlapping elements.
  • Environmental impact: By minimizing image file sizes, ResponsiveAds contributed to a reduction in carbon emissions associated with data storage.
  • WebP integration: ResponsiveAds is now exploring Tinify’s WebP conversion feature, which has the potential to further reduce image sizes and enhance ad performance.

Background: Seeking a reliable solution for ad compression

ResponsiveAds initially used a different image compression service but encountered stability and reliability issues, especially during periods of high traffic and optimization demands. Seeking a more robust solution, ResponsiveAds transitioned to Tinify in 2020, and they haven’t looked back since then:

“We haven’t had any support issues since then. We have lots of designers using us, amounting to 10 million hits a day, and Tinify’s API handles it with speed and no backlog or choke on the server side.”

Matthew Snyder, CEO of ResponsiveAds

Display advertising requires ads to be lightweight, with maximum file sizes ranging from 50 KB to 300 KB, depending on the platform. But achieving this isn’t as simple as it sounds. Matthew explains that ads are composed of overlapping images, many of which are transparent PNGs. When combined, these images can contribute to the overall weight of the ad. 

Moreover, ResponsiveAds goes the extra mile by offering “fluid design”. This approach ensures that ad creatives can seamlessly adapt to diverse screen sizes and devices. However, to achieve this, each image within the ad has to be adjustable on its own. This underscores the critical importance of reducing image sizes, especially since they function as isolated elements in the ad composition.

“Ads have a lot of images, it isn’t just one image. So, if each ad is made up of 30 images, and each image is 3KB, that’s already 90KB. That’s why we use Tinify to drastically bring the size down. Achieving the same level of fidelity in a lightweight size – like 50KB – is great for ad performance.”

Matthew Snyder, CEO of ResponsiveAds

Solution: Tinify’s API for smaller ads

ResponsiveAds found Tinify’s API to be a stable, reliable, and developer-friendly solution that provided excellent results in terms of image compression and optimization. They seamlessly integrated it into their ad builder platform, enabling on-the-fly optimization of uploaded images.

“We automatically create all the different ad renditions, and then Tinify’s API compresses every picture automatically. Compressing images also means that ZIP packages are as small as possible and easy to download”.

In addition, Matthew highlights that in line with growing environmental awareness, reducing image sizes means that ResponsiveAds can minimize carbon footprint due to data processing and storage. “We just signed a petition that encourages compression for less consumption of carbon. If images are lighter, they take up less cloud space, which is better for the environment”, he explains.

Future Plans: WebP support for even lighter ads

In the future, Matthew hopes to explore additional ways to reduce ad file sizes with Tinify’s Developer API. He’s particularly interested in WebP, a gen-next image format that is typically lighter than JPEGs and PNGs. 

“PNG has been kind of our go-to. That’s why I’ve been excited about WebP support. Since WebP works with translucent images, it makes it a great alternative to the PNG format.”

This should be a straightforward task thanks to Tinify’s latest image converter tool, currently available to API users. This tool enables the effortless conversion and compression of PNG files into WebP format, resulting in substantial size savings for ad creators.


ResponsiveAds faced challenges optimizing image sizes for banner ads with a previous image compression provider. Solving this problem was crucial because ads need to meet specific size criteria to load quickly on the page and capture users’ attention. In this way, Tinify’s API Developer provided them with a much-needed stable and reliable solution. 

With it, they achieved improved performance, handling thousands of image compressions daily without slowdowns. They maintained image quality through Tinify’s lossless compression for visually appealing, complex ad designs. Looking ahead, ResponsiveAds plans to explore WebP support for even lighter ads, considering it a promising alternative to PNGs with transparent backgrounds.

Are you interested in boosting your website’s loading speed? Try Tinify’s API for effortless PNG to WebP conversion, and start saving substantial bandwidth and improving user experience today!

Tinify’s Developer API: New image converter feature to improve your workflow

“Can I convert JPG to WebP?”, “When will you develop a JPG converter?”, “Do you have an image converter?”. Yes, yes and yes. Tinify’s API image converter is live!

As an API subscriber, you can now convert your images from and to WebP, JPEG and PNG. Each conversion counts as one additional compression. This also means that all users can use the 500 monthly free compressions to convert their images to other formats.

How does Tinify’s image converter work?

API users can convert their images to their desired image type – for example, from PNG to JPG, or vice versa. 

As an API user, when you upload an image, you can convert it by making a “convert request”. In this request, you must specify the “image type” – that is, the format you wish to see returned. 

In addition to this, you can choose the option of returning the smallest of Tinify’s supported image formats (WebP, JPEG and PNG). For this, you need to specify multiple image types in your request. For example, if you specify two formats, Tinify’s API will convert the image to both formats and return the smallest type. 

Together with this, we released the “transform” option. This allows you to convert an image with a transparent background to a color of your choice, which is required if you want an image type that doesn’t support transparency (e.g. from PNG to JPEG). 

Why use Tinify’s image converter?

This image converter feature was one of the most requested by our users. It’s easy to understand why: there are plenty of image converters – some online and even for free – but most don’t compress images!

Tinify’s Developer API was first designed for image compression, but we’ve been working on new features since then. The most recent one was image resizing, which allows users to compress an image and generate other image sizes. The option to convert images into other formats is another step to further streamline the process for developers.

More importantly, this goes hand in hand with SEO strategies. For instance, Google PageSpeed Insights (which you can use to test and improve your website’s performance) advises users to switch to next-generation image formats, such as WebP. This means that its search engine prioritizes this image format. Tinify’s image converter makes it easier to comply with this requirement since you can easily convert your images to WebP. 

Getting into the WebP wave

WebP is an image file format created by Google for web use and it is supported by the main browsers (Chrome, Firefox, Edge, Opera, etc). It enables small file sizes while preserving the quality of images as much as possible. In this way, WebP images are smaller in size than PNG and JPEG images, making your website load faster. In this way, your users have faster access to your content and fewer bandwidth costs – which is especially important for mobile users.

Even though WebP is by definition smaller than other image types, it is worth noting that this image type can be even more optimized – Tinify’s algorithm does this automatically.

Image converter example - JPEG vs. compressed WebP
(Illustrative example)

API users can find all the information needed to start converting their images here. We also want to hear your thoughts on this feature – feel free to test it out and tag us on Twitter.

When will we have an online image converter?

It’s on our roadmap to have this feature available for the web interface. As soon as this is done, we’ll notify our users on Twitter and LinkedIn – follow us there so you don’t miss out on it!


  • Great news for our API users: you can now convert your images to other image types – WebP, JPEG, and PNG. 
  • It was one of the most requested features since other converter tools don’t compress images – now, you can easily do both.
  • The highlight here is that you can convert your images to WebP, which can improve your SEO.