How Your Files Stay on Your Device
You don’t have to take our word for it. Here’s how it works, and how to check.
The short answer
PDFCocoon sends your browser the program, not your file to a server. The tool runs inside your browser tab, reads your PDF from your device’s memory, and saves the result straight back to your device. A browser security rule blocks the page from sending data anywhere except our own site and our anonymous analytics.
What happens when you use a tool
- The page loads. Your browser downloads the page and its code from pdfcocoon.com, like any website.
- You choose a file. The browser hands it to the page’s code in memory. Nothing is sent.
- The tool does the work. Open-source libraries (pdf-lib and Mozilla’s PDF.js) read and write the PDF on your device.
- You download the result. The new file is created in your browser’s memory and saved from there. It never existed anywhere else.
- You close the tab. The browser clears everything from memory.
The rule that blocks uploads
Every page on PDFCocoon is served with a Content Security Policy, a set of rules that your browser enforces, not us. This is the part that controls where the page can send data:
connect-src 'self' blob: https://analytics.pdfcocoon.com https://cloudflareinsights.com In plain words: the page may only talk to its own site, to files already in your browser’s memory (blob:), and to our two cookie-free analytics services. If any code on the page tried to send your file anywhere else, the browser would refuse. Images are restricted the same way, so a file can’t be smuggled out inside an image request either.
Everything the page sends
While you merge two PDFs, these are the only requests the page makes:
| What | Sent to | Contains your file? |
|---|---|---|
| The page, its styles and its code | pdfcocoon.com | No |
| The PDF engine, loaded when you add your first file | pdfcocoon.com | No |
| Anonymous events: which tool, and a rounded page count such as “11–50 pages” | analytics.pdfcocoon.com | No, and never the file name |
| A page-view count | cloudflareinsights.com | No |
Our automated tests check this in the engines behind Chrome, Firefox and Safari, and on simulated phones: they merge two PDFs and fail if any request contains part of either file, if the browser reports a blocked request, or if the security rule above changes.
Check it yourself
1. Watch the Network tab
- On a computer, open any tool and press F12 (Windows) or Option + Command + I (Mac).
- Click the Network tab, then use the tool with a test PDF.
- Look for a request about the size of your file. You won’t find one.
2. Go offline
Use a tool once so it has loaded, then turn on airplane mode or disconnect from Wi-Fi and use it again. It still works, because nothing needs to go over the internet.
3. Read the security rule
In the Network tab, click the first request (the page itself) and look under Response Headers for content-security-policy. It’s the same rule quoted above.
What does leave your device
To be complete: we count visits and tool use with cookie-free analytics, and Cloudflare, our host, processes standard technical data such as IP addresses to deliver the site. None of this includes your files or their names. We don’t show ads at the moment. If we add them, ad networks need their own connections, and we’ll update this page to say exactly what they can and can’t see. Your files will still never be sent. The full details are in our Privacy Policy.