DEV Community

Andrii Zhukovskyi
Andrii Zhukovskyi

Posted on Originally published at zhukovskyi.space

FileForge: I stopped uploading my files to random converter sites

In short: You don't need an online converter to turn HEIC into JPG, compress a photo, merge or sign a PDF, or decode a JWT. FileForge does all of that and more, 78 tools in total, inside your browser, so the file never leaves your device. It's free and open source, and runs as a Chrome or Firefox extension or as a web app that works offline.

FileForge is a free, open-source set of 78 file tools that runs entirely in your browser: images, PDFs and developer formats, with nothing uploaded anywhere. I built it because I was tired of handing my files to websites I didn't know, and it has made my week a little easier.

Why I replace the online services I use every day

For the last few years I've been doing the same thing again and again. I take a service I use all the time and build my own version. Not a copy: something that fits how I actually work and fixes the problems the original ignores. Logbeam started that way, and so did Health OS. FileForge is the most everyday one.

The problem with online file converters

Every week there was some small file job:

  • An iPhone photo is HEIC, and the form only takes JPG.
  • A scan has to be under 1 MB for an upload portal.
  • A photo is sideways, or one PDF page is upside down.
  • Three PDFs have to become one, with page numbers.
  • A contract has to be signed and sent back today.

Each time I searched, opened a converter site I had never seen before, sat through the ads and limits, and uploaded the file. And these files were rarely boring: passport scans, contracts, payslips, medical results. I was giving them to strangers to save five minutes.

How to convert, compress and sign files without uploading them

These are the jobs I use it for most:

The job The tool
iPhone photo is HEIC HEIC to JPG, or to PNG and WebP
Photo too big for an upload form Compress, with a live preview and a target size in KB
Sideways photo or PDF page Rotate & flip for images, Rotate for PDF pages, many files at once
Photo of a paper document Scan document photo: straightens the page, whitens the paper, saves a PDF
Several PDFs into one Merge, then Page numbers
A PDF to sign and fill in Sign & fill: draw, type or upload a signature and place it anywhere
Screenshot with private details Redact: black out, pixelate or blur
Photo with GPS location inside Remove metadata: see what's there, then strip it
Passport or visa photo ID & passport photo: 35 × 45 mm and other sizes, with a print sheet

Developer tools that keep tokens on your machine

A second set of tools replaced the tabs I used to keep open at work:

  • Markdown to PDF and Markdown to HTML, with a live preview.
  • JWT decoder: header, payload, readable dates and the expiry check. The token never leaves the page, which matters when it's a real one from production.
  • Table converter: CSV, TSV, Markdown, HTML or JSON in; a Markdown table, CSV, JSON or SQL INSERT statements out.
  • JSON format that points at the exact error position, Base64, URL encode and parse, checksums (SHA-256, MD5, CRC32), text diff and a regex tester.

How to batch-process a whole folder of files

Most of these jobs come in batches. Pipeline chains tools together and runs the chain on every file at once. A folder of photos for a website goes through resize, a watermark and compression, and comes back as one ZIP. A stack of documents goes through merge, page numbers and compression. You can drop a whole folder or a ZIP archive straight in.

photos/   resize → watermark → compress → photos.zip
docs/     merge → page numbers → compress → report.pdf
Enter fullscreen mode Exit fullscreen mode

Is it safe to convert sensitive files in the browser?

Convenience is nice, but it isn't the main point. The main point is that I know where my files go: nowhere.

  • Every tool runs on your device, inside the browser. There is no FileForge server to upload to.
  • No account, no analytics, no third-party scripts loaded from the network.
  • The extension asks for no access to websites up front. It asks for one site only when you right-click an image there and open it in FileForge.
  • The code is open, so you don't have to take my word for any of this. You can read it.

For a passport scan or a payslip, that matters more than any feature.

How to install FileForge

  • Chrome, Edge, Brave, Opera: install from the Chrome Web Store.
  • Firefox: install from Firefox Add-ons.
  • No install: open the web app in any browser. It can be installed as an app and works offline.

The interface is in English and Ukrainian. The source is on GitHub under the MIT licence. If a tool is missing or something breaks, open an issue or send a pull request: that is how the next version gets better.

It's a small tool. But I no longer think twice before converting a passport scan, and that alone made my life a little easier.

Try it: Chrome Web Store · Firefox Add-ons · Web app · GitHub

About the tool: FileForge, image and PDF tools that never upload your files.

Originally published at zhukovskyi.space.

Top comments (2)

Collapse
 
userxnom profile image
Abdullah Naseer •

The passport-scan example is the one that sells the local-only point for me — that is exactly the file I would never want to hand to a random converter site. With 78 tools in one browser app, which part was hardest to keep fully offline: the HEIC decoding, the PDF merge and signing, or the Pipeline that runs a whole chain across a folder? And for large files, does everything stay in memory in the tab, or do you stream to disk so a big PDF batch does not blow up memory?

Collapse
 
andronaft profile image
Andrii Zhukovskyi •

Thanks! Yeah, passport scans and other sensitive stuff are exactly why I built it.

Honestly, PDF was the hard part, not HEIC. HEIC was easy: libheif as WebAssembly in a worker, bundled in, done. PDF ended up needing three libraries: pdf-lib for merging and signing, pdf.js for reading, and qpdf for password-protected or broken files. The sneaky one: pdf-lib keeps everything in the file, so a page you "deleted" could still have its text inside. That took me longer to catch than any actual feature.

Memory: right now it all stays in the tab, nothing streams to disk. Each step reads the whole file and passes it on, and the ZIP is built in memory too. For big batches "Save to folder" helps, since it writes files one by one instead of one huge ZIP. Proper streaming to disk is next on my list.