<?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: Daniel Wilson</title>
    <description>The latest articles on DEV Community by Daniel Wilson (@daniel_wilson_b13115108c6).</description>
    <link>https://dev.to/daniel_wilson_b13115108c6</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%2F4268142%2Fe383c53a-5ad0-4fbe-8072-2ac01d17ce11.png</url>
      <title>DEV Community: Daniel Wilson</title>
      <link>https://dev.to/daniel_wilson_b13115108c6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/daniel_wilson_b13115108c6"/>
    <language>en</language>
    <item>
      <title>Merge PDFs Without Uploading Them: How Client-Side PDF Tools Work</title>
      <dc:creator>Daniel Wilson</dc:creator>
      <pubDate>Fri, 27 Nov 2026 05:17:10 +0000</pubDate>
      <link>https://dev.to/daniel_wilson_b13115108c6/merge-pdfs-without-uploading-them-how-client-side-pdf-tools-work-28mh</link>
      <guid>https://dev.to/daniel_wilson_b13115108c6/merge-pdfs-without-uploading-them-how-client-side-pdf-tools-work-28mh</guid>
      <description>&lt;p&gt;Merge PDFs without uploading them — that is the promise, and it sounds too simple to be a technical claim. But it is one, and the difference between a tool that keeps it and a tool that breaks it is exactly one network request.&lt;/p&gt;

&lt;p&gt;Most "free" PDF tools are thin clients for a server. You drop files into a page, the page POSTs them to an API, the server does the work, and the result comes back as a download. Your documents — contracts, invoices, medical records — sit on someone else's disk for a while, under someone else's retention policy. The page never tells you that part.&lt;/p&gt;

&lt;p&gt;A client-side tool does the same job with no server at all. Here is how it works, how to tell the two apart, and how to merge a stack of PDFs in about a minute.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why your files leave your computer in the first place
&lt;/h2&gt;

&lt;p&gt;PDF manipulation is heavy work: parsing objects, reordering pages, rewriting cross-reference tables. For years the obvious place to do it was a server, so that is where the tools were built. The browser was just the upload form.&lt;/p&gt;

&lt;p&gt;That is no longer necessary. Modern browsers can run the same parsing and rewriting locally — the libraries that do it are compiled to WebAssembly or plain JavaScript and run in the page. The file is read into memory on your machine, the pages are rearranged there, and the merged file is written out as a download. No request is ever made. From the network's point of view, nothing happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  How client-side merging works
&lt;/h2&gt;

&lt;p&gt;The pipeline is short: parse the input files, copy their page objects into a new document in the order you chose, rewrite the document catalogue, and serialise the result. All of it happens in the tab. The practical consequences are the ones users actually feel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing to trust.&lt;/strong&gt; There is no retention policy to read because there is no server holding your files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No account wall.&lt;/strong&gt; A tool with no backend has nothing to attach an account to, so it doesn't ask for one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It works offline.&lt;/strong&gt; Once the page has loaded, you can cut the network and the merge still runs. That is the definitive test, and it takes five seconds.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The offline test
&lt;/h2&gt;

&lt;p&gt;Load the tool's page, open your browser's developer tools, switch to the Network tab and clear it. Now merge your files. If the Network tab stays empty — zero requests while the merge runs — nothing left your device. If you see uploads, the tool is server-side whatever its homepage claims. Run this test on any PDF tool before you trust it with sensitive documents. It is the fastest privacy audit you will ever do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Merge in four steps
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://slatepdf.space/" rel="noopener noreferrer"&gt;SlatePDF&lt;/a&gt;'s free &lt;a href="https://slatepdf.space/tools/merge-pdf" rel="noopener noreferrer"&gt;merge tool&lt;/a&gt; is client-side end to end. The whole job takes about a minute:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Open the tool.&lt;/strong&gt; No install, no account, just the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Add your PDFs.&lt;/strong&gt; Select up to 20 files at once — reports, invoices, scanned pages. They appear as a list in the order you added them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Put them in the right order.&lt;/strong&gt; Drag files into the sequence you want — cover page first, appendix last. This is the step people skip and regret, because a merged PDF is awkward to fix after the fact.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Merge and download.&lt;/strong&gt; One click combines everything into a single PDF that downloads straight to your computer. The originals are untouched, and nothing was ever uploaded.&lt;/p&gt;

&lt;p&gt;If you want the longer version — scanned documents, mixed page sizes, password-protected files — there is a &lt;a href="https://slatepdf.space/blog/how-to-merge-pdf-files" rel="noopener noreferrer"&gt;full step-by-step guide&lt;/a&gt; with the edge cases covered.&lt;/p&gt;

&lt;h2&gt;
  
  
  Edge cases worth knowing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Mixed page sizes.&lt;/strong&gt; A4 and Letter pages merge fine; each page keeps its own dimensions. The result is a valid PDF, just not a uniform one. If you need uniformity, resize the pages first and merge second.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Password-protected files.&lt;/strong&gt; A locked PDF can't be read by the browser either. Unlock it first, merge, and protect the result again if it needs protecting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blank pages from scanners.&lt;/strong&gt; Scanners add them constantly, and they land in the middle of merged documents. Drop them before merging — it is a thirty-second job that saves an embarrassing re-send.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Very large files.&lt;/strong&gt; Twenty scanned pages can push the result past email attachment limits. Merge first, then compress the result — one tidy file at a sensible size beats twenty small ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to avoid
&lt;/h2&gt;

&lt;p&gt;Treat any merge tool as server-side until proven otherwise if it demands an email address before starting, watermarks the result unless you pay, or caps you at one merge a day. Those are the tells of a backend with a business model attached. A genuinely free client-side tool merges your files, hands you the result and asks for nothing — because there is nothing on its side to pay for.&lt;/p&gt;

&lt;p&gt;The merge itself is a solved problem. The interesting question was never how to combine the pages; it is where the combining happens. Once it happens on your machine, the privacy question answers itself.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I build &lt;a href="https://slatepdf.space/" rel="noopener noreferrer"&gt;SlatePDF&lt;/a&gt;, a free toolkit of 56 PDF tools that all run in your browser — merge, split, compress, convert, edit, sign and more. Your files never leave your device, there's no sign-up and no watermark.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>webdev</category>
      <category>privacy</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Compress a PDF for WhatsApp (Without Installing Anything)</title>
      <dc:creator>Daniel Wilson</dc:creator>
      <pubDate>Fri, 27 Nov 2026 05:16:31 +0000</pubDate>
      <link>https://dev.to/daniel_wilson_b13115108c6/how-to-compress-a-pdf-for-whatsapp-without-installing-anything-2j60</link>
      <guid>https://dev.to/daniel_wilson_b13115108c6/how-to-compress-a-pdf-for-whatsapp-without-installing-anything-2j60</guid>
      <description>&lt;p&gt;A 40 MB scanned contract takes ages to send over mobile data, eats the recipient's data allowance, and often sits undownloaded because their phone doesn't auto-download documents. Here is how to shrink it for WhatsApp in under a minute, in your browser, with no upload and no app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why bother compressing at all?
&lt;/h2&gt;

&lt;p&gt;Since 2022, WhatsApp has allowed files of up to 2 GB, so in current versions a PDF rarely fails on size alone. The often-quoted 16 MB figure is an older media limit — and WhatsApp Business API accounts have lower caps (100 MB for documents), so check your app's own message if a send fails.&lt;/p&gt;

&lt;p&gt;The reasons to compress are practical, not technical: speed over mobile data, the recipient's storage and data allowance, and whatever happens to the file next — a 25 MB email attachment limit, or an upload portal that only accepts 5 MB. A smaller file is also simply more likely to be opened.&lt;/p&gt;

&lt;h2&gt;
  
  
  The method: compress in your browser
&lt;/h2&gt;

&lt;p&gt;Some PDF tools do all the work inside your browser. The file never leaves your device — the compression happens on your own computer, in the page you're looking at. Nothing is sent anywhere, so there's nothing for a server to store, leak or keep. That matters most for exactly the documents people send over WhatsApp: contracts, invoices, bank statements.&lt;/p&gt;

&lt;p&gt;Here's the whole process. It takes about a minute:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Open the &lt;a href="https://slatepdf.space/tools/compress-pdf" rel="noopener noreferrer"&gt;compress tool&lt;/a&gt;.&lt;/strong&gt; No install, no account. Just the page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Add your PDF.&lt;/strong&gt; One file at a time — the contract, the scanned pages, whatever needs shrinking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Pick a target size.&lt;/strong&gt; Type a size in MB or KB — 5 MB is a sensible default for chat — or pick a quick preset: 50%, 25%, 10% or 5% of the original. Read the note under the target: it tells you whether the pages will have to become images to get there.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Compress and download.&lt;/strong&gt; Click Compress, check the new size, and download the result. The original is untouched.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Send it as a Document.&lt;/strong&gt; In WhatsApp, attach it with the paperclip (or +) → Document option — not through Photos &amp;amp; Videos. Sent as a document, WhatsApp delivers the PDF unchanged, and the recipient can download, open and forward it without any loss. Sent as a photo, WhatsApp recompresses it, and that's usually why a document arrives looking ruined.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the compression actually works
&lt;/h2&gt;

&lt;p&gt;First, a lossless pass tidies the file's internal structure. If that alone reaches your target, text, links and quality are untouched.&lt;/p&gt;

&lt;p&gt;If it doesn't, the pages are rebuilt as images at gradually lower quality until the file fits. Rebuilt pages keep an invisible text layer, so words can still be searched — but links and form fields don't survive. If the target can't be reached, the tool says so and gives you the smallest size it managed, rather than failing silently.&lt;/p&gt;

&lt;p&gt;The smallest target the tool accepts is around 50 KB. For very small limits on a long document, there are extra steps — but for WhatsApp, you rarely need to go that far.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing the right target size
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Text document exported from Word:&lt;/strong&gt; leave it, or 50%. Often already small; the lossless pass may be enough.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contract or invoice in a hurry:&lt;/strong&gt; 2–5 MB. Clean, readable text, fast to send.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone scans of several pages:&lt;/strong&gt; 2–5 MB. Readable; scans usually shrink a lot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Presentation with big image slides:&lt;/strong&gt; 5–10 MB. Images softened, layout intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Has to go below 1 MB:&lt;/strong&gt; under 1 MB. Pages become images; check small print is still legible.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What goes wrong
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;"Could not reach target size":&lt;/strong&gt; the content can't go that small and stay a PDF. Accept the smallest size offered, or split the document into two messages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The PDF won't open in the compressor:&lt;/strong&gt; it's password-protected. Remove the password first, compress, and protect it again if needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Small print is blurry after compressing:&lt;/strong&gt; the target was too aggressive. Compress the original again with a larger target — never compress the compressed copy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The recipient sees a grey box instead of the file:&lt;/strong&gt; they haven't downloaded it yet. Documents on mobile data often wait for a tap.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five-second test
&lt;/h2&gt;

&lt;p&gt;Before you hit send, open the compressed PDF on your own phone and zoom into the smallest text: an account number, a date, a signature. If you can read it without squinting, so can they. If not, go one step larger on the target size. The check takes five seconds and saves a resend.&lt;/p&gt;

&lt;p&gt;The same method works for any channel with a limit — the principle is always the same: shrink it on your own device, send it as a document, and check it before it leaves your hands.&lt;/p&gt;

&lt;p&gt;The full guide, with screenshots and the target-size table, is here: &lt;a href="https://slatepdf.space/blog/how-to-compress-a-pdf-for-whatsapp" rel="noopener noreferrer"&gt;How to Compress a PDF for WhatsApp&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I build &lt;a href="https://slatepdf.space/" rel="noopener noreferrer"&gt;SlatePDF&lt;/a&gt;, a free toolkit of 56 PDF tools that all run in your browser — merge, split, compress, convert, edit, sign and more. Your files never leave your device, there's no sign-up and no watermark.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>productivity</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
