What local compression means
When compression is described as 'local', it means the computation happens on the device where the file resides. In the context of a browser-based tool, local compression uses the browser's JavaScript engine and WebAssembly runtime to execute the compression algorithm. The file never travels over the network for compression.
How local compression differs from server-side compression
Server-side compression sends your file to a remote machine, which applies the algorithm and returns the result. Local compression keeps the file on your device throughout. The practical differences are: no upload wait time, no file transmitted to an external service, and dependency on the device's processing power rather than a server's.
Local compression for PDF files
Minifiles.io compresses PDFs using a WebAssembly-based Web Worker running entirely in the browser. The worker reads the PDF from memory, applies the selected preset, and outputs a smaller file. Password-protected PDFs cannot be processed.
Local compression for PNG files
PNG files are compressed via UPNG.js, which performs colour quantisation within the browser. The quality slider controls the number of colours retained in the output, affecting the trade-off between file size and visual fidelity.
Local compression for JPEG files
JPEG files are re-encoded using Compressor.js in the browser. The quality setting controls the JPEG encoding level. EXIF metadata handling can also be configured, and Pro users can set custom dimension limits.
What local compression does not mean
Local compression does not mean the file is encrypted. It does not mean the file is protected or secured. It means the compression step runs on your device without a server. The resulting file is readable by any standard application.
Conclusion
Local file compression for PDF, PNG, and JPEG is a well-defined technical approach implemented in Minifiles.io using browser-native libraries. It offers convenience and avoids transmitting files to external servers for compression, but it is distinct from encryption or file security. Try our compress PDF or compress image tools for the fastest workflow.