<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kevin Rusev</title>
    <description>The latest articles on DEV Community by Kevin Rusev (@kevinrusev).</description>
    <link>https://dev.to/kevinrusev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267736%2F6a6aa8b8-cdba-4ca7-9aab-6573dd241643.png</url>
      <title>DEV Community: Kevin Rusev</title>
      <link>https://dev.to/kevinrusev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kevinrusev"/>
    <language>en</language>
    <item>
      <title>I built 67 file tools that never upload your files. Here's how the browser does it all</title>
      <dc:creator>Kevin Rusev</dc:creator>
      <pubDate>Thu, 26 Nov 2026 21:32:07 +0000</pubDate>
      <link>https://dev.to/kevinrusev/i-built-67-file-tools-that-never-upload-your-files-heres-how-the-browser-does-it-all-461l</link>
      <guid>https://dev.to/kevinrusev/i-built-67-file-tools-that-never-upload-your-files-heres-how-the-browser-does-it-all-461l</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I'm the founder of &lt;a href="https://capyfiles.com/?utm_source=devto" rel="noopener noreferrer"&gt;Capy Files&lt;/a&gt;. This post is about how it works, including the parts that were hard.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most "free online PDF tools" work the same way: you upload your file to their server, they process it, you download the result. That's fine for a meme. It's less fine for a payslip, a contract, a medical letter or a client's tax return.&lt;/p&gt;

&lt;p&gt;So I wanted to see how far a browser can go on its own. The answer turned out to be: almost all the way. Capy Files does PDF editing, redaction, compression, video trimming, background removal, OCR and transcription entirely on your device. The server never sees a file.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check that claim yourself
&lt;/h2&gt;

&lt;p&gt;Don't take my word for it (or anyone's who says "we don't upload"):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the tool, then open DevTools → Network.&lt;/li&gt;
&lt;li&gt;Add a file and run the job. You'll see no request carrying your file.&lt;/li&gt;
&lt;li&gt;Or simpler: load the page, &lt;strong&gt;turn your Wi-Fi off&lt;/strong&gt;, then use the tool. It still works.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That second test is the honest one. If a site needs the network to process your file, your file is going somewhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  What runs where
&lt;/h2&gt;

&lt;p&gt;Everything happens in Web Workers, so the page stays responsive, and every engine is WebAssembly or a browser API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PDFs:&lt;/strong&gt; &lt;a href="https://github.com/mozilla/pdf.js" rel="noopener noreferrer"&gt;pdf.js&lt;/a&gt; to read and render, &lt;a href="https://github.com/cantoo-scribe/pdf-lib" rel="noopener noreferrer"&gt;pdf-lib&lt;/a&gt; to write. Editing changes the PDF's own text lines rather than pasting a white box over them, and redaction removes the words from the file, not just from view.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Office to PDF:&lt;/strong&gt; LibreOffice compiled to WebAssembly. Yes, the whole thing, in a tab. It's big, so it only downloads when you use it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Images:&lt;/strong&gt; the &lt;a href="https://github.com/jamsinclair/jSquash" rel="noopener noreferrer"&gt;jSquash&lt;/a&gt; codecs (MozJPEG, WebP, AVIF, OxiPNG) from the Squoosh project, plus vtracer for image to SVG.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video and audio:&lt;/strong&gt; &lt;a href="https://github.com/Vanilagy/mediabunny" rel="noopener noreferrer"&gt;Mediabunny&lt;/a&gt; on top of WebCodecs. Trimming an MP4 or MOV is a remux, so it's instant and loses no quality. Compression uses the browser's hardware encoder where it can.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI:&lt;/strong&gt; ONNX models through &lt;a href="https://github.com/huggingface/transformers.js" rel="noopener noreferrer"&gt;Transformers.js&lt;/a&gt;, on WebGPU when available: BiRefNet for background removal, Whisper for transcription, PaddleOCR for text recognition.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The site itself is a pre-rendered React app on Cloudflare. The server's only jobs are serving files, sign-in and payments.&lt;/p&gt;

&lt;h2&gt;
  
  
  The parts that were hard
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Model downloads.&lt;/strong&gt; "No upload" for AI means the model comes to you instead. The background-removal model is ~86 MB, and Whisper is bigger. They're cached after the first run, but asking someone for 86 MB before they've seen a single result is a lot. So the AI pages now show a real result from a sample file before anything downloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory on phones.&lt;/strong&gt; A 2 GB video can't sit in memory on a phone. Lots of the media work is about streaming instead of loading whole files, and about saying clearly when a device simply can't do a job.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cross-origin isolation.&lt;/strong&gt; Some engines need &lt;code&gt;SharedArrayBuffer&lt;/code&gt;, which needs COOP/COEP headers, which then break third-party embeds and sign-in popups. Tool pages are isolated; the login and checkout pages aren't.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Updates vs. open tabs.&lt;/strong&gt; This one bit me this week. Each tool starts a fresh worker per job, from a file whose name is hashed per build. Someone with a tab left open across a few deploys pressed "Cut" twelve times and got a crash every time, because their version's worker file no longer existed on the server. The fix: each deploy keeps the last week's versions around, and a tab older than that is told to reload instead of being blamed for running out of memory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offline.&lt;/strong&gt; A service worker caches the app shell and the everyday engines, so the common tools work offline from the first visit, not just after you've used them once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is it free?
&lt;/h2&gt;

&lt;p&gt;Most tools are free with no account. Some heavier jobs (bigger batches, the best-quality AI models, saving certain edits without a watermark) are part of Pro. That's how I keep the lights on without selling data, since there's no data to sell.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd love feedback on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Tools you'd want that only exist as upload-based sites today&lt;/li&gt;
&lt;li&gt;Browsers or devices where something breaks (Safari and older Android are the usual suspects)&lt;/li&gt;
&lt;li&gt;Whether the "turn off your Wi-Fi" test is convincing, or whether you'd want something stronger&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it at &lt;a href="https://capyfiles.com/?utm_source=devto" rel="noopener noreferrer"&gt;capyfiles.com&lt;/a&gt;, and tell me what breaks.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>webassembly</category>
      <category>javascript</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
