Image Optimizer

Drag & drop an image here, or

"High" and "Maximum" trade image quality for much smaller files — noticeable quality loss on JPEG/WEBP, and reduced color count on PNG. Try "Balanced" first if you're not sure.

Advanced resize (optional)

Leave both fields empty to keep the original size.


💡 Show API usage examples (cURL)

Optimize PNG without resizing

curl -sS -X POST https://devops.majbase.com/image/tinify \
    -F "file=@test.png" \
    -o optimized_test.png

Optimize and resize image

curl -sS -X POST https://devops.majbase.com/image/tinify \
    -F "file=@photo.jpg" \
    -F "width=1024" \
    -F "height=1024" \
    -o optimized_photo.jpg

Example with WEBP

curl -sS -X POST https://devops.majbase.com/image/tinify \
    -F "file=@image.webp" \
    -F "width=800" \
    -F "height=800" \
    -o cleaned.webp

Maximum compression (smallest possible file)

curl -sS -X POST https://devops.majbase.com/image/tinify \
    -F "file=@photo.jpg" \
    -F "compression=maximum" \
    -o tiny_photo.jpg

compression accepts low, balanced (default), high, or maximum.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw