logo
Looking for the standard tool?Image Compressor

Compress any image directly from a URL

Append ?url= with an image address and the compressor opens with that image pre-loaded. Images are fetched server-side, so browser CORS restrictions never come into play.

How to use

Single image

The page loads, fetches the image server-side, and opens the compressor with that image ready to go.

https://mytools.com/image/compress-image/by-url?url=https://example.com/photo.jpg

Multiple images

Each ?url= parameter is fetched in sequence, then all images open in the compressor as a batch — apply one setting, download everything as a ZIP.

https://mytools.com/image/compress-image/by-url?url=https://example.com/a.jpg&url=https://example.com/b.png

Requirements

Protocolhttp:// or https:// only
Content-Typeimage/* or application/octet-stream
SourceAny publicly accessible URL

Server-side fetch · No CORS restrictions · Processing stays in your browser

Why use the by-URL entry point?

Skip the upload step

When the image already lives at a URL, there's no reason to download it locally just to re-upload it. Pass the URL and go straight to the settings panel.

No CORS restrictions

The image is fetched by the server, not the browser, so CORS headers on the source never block the request. URLs that fail in-browser still work here.

Batch compress from multiple URLs

Repeat ?url= for as many images as you need. They arrive together in the compressor, share one set of settings, and come back as a single ZIP.

Shareable and linkable

The URL is the session. Send it to a teammate, paste it into a script, or bookmark it — opening the link opens the same set of images in the same tool.

Fits into automated workflows

Construct the URL from a build script, a Zapier step, or a CMS export. The compressor becomes a stop on the pipeline rather than a detour that needs a human.

Same compressor, different entry point

All the regular settings apply: quality modes, output format, max-dimension cap, EXIF stripping, ZIP download. The only thing that changes is how the files get in.

How it works

1

Build the URL

Start with /image/compress-image/by-url, append ?url= followed by the full image address. For multiple images, repeat &url= for each one.

2

The image loads automatically

The page fetches each URL server-side, validates it's an image, and opens the compressor with everything pre-loaded.

3

Compress and download

Pick your compression mode, tweak the format or max dimension, hit Compress, and download the results individually or as a ZIP.

Frequently asked questions

  • Images are never stored — fetched and forwarded in a single request
  • URLs and images are not logged, inspected, or retained
  • No sign-up needed — construct the URL and go