How to compress a PDF in OneDrive
Five free gigabytes run out fast when scans pile up. Shrink the heavy PDFs and keep every link you have already shared
By Metin Ersoy · Updated November 2, 2026
Why OneDrive fills up with PDFs
A free Microsoft account comes with 5 GB, and Outlook.com attachments share that space. On many Windows PCs, OneDrive also backs up the Desktop and Documents folders, so every scanned contract, payslip photo and downloaded statement saved there is copied to the cloud as well. A few dozen scans can take up a gigabyte on their own.
OneDrive has no button to make a file smaller. Compress PDF does it in your browser: the pictures inside the PDF are reduced to what a screen or a printer needs, the text stays sharp, and the file never passes through anyone else's server.
Step 1: find the largest PDFs
On the OneDrive website, open Settings (the gear icon), then the storage page. Microsoft lists what takes up the most space, largest first; depending on your account this is under Manage storage or What's taking up space. Scans and PDFs made from photos near the top of the list are the ones worth compressing. A text-only PDF of a few hundred kilobytes will hardly change.
On a Windows PC you can also open the OneDrive folder in File Explorer, switch to Details view and click the Size column to sort.
Step 2: compress the PDF
- Open Compress PDF and choose the file. On Windows, click OneDrive in the left-hand list of the file window — no download needed. On the web or a phone, download the PDF from OneDrive first.
- Leave the level on Recommended and click Compress PDF. The result shows the size before and after.
- For black-and-white paperwork such as letters and forms, tick Also convert images to black and white and compress again for an even smaller file.
- Open the result and zoom into the smallest print. If a stamp or a signature has become hard to read, go back and choose Light.
Step 3: replace the original and keep the link
The downloaded file ends in "compressed". To keep the original's link, give the new file exactly the same name as the original before putting it back:
- Windows: rename the compressed file, then move it into the same OneDrive folder. When Windows says a file with that name already exists, choose Replace the file in the destination.
- OneDrive website: open the folder, click Upload → Files and pick the renamed file. When OneDrive says the file already exists, choose Replace.
If you upload it under a different name instead, you get a second file with a new link, and the large original stays where it was.
Free the space for real
- Empty the recycle bin. Deleted files keep counting towards your storage while they wait there.
- Check version history. OneDrive may keep the larger, earlier version of a replaced file. Right-click the file, open Version history, and delete versions you no longer need.
- Sort out duplicates. Merged and unmerged copies of the same scans take space twice; keep one.
Need the PDFs combined as well? See how to merge PDF files in OneDrive. Storing PDFs in Google Drive too? The steps differ a little — see how to compress a PDF in Google Drive, in Dropbox or in iCloud Drive. Before sharing a scan with anyone, remove what they do not need to see with Redact PDF.
Ready to try it? It is free and your file stays on your device.
Open Compress PDF