OPTIMIZE

Compress PDF to a specific size

Fit a PDF into an application form, email attachment or upload portal with a file size limit. The file is processed in your browser.

How to compress a PDF to 500 KB

Choose your PDF, enter 500 as the maximum file size, select KB and click Compress to size. StackPDF measures the finished PDF in bytes and offers a download only if it is 500 KB or smaller.

  • Choose KB or MB
  • Runs in your browser
  • Free daily export allowance

Updated 20 November 2026 · Written by the StackPDF teamUpdated 20 November 2026 · StackPDF team

Drop a PDF to fit a file sizeChoose a PDF to fit a file size

It stays in this browser.It stays in this browser.

How to compress a PDF to 500 KB

Choose your PDF, enter 500 as the maximum file size, select KB and click Compress to size. StackPDF measures the finished PDF in bytes and offers a download only if it is 500 KB or smaller.

  • Choose KB or MB
  • Runs in your browser
  • Free daily export allowance

Updated 20 November 2026 · Written by the StackPDF teamUpdated 20 November 2026 · StackPDF team

HOW TO

How to fit a PDF under an upload limit

  1. Enter the portal’s limit

    Choose your file and enter the number and unit shown on the upload form. For a 1.5 MB limit, enter 1.5 and select MB. StackPDF uses decimal units, so 1 MB equals 1,000 KB.

  2. Choose whether pages can become images

    StackPDF tries lossless compression first. If you need selectable text, working links or fillable fields, switch off “Allow pages to become images” before compressing.

  3. Check the result

    Preview the PDF and check the smallest text, especially on scans. Export and download it when the pages are readable and the file fits.

FAQ

Questions about PDF file size limits

Can I compress a PDF to exactly 100 KB?

Enter 100 and choose KB for a ceiling of 100,000 bytes. A 92 KB result already meets that limit. StackPDF adds no padding to bring it up to 100 KB.

What if my PDF is already under the limit?

If the PDF already fits, StackPDF skips compression. There is no reason to reduce the quality of a file the portal already accepts.

Will a compressed PDF still have searchable text?

Lossless compression preserves an existing text layer. If StackPDF needs to turn pages into images to meet the limit, the copy loses text selection, clickable links and interactive form fields. Leave image conversion off when you need those features.

What happens if my PDF cannot fit?

StackPDF reports that it could not meet the target. Choose a larger limit if the recipient permits it. If the portal accepts separate PDFs, split the document and check each part against the limit.