I built a free PDF tool that processes files 100% in your browser (0 server uploads)
Most free online PDF tools store your files on their backend. HandleMyFile runs 100% inside your browser via WebAssembly: ๐ Zero uploads (processed in RAM) โก Instant speed (no upload waiting) โ๏ธ Works 100% offline ๐ Free & supports 30 languages
Many free online image compressors transmit files to a server for processing, which stores a copy on their machine and may impose bandwidth or CPU limits. This results in daily restrictions or watermarks. Compressly offers a browser-based alternative, compressing, resizing, converting, removing backgrounds, upscaling, and handling PDF and Word files without any server involvement.
Users can compress to an exact file size, shrinking pixel dimensions if necessary. The canvas API encodes JPEG and WebP at a set quality level, but Compressly uses binary search to achieve the desired target size. Encoding occurs in a Web Worker using OffscreenCanvas.convertToBlob(), allowing multiple iterations without freezing the browser.
Smaller PNGs retain transparency through median-cut quantisation and optional FloydโSteinberg dithering. AI background removal utilizes the ormbg segmentation model in Transformers.js, providing an AI mode for complex backgrounds and a non-AI mode for logos and signatures. PDF and Word tools manually write PDF 1.4, embedding fonts, images, and text, with DOCX files unzipped using DecompressionStream and DOMParser.
The editor allows converting between PDF and DOCX formats. Feedback is invited on the target size algorithm and background removal speed and quality.
Written by urgent.news from Dev.to's reporting โ not their text. Machine-written โ may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.