> ## Documentation Index
> Fetch the complete documentation index at: https://docs.staplr.online/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://docs.staplr.online/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://docs.staplr.online/api/mcp.
> Every agent surface: https://docs.staplr.online/.well-known/llms-manifest.json

# Optimize and Secure PDFs (/documentation/pdf-tools/optimize-and-secure-pdfs)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 734 · updated: 2026-12-03 -->
Related: [Organize PDFs](/documentation/pdf-tools/organize-pdfs.md), [Edit, Sign and Fill PDFs](/documentation/pdf-tools/edit-sign-and-fill-pdfs.md), [Convert To and From PDF](/documentation/pdf-tools/convert-to-and-from-pdf.md)

Use Staplr to shrink a PDF for an upload, change how it displays, or adjust what recipients can access. Staplr processes the file in your browser without uploading it. Keep the original so you can try different settings without editing a copy you already changed.

## Compress a scan for an upload limit

1. Check the maximum file size listed by the portal.
2. Open Staplr’s Compress tool at `staplr.online/compress/`, select your scan, and save the compressed PDF as a separate file.
3. Check the saved file’s size in your device’s file info. Open the PDF and zoom in on small text, dates, and any details the recipient needs to read.

For example, if a portal caps mark sheets at 200 KB and your saved copy is 180 KB, it meets the size requirement. Submit it only if the grades and identifying details are still legible.

The effect of compression on quality varies by file. If the copy is still too large or hard to read, return to the original and try a different compression setting if one is available. Check both size and legibility again before you upload.

## Change how the PDF displays or behaves

| If you need to                              | Use                                                                                                        |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Replace colors with shades of gray          | Grayscale. Check that details previously distinguished by color are still clear.                           |
| Change the contrast for reading             | Dark mode or color inversion. Check the result on pages with photos or colored text.                       |
| Share a filled form without editable fields | Flatten. Reopen the saved PDF and check that the fields you wanted to fix in place are no longer editable. |
| Try to recover a damaged PDF                | Repair. If the saved copy opens, check that the pages you need are present and readable.                   |

## Protect or unlock a PDF

Use password protection when you want recipients to enter a password to open the PDF. Save the protected copy, close it, and reopen it to check that it asks for the password and opens with the one you set.

Use Unlock when you’re authorized to remove password protection and intend to share the PDF without it. Reopen the saved copy and check that it opens without asking for a password. Share the copy you checked rather than the original.

## Review document metadata

Use Staplr’s metadata tools to edit or remove file properties such as the title or author. Save the result and check the document properties on the copy you’ll share.

Metadata changes affect the file properties. If a name also appears on a cover page or in a header, changing the author property leaves that visible text in place. Check the page content separately before sharing.
