<?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: PDF Mergely</title>
    <description>The latest articles on DEV Community by PDF Mergely (@pdf_mergely_7de2f5db895f0).</description>
    <link>https://dev.to/pdf_mergely_7de2f5db895f0</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%2F4009135%2F4b3d72c6-a689-4002-86d0-c18ac79b3fb4.png</url>
      <title>DEV Community: PDF Mergely</title>
      <link>https://dev.to/pdf_mergely_7de2f5db895f0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pdf_mergely_7de2f5db895f0"/>
    <language>en</language>
    <item>
      <title>How I built PDF tools that run entirely in your browser — no uploads, no servers</title>
      <dc:creator>PDF Mergely</dc:creator>
      <pubDate>Tue, 30 Jun 2026 07:12:59 +0000</pubDate>
      <link>https://dev.to/pdf_mergely_7de2f5db895f0/how-i-built-pdf-tools-that-run-entirely-in-your-browser-no-uploads-no-servers-3lim</link>
      <guid>https://dev.to/pdf_mergely_7de2f5db895f0/how-i-built-pdf-tools-that-run-entirely-in-your-browser-no-uploads-no-servers-3lim</guid>
      <description>&lt;p&gt;Most online PDF tools work the same way: you choose a file, it uploads to a server, the server does the work, and you download the result. For a flyer that's fine. For a contract, a payslip, or a bank statement, it means handing your document to someone else's computer and trusting what happens next.&lt;/p&gt;

&lt;p&gt;I wanted to build a PDF toolkit where that question never comes up — so I moved the code to the file instead of the file to the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core idea
&lt;/h2&gt;

&lt;p&gt;A normal web app keeps its logic on a server, so your file has to travel to it. I flipped that around. Modern browsers can read the files you choose and run real processing locally — instead of sending your file to my code, I send my code to your browser. The PDF engine downloads once, then every operation runs on your device.&lt;/p&gt;

&lt;p&gt;There's no upload step because there's nowhere to upload to. The part of a normal service that would receive your file simply doesn't exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it actually works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The file stays in memory. The browser hands the app the bytes directly via the File API — they live in the tab, not on a server.&lt;/li&gt;
&lt;li&gt;Web Workers do the heavy lifting on a background thread, so the UI stays responsive on large documents.&lt;/li&gt;
&lt;li&gt;WebAssembly runs the fast parts — like AES encryption for password-protecting a PDF — at close to native speed.&lt;/li&gt;
&lt;li&gt;A strict Content-Security-Policy locks the page down so file data has no network path out. Open the Network tab and watch: nothing leaves while you work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The easiest proof for a skeptical user: after the first load, it works fully offline. You can merge PDFs on a plane.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest tradeoffs
&lt;/h2&gt;

&lt;p&gt;This isn't magic. Because the work happens on your device, very large files depend on your machine's memory, and a phone won't be as quick as a desktop. I design around it — for example, processing one page at a time to keep memory in check.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's there today
&lt;/h2&gt;

&lt;p&gt;Merge, split, reorder, rotate, delete and extract pages, compress, watermark, page numbers, and password protect/unlock. All free, no sign-up, and it runs on mobile in any modern browser.&lt;/p&gt;

&lt;p&gt;Try it: &lt;a href="https://pdfmergely.com" rel="noopener noreferrer"&gt;https://pdfmergely.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love feedback from other builders — especially on the client-side architecture, and on which tool to add next (OCR and edit/sign are the most requested so far).&lt;/p&gt;

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