How to Compress Images with Claude
Compress images with Claude and ToolRouter. Reduce file sizes without visible quality loss.
ToolCompressClaude 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
ToolRouterURL
https://api.toolrouter.com/mcp3Let Claude set you up Open Claude
Steps
Once connected (see setup above), use the Compress tool:
- Ask: "Compress this image: [paste image URL]"
- Claude processes the image and returns a download link with the size reduction
- Ask: "How much did the file size reduce?" to get the before/after comparison
- 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