logo
Looking for the standard tool?Compress PDF

Compress any PDF directly from a URL.

Append ?url= to the page address with any publicly accessible PDF URL and the compressor opens with that file pre-loaded — no upload step required. The server fetches the PDF for you, so browser restrictions never get in the way.

How to use

Single PDF

The page fetches the PDF server-side and opens the compressor with it pre-loaded, ready to compress.

https://mytools.com/pdf/compress-pdf/by-url?url=https://example.com/document.pdf

Requirements

Protocolhttp:// or https://
Content-Typeapplication/pdf or application/octet-stream
SourceAny publicly accessible URL

Server-side fetch · No upload needed · Processed entirely in your browser

Why use the URL entry point?

Skip the upload step

When your PDF is already hosted somewhere, pass the URL directly. No downloading and re-uploading required.

No CORS restrictions

The server fetches the PDF on your behalf, bypassing browser restrictions that would block a direct client-side request.

Shareable and linkable

The URL is the session. Share the link with a colleague and they open the compressor with the exact same PDF already loaded.

Fits into automated workflows

Build the URL programmatically and redirect to it from your own app or script. No API keys, no authentication required.

Same compressor, different entry point

All three compression levels of the standard Compress PDF tool are available. The URL just skips the manual upload.

Works with any hosted PDF

Reports, contracts, scanned documents — any PDF accessible via a public URL works with the by-URL entry point.

1

Build the URL

Start with /pdf/compress-pdf/by-url, then append ?url= followed by the full address of the PDF.

2

The PDF loads automatically

The server fetches the file and the compressor opens with it pre-loaded, ready to choose a compression level.

3

Compress and download

Select a compression level, click Compress, and download the smaller file.

  • The PDF is never stored — fetched from the source URL and forwarded to your browser in a single request.
  • PDF URLs and file contents are not logged, inspected, or retained after the request completes.
  • No sign-up needed — construct the URL and the compressor opens immediately.