TinyJPG Documentation
Learn everything you need to know about optimizing your images with TinyJPG
Getting Started
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.
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 |
Frequently Asked Questions
- Free Plan: 5MB per image
- Pro Plan: 10MB per image
- Business Plan: 25MB per image
- Enterprise Plan: 50MB per image