Drop a PDF file here
or choose one from your device. If you pick several files, only the first is compressed.
Starting…
Your file stays on this device
When you drop a PDF file, the page reads it into memory in this tab and does nothing else with it. It is not uploaded, emailed or copied to a server. The page’s security setting (a Content Security Policy) also stops it from sending anything out, and its PDF file libraries load from the same site as the page.
- No waiting queue and no cloud folder.
- Press Reset or close the tab, and the file is gone from memory.
- Your PDF file never goes to UtilForge’s servers.
How compression works in your browser
Nothing is posted to UtilForge. The file is held in this tab as raw bytes (an ArrayBuffer). Two methods run on your device.
1. Lossless rewrite (always available)
A library called pdf-lib opens the document, clears the title, author and producer from the main details record, and writes a fresh file in a tighter layout. It does not clear every hidden detail, so use the Remove metadata from a PDF file tool when privacy is the reason. Text, drawings and existing pictures stay as they are. The usual saving comes from the leftover details and the tidier layout, and it is often only a few per cent.
2. Pages as pictures (presets and target size)
A second library, pdf.js, paints each page onto a canvas (a drawing area in the browser). The tool saves that picture as a Joint Photographic Experts Group and builds a new PDF file from the pictures. Strong, Balanced and Light change the picture size and the Joint Photographic Experts Group quality. Target size mode tries quality levels until the file is close to your goal in kilobytes. This method loses detail, because the pages become pictures.
What this tool cannot do
It does not include the heavier tools (qpdf or pdfium, built to run in a browser) that can squeeze the pictures already inside a PDF file while keeping the text. So the picture method cannot keep live text. It also cannot open a PDF file that is protected by a password. You will see an error instead of a password box. Files over 25 megabytes get a warning, because turning many pages into pictures can use a lot of the tab’s memory, and very large files may fail. Bytes never leave your device.
Questions and answers
Who made this?
UtilForge makes it. UtilForge is a website of free cybersecurity tools and small calculators. The About page explains why the tools were made, and the Contact page is the way to reach us.
Is this a scam site?
A person does not have to take UtilForge's word for it, so here are things to check. This page does not ask for payment, an account or card details. The compressor itself is free. UtilForge also sells optional packs of tools separately, on Gumroad, and this tool works without them. The page carries a security setting (a Content Security Policy, a rule the browser enforces) that forbids the page from sending anything out, so your PDF file cannot be uploaded from here. To test it, open the page, switch the internet off, choose a PDF file and compress it. It carries on working, because the page and its PDF file libraries are already on your device.
What happens when I close the page?
Nothing is kept. While the page is open, your PDF files and the compressed copy sit in the memory of the browser tab. The page does not use cookies, local storage, session storage or IndexedDB (the browser's built-in database), and it puts nothing about your file in the page address, so there is no link that holds your values. Closing the tab, or pressing Reset, drops the copies from memory. The one thing that stays is a file you save yourself: when you press Download, your browser saves a new file named after the original with -compressed added, for example report-compressed.pdf, in your downloads. That saved file is yours and the page does not track it. Your original file is never changed.
Does it cost anything, and do I need to sign in?
No. The compressor is free, and you can start straight away. UtilForge also sells optional packs separately, such as Redaction Studio ($29 to own) and Family Safety Tools (pay what you want, including nothing). This tool does not need either.
Why did my PDF file lose selectable text after compressing?
Strong, Balanced, Light and Target size work by turning every page into a Joint Photographic Experts Group picture (a picture format that squeezes images by dropping fine detail). That makes the file smaller, but a picture of a page has no text to select or search. To keep the text, tick Lossless rewrite only. It rewrites the file, clears the title, author and producer from the file's main details record, and keeps text, fonts and drawings as they are. It is not a privacy clean-up: a second copy of those details, comments and attached files can stay in the file. For that, use the Remove metadata from a PDF file tool. It usually saves much less, often only a few per cent.
Can I make a PDF file exactly 500 kilobytes?
Not exactly. Target size mode tries a series of Joint Photographic Experts Group quality levels and, if needed, smaller picture sizes, and shows the size it reached next to your target. Joint Photographic Experts Group quality moves in steps, so an exact number of bytes is not promised. If the plain rewrite is already under your target, that file is used, so the text is kept. If nothing reaches the target, the page keeps the smallest result it found and says so. The smallest target you can enter is 20 kilobytes.
Does this PDF file compressor upload my file?
No. The work stays in the browser tab, with libraries that load from the same site. People who ask about private PDF file compression usually mean exactly this. To check it yourself, turn off the internet and see that it still works.
Why did my compressed PDF file lose selectable text?
The picture methods redraw each page as an image, so text can no longer be selected or searched. Use the lossless rewrite when you need to keep selectable text.
Can it open password-protected PDF files?
No, by design. Unlock the file somewhere else only if you have the right to, then compress the unlocked copy here on your device.
How large a PDF file can the browser handle?
The limit is the tab’s memory. Very large or picture-heavy PDF files can freeze or fail in the browser. That is a known limit, not a quota set by a server.
Need to remove hidden details such as the author, comments and photo locations? Remove metadata from a PDF file shows and clears them. Need to remove private text from a PDF file, not only shrink it? Redaction Studio rebuilds the pages so blacked-out words are really gone. It is free in the browser and costs $29 to own.