Skip to content
◈CompressInKB

Compress PDF online — free and in your browser

Compress PDF files without uploading them anywhere.

Drop files here, or

PDF up to 50.00 MB · up to 20 files

Add a file to begin

How to use compress pdf

  1. 1Add a PDF and enter the maximum size you need in KB or MB. Each input has a 50 MB limit, and page and device-memory limits also apply.
  2. 2Select structure-only to avoid rasterising pages. Automatic may rebuild pages as images when the structural result remains over the target; choose rebuild only if that trade-off is acceptable.
  3. 3Run the job and read the original size, result size, strategy and target status. A target cannot always be met.
  4. 4Download the result, open it in your intended viewer and check every page, small text, links and form fields. Keep your original.

Why this tool, and why browser-side

Government portals, university admissions and job applications routinely cap PDFs at 100 KB, 200 KB or 500 KB. Scanned documents from a phone camera are 2–8 MB, so they are rejected long before anyone reads them.

Email attachments bounce above 25 MB, and most Indian bank KYC portals refuse anything above 1–2 MB. Compressing locally means you can retry instantly at a different target size without re-uploading a confidential document to a stranger's server.

Because CompressInKB runs the whole pipeline in your browser tab, documents that legally should not leave your device — salary slips, Aadhaar-linked proofs, medical reports, contracts — never do.

Many application portals place strict size limits on supporting PDFs. Working toward the limit before submitting can save a frustrating failed upload.

Some PDFs contain large photographs or scans; others are mostly selectable text. They respond differently to compression, so compare the output rather than expecting a fixed percentage saving.

The processing engine runs on your device. The application does not upload the PDF to a file-processing server.

This tool exists for PDF documents handled in a hurry: no queue, no account, no upload, and a result you can verify on the spot. The explanation below is the same one we would give a colleague who asked how it works.

Scanned documents behave differently from every other file you have. Each page is a photograph, typically 1–3 MB at 300 dpi in colour, with no text layer unless your scanner ran OCR. That means there is no lossless cleverness available — the bytes genuinely are the picture. The cheapest wins on a scan are usually cropping the grey table edge out of every page and turning off colour where the document is black ink on white paper.

Password-protected and encrypted PDFs are not supported by these tools. If you are authorised to do so, use your PDF reader to make an unlocked copy and try that copy instead. Preserve the original, especially if it has a digital signature.

Accepted inputs are PDF files up to 50 MB. SVG, HTML and other script-bearing formats are refused outright rather than sanitised, because a file that can execute code has no business being re-encoded — and an upload field that accepts one is a security hole rather than a feature. Several files can be queued where the workbench supports it. Batch, page and memory limits apply; check every output.

How it works under the hood

The structural pass resets common document-info fields and reserialises with object streams. In automatic mode, if the file is still too large, the tool may render pages as images and rebuild the PDF; selectable text and interactive features can be lost. It retains the smaller result it found and reports whether it met the target. XMP and other hidden data may remain. The structural pass rewrites the PDF using object streams and resets common document-info fields. If the chosen mode allows and the result is above target, pages may be rendered to JPEG images and assembled into a new PDF. This loses selectable text and may lose links, forms, accessibility information and other document features. The tool keeps the smaller result it found, which can be the original, and reports when it remains above target. It does not guarantee complete metadata removal or malware sanitisation. A structural rewrite is attempted first. In automatic or rebuild mode the tool may also render pages as JPEG images; that can remove selectable text and interactive features. The card shows the output size and whether the target was met, and the original is kept if the attempts would make it larger.

Frequently asked questions

Will compressing a PDF make the text blurry?

Structure-only avoids rasterisation. Automatic and rebuild modes can turn each page into a JPEG image, so text may become blurry and is no longer selectable. Check small text and keep the original.

Is there a file size limit?

Each input is limited to 50 MB. Page, pixel and batch limits also apply, and a device may run out of memory below those limits.

What is the smallest I can get a scanned PDF?

It depends on page count, image detail, resolution and quality. Very small targets may be impossible or make text unreadable. Review the result and use the original if it is not suitable.

Can I compress a password-protected PDF?

Not directly: we would have to break the encryption to re-encode the images, and we will not attempt that silently. Remove the password in your PDF reader (File → Properties → Security) and try again.

Will the text remain selectable?

In structure-only mode pages are not rasterised. Automatic or rebuild mode can turn pages into images, so text will no longer be selectable if the rebuilt version is used.

Can every PDF reach 100 KB?

No. A long or detailed document may remain above the target or become unreadable. Check the result and consider fewer pages only if the recipient permits them.

What happens if compression makes the file larger?

The tool keeps the original bytes instead of delivering a larger result and states whether the target was met. Some already compact PDFs do not shrink.

Can it open a password-protected PDF?

Encrypted PDFs are not supported. If authorised, make an unlocked copy in a PDF reader and try that copy.