Skip to content

How DigiCompress keeps your files on your device

A plain-language tour of what happens when you drop a file into DigiCompress — and of everything that doesn’t happen.

Your browser does the work

When you open DigiCompress, your browser downloads the page and the compression code, just as it downloads any website. From then on, compression happens on your computer or phone. When you pick a file, the browser reads it from your disk into memory that belongs to this one tab. Nothing is sent back to us.

Think of it like a calculator app versus asking someone else to do the sum: we hand you the tool; you use it on your own device.

Every file is checked before it’s touched

File extensions are just labels, and anyone can rename “virus.exe” to “report.pdf”. Real files begin with a few identifying bytes — a signature, sometimes called “magic bytes”. A PDF begins with %PDF, a PNG with a fixed eight-byte header, an MP4 with an “ftyp” box.

DigiCompress reads those first bytes and only proceeds if they match a supported format. If they don’t, the file is rejected with a clear message. This protects the compressor from malformed files and stops you from wasting time on a file that can’t be processed.

Compression runs in a background worker

The heavy lifting happens in a Web Worker: a separate thread your browser runs alongside the page, so the interface stays responsive. Images, PDFs and Office documents are handled with well-established open-source libraries. Video and audio use a WebAssembly build of FFmpeg, served from our own domain rather than a third-party CDN.

Our site also sends strict security headers, including a Content Security Policy that only allows code from our own domain. That means the page can’t quietly load scripts from elsewhere.

Purged after download

Once you download the result — or discard it — DigiCompress releases its references to both the original and the compressed file, revokes the temporary download link the browser created, and resets the worker. The compressor shows this as the final Purged step so you can see it happen.

Your browser’s own memory management reclaims the space after that. Closing the tab clears everything immediately.

What we log

To keep the free limit fair and to understand which tools people use, DigiCompress records anonymous, file-free facts:

  • File category and detected format — for example “image” and “png”
  • Size before and after, the compression level chosen, processing time, and whether it succeeded
  • Whether the result was downloaded and purged
  • An anonymous random visitor ID kept in your browser’s local storage, and a session ID
  • Approximate country and city derived from your IP address at the network edge, plus a salted hash of the IP for abuse limits
  • Device type, browser and operating system family, page views and time on page

What we never see

  • Your file’s contents, or any part of them
  • The file name or folder it came from
  • A hash or fingerprint of the contents
  • Metadata inside the file, such as photo location or document author
  • Your raw IP address in our database

Check it yourself

You don’t have to take our word for it. Open your browser’s developer tools, switch to the Network tab and compress a file. You’ll see small requests carrying anonymous counts — and no request large enough to carry your file. Read the privacy policy for the full detail, or go straight to the PDF compressor.

Frequently asked questions

Still unsure? Email hello@digicompress.com.

Are my files uploaded to a server?

No. DigiCompress compresses files with code that runs inside your browser tab. The file is read from your disk into memory on your own device, compressed there, and handed back to you as a download. There is no upload step, so there is no copy of your file on our servers — or anyone else’s.

What does “signature-verified” mean?

Every file type starts with a few identifying bytes, called a signature or “magic bytes”. Before compressing, DigiCompress reads those bytes to confirm the file really is what its extension says. A renamed or corrupted file is rejected instead of being processed blindly.

Do you keep a copy of my file?

We can’t — we never receive it. Inside your browser, the original and the compressed result are held in memory only until you download or discard them. After that, DigiCompress releases the data and revokes the temporary download link, so the page itself no longer holds your file.

What do you log when I compress a file?

Anonymous counters: the file category and format (for example “pdf”), the size before and after, how long it took, and whether it succeeded. We never record file names, contents, or fingerprints of contents. See what we can and can’t see for the full list.

Why is it sometimes slower than upload-based tools?

Your own device does the work instead of a data centre. For images, PDFs and documents that usually takes a few seconds. Video is the heaviest job: re-encoding a long clip can take a while on an older device, but you skip the upload and download wait entirely.

See it for yourself.

Compress a file and watch your network tab: nothing large ever leaves.

Open the compressor