Documentation

TinyJPG Documentation

Learn everything you need to know about optimizing your images with TinyJPG

Getting Started

Welcome to the TinyJPG documentation. This guide will help you understand how to use our image compression service effectively.

TinyJPG offers powerful image compression tools that can reduce your image file sizes by up to 80% while maintaining visual quality. This helps improve your website's loading times and reduces bandwidth usage.

Faster Websites

Smaller image file sizes lead to faster page loading and better user experience.

Mobile Friendly

Optimized images consume less bandwidth, crucial for mobile users.

Web Interface

The TinyJPG web interface allows you to upload images directly through your browser for quick and easy compression:

1 Upload Images

Drag and drop your images onto the upload area or use the file browser.

2 Automatic Compression

Our advanced algorithms automatically compress your images while preserving quality.

3 Compare Results

View side-by-side comparisons of original and compressed images.

4 Download Optimized Images

Download individual images or all compressed images as a ZIP file.

Pro Tip: You can upload multiple images at once by selecting them all in the file browser or dragging multiple files.

API Integration

For developers who want to integrate TinyJPG compression into their applications, we offer a comprehensive REST API:

Basic API Request
curl -X POST \
  https://api.tinyjpg.com/v1/compress \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@/path/to/your/image.jpg'
                            
                            

This example shows how to compress a single image using the API. Replace YOUR_API_KEY with your actual API key.

Our API provides a range of options for different integration scenarios:

  • Synchronous Compression - Get immediately compressed images in the response
  • Asynchronous Processing - Use webhooks for batch processing larger volumes
  • Quality Controls - Fine-tune compression levels based on your needs
  • Metadata Preservation - Control which metadata to keep in your images

Subscription Plans

TinyJPG offers several subscription plans based on your compression needs:

Plan Monthly Images API Access Price
Free 100 images $0
Pro 1,000 images $9.99/month
Business 10,000 images $49.99/month
Enterprise 100,000+ images Contact Sales
Ready to upgrade?

Get more compressions and advanced features with our premium plans.

View Pricing

Frequently Asked Questions

TinyJPG supports JPEG, PNG, and WebP image formats. Our algorithms are optimized for each format to ensure maximum compression with minimal quality loss.

Yes, the maximum file size depends on your subscription plan:
  • Free Plan: 5MB per image
  • Pro Plan: 10MB per image
  • Business Plan: 25MB per image
  • Enterprise Plan: 50MB per image

Our smart compression algorithms analyze each image to find the optimal balance between file size and visual quality. Most users cannot distinguish between the original and compressed images, even though the file size may be reduced by up to 80%.

Yes, we take security very seriously. Your images are encrypted during transfer and processing. We don't store your original or compressed images for longer than 24 hours, and they're automatically deleted from our servers after that period.