About FileDes
FileDes is a free, privacy-first file utility for one very common problem: a form says “maximum 20 KB”, “maximum 200 KB” or “maximum 2 MB”, and your file is just over the line.
Why we built it
Most online compressors upload your file to a server, process it there, and send it back. That is unnecessary for image resizing and PDF re-encoding — browsers have had the required APIs for years. Uploading a passport photo or a financial PDF to an unknown server is a privacy risk with no real benefit. FileDes removes the server entirely.
How it works
- Images: decoded to a Canvas, then compressed with a binary search over JPEG/WebP quality (8 iterations between 0.05 and 0.95). If the target is still too tight, dimensions are scaled down by 15% per pass. PNG output uses dimension scaling and palette reduction because PNG has no quality setting.
- PDFs: rendered page-by-page with pdf.js, encoded as JPEG, then rebuilt with pdf-lib. DPI and JPEG quality are calibrated until the new PDF fits the target.
- Formats: HEIC/HEIF is decoded locally with heic2any. WebP, AVIF, BMP, PNG and JPG are decoded by the browser itself.
- Batches: up to 20 files are processed one at a time to keep memory stable, and results can be downloaded individually or as a ZIP built by JSZip.
What we do not do
We do not upload, store, mine or share your files. We do not require an account. We do not add watermarks. There is no backend, so there is no database of user files to breach. The site is statically generated with Astro and served as plain HTML, CSS and JavaScript.
Contact
Questions, bug reports or partnership ideas? Emailcontact@filedes.com.