How to Compress Images with Claude

Compress images with Claude and ToolRouter. Reduce file sizes without visible quality loss.

Tool
Compress icon
Compress

Claude compresses images from a URL and reports on the size reduction achieved. You can ask follow-up questions — compare the compressed vs original size, request a more aggressive compression for a specific use case, or compress multiple images in one conversation.

Connect ToolRouter to Claude

1Open connector settings Open Settings
2Add a custom connector with these details
Name
ToolRouter
URL
https://api.toolrouter.com/mcp
3Let Claude set you up Open Claude

Steps

Once connected (see setup above), use the Compress tool:

  1. Ask: "Compress this image: [paste image URL]"
  2. Claude processes the image and returns a download link with the size reduction
  3. Ask: "How much did the file size reduce?" to get the before/after comparison
  4. Download the compressed image

Example Prompt

Try this with Claude using the Compress tool
Compress this image and tell me the original and final file sizes: https://example.com/product-photo.jpg

Tips

  • Provide the image URL directly — no upload required
  • Ask Claude to compress a batch of images by listing several URLs
  • Request a quality setting if you need to balance size vs sharpness for a specific use