The 25 MB limit is the maximum size of the one source PDF you can select in Compress PDF to Size; it is not a promise that the compressed file will be 25 MB.
When you use Compress PDF to Size, the 25 MB figure defines the tool’s input boundary. Your target is a separate setting: it can range from 0.1 to 25 MB, but it must be smaller than the source PDF. A download becomes available only after the actual saved PDF has been verified as being at or below that target.
“Meets the target” means the result is no larger than the MB value you entered. It does not mean the finished file must match that value exactly, byte for byte. This distinction is important because the tool measures real saved files rather than estimating the final size from the original.

The 25 MB cap applies to the source PDF
You select one local PDF, and that file cannot exceed 25 MB. A larger document falls outside the tool’s accepted input range, so the target-size workflow cannot be completed for it. Passing the size requirement only makes the file eligible for processing; it does not guarantee that the tool can reduce the document enough to meet your chosen target.
The target has its own range and a stricter relationship with the source. It must be at least 0.1 MB, no more than 25 MB, and smaller than the selected PDF. Because an accepted source can be no larger than 25 MB, the 25 MB upper bound does not create a usable target: in this workflow, the target must always be below the source and therefore below 25 MB.
The two minimum conditions also work together. A source PDF at or below 0.1 MB has no valid target, because 0.1 MB is the lowest accepted target and that target still has to be smaller than the source. This is why the tool is designed around reducing a meaningful PDF rather than producing a nearly empty result.
Treat the cap as a rule belonging to this particular workflow, not as a universal statement about every PDF compressor, website, email service, or upload portal. If the receiving system gives you a specific maximum, enter that value as your target only when the source is larger and the target falls within the accepted range.
Source, target, and output use different rules
Several limits operate together in the target-aware compression process:
| Part of the workflow | Defined rule | What it means |
|---|---|---|
| Source PDF | One local PDF, up to 25 MB | This is the maximum accepted input size. |
| Target size | 0.1–25 MB and smaller than the source | The target acts as the maximum acceptable size for the saved result. |
| Output size | The actual saved PDF must be at or below the target | An estimate is not treated as a successful result. |
| Eligible images | Up to 80 eligible images | The local job has a separate image-count boundary. |
| Decoded image workload | 100 megapixels across decoded images | A file can pass the 25 MB check while still exceeding this processing limit. |
| Compression attempts | A fixed sequence of JPEG quality and dimension profiles | The tool does not retry indefinitely with arbitrary settings. |
| Result verification | A passing candidate is reopened and its page count is checked | The download is exposed only after the saved file passes the checks. |
Passing one condition does not cancel the others. A file under 25 MB may still contain too many eligible images, exceed the decoded-image workload, or require more reduction than the bounded JPG recompression can provide.
Compress a PDF to a target size
Use the following workflow when you need a PDF that satisfies a known size ceiling:
- Choose one local PDF. Select a PDF from your device that is no larger than 25 MB. The file is read locally rather than uploaded.
- Enter the required target. Choose a value from 0.1 to 25 MB that is strictly smaller than the source file. Treat it as an upper limit for the finished PDF, not as a demand for perfect byte equality.
- Select “Compress to target size.” The tool begins its bounded JPG recompression process instead of applying an unspecified general-purpose compression setting.
- Let the verification process finish. Each candidate is actually saved, and its byte length is compared with your target. The tool uses fixed JPEG quality and longest-side profiles, checking real outputs rather than predictions.
- Download only if a link appears. A successful candidate is reopened in a PDF viewer and checked against the original page count before the download option is shown. If no result appears, no compliant download has been created.
Once the file is available, download it and review it before relying on it. Meeting the size requirement confirms the byte-length check, but it does not replace a visual review when image quality or document fidelity matters.
Which PDF content can be reduced
This target-aware process is intended for PDFs whose size is driven substantially by embedded JPG images. It does not rasterize every page into a new picture. Instead, it looks for embedded JPEG payloads that it can safely identify, decode, recompress, and replace.
An image is eligible only when it is an unmasked DCTDecode image using DeviceRGB or DeviceGray color information and has no decode parameters. Unsupported image objects are preserved rather than altered. If recompressing an eligible JPG would make it larger than its original stream, the tool leaves that image untouched.
That selective approach means page structure, selectable text, links, forms, vectors, and unsupported objects remain untouched. It also explains why different PDFs respond so differently to the same target. A scanned document made mostly of large JPG images may be reduced substantially, while a text-only PDF, a vector-heavy document, or a file dominated by unsupported images may remain above the requested size.
The result should not be treated as a general lossless PDF optimization guarantee. JPG recompression can reduce image detail, particularly at lower quality or smaller dimensions. Keep the original and inspect the downloaded pages, images, text, links, and forms when those details are important.
Why a target may remain out of reach
The tool tries a short, fixed sequence of browser JPEG quality and longest-side settings: 0.70/1400, 0.55/1000, 0.40/800, and 0.30/600. For each profile, it only replaces supported JPG payloads when the replacement is smaller. It then saves the candidate PDF and compares the resulting bytes with the target.
If every candidate remains above the target, the tool does not keep degrading the images indefinitely. It creates no download and explains that the requested target cannot be reached safely within the supported process. This can happen when the source is mostly text, contains a large amount of vector content, relies on unsupported image objects, or needs more reduction than JPG recompression can provide without going beyond the tool’s boundaries.
The 80-image and 100-megapixel limits also apply independently of the source’s byte size. A document comfortably below 25 MB can still exceed one of those processing limits. This is why “the file is under 25 MB” and “the tool can produce a smaller target-compliant PDF” are separate statements.
When no result appears, do not treat a nearly compliant candidate as a finished answer. The absence of a download is the tool’s way of avoiding an approximate or unverified success. In that situation, review the document’s composition and determine whether another approach is more appropriate for its content.
Local processing and result verification
PDF reading, JPG encoding, file measurement, and verification all stay in your browser. The source PDF is not uploaded, and the process produces a new local download rather than replacing the original file in your workflow.
Verification is based on the actual saved PDF. After a candidate passes the target-size comparison, it is reopened with PDF.js and its page count is compared with the original. Technical readers can consult the PDF.js API documentation for details about the browser library used for PDF handling.
The page-count check helps catch a broken candidate, but it does not prove that every visual detail is satisfactory. After downloading, open the result and compare it with the source, paying particular attention to scanned pages, small text, images, links, and forms. Keep the original until the compressed copy has passed your own review.
In short, 25 MB is the largest source this tool accepts, while your chosen target is the maximum size the finished PDF must meet. The tool creates a download only when bounded JPG recompression actually produces a verified file at or below that target.