<?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: Aidvow</title>
    <description>The latest articles on DEV Community by Aidvow (@aidvow).</description>
    <link>https://dev.to/aidvow</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%2F4270616%2F63bb9a63-be5a-478c-9993-2d475e9f6ada.jpg</url>
      <title>DEV Community: Aidvow</title>
      <link>https://dev.to/aidvow</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aidvow"/>
    <language>en</language>
    <item>
      <title>How I Built a Zero-Upload Browser PDF Toolkit with Next.js and pdf-lib</title>
      <dc:creator>Aidvow</dc:creator>
      <pubDate>Sat, 28 Nov 2026 11:14:56 +0000</pubDate>
      <link>https://dev.to/aidvow/how-i-built-a-zero-upload-browser-pdf-toolkit-with-nextjs-and-pdf-lib-5cp7</link>
      <guid>https://dev.to/aidvow/how-i-built-a-zero-upload-browser-pdf-toolkit-with-nextjs-and-pdf-lib-5cp7</guid>
      <description>&lt;p&gt;Every time I needed to merge a resume, delete a blank scanner page, or watermark an ID scan, the top Google results all did the same thing: upload my private PDF to a remote server and lock basic features behind a paywall after two tasks.&lt;/p&gt;

&lt;p&gt;As a CS student, I wondered: &lt;em&gt;modern browsers already have fast binary APIs (&lt;code&gt;ArrayBuffer&lt;/code&gt;, &lt;code&gt;Blob&lt;/code&gt;, &lt;code&gt;Canvas&lt;/code&gt;). Why does merging two PDFs need a server at all?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://www.usevaultpdf.com" rel="noopener noreferrer"&gt;VaultPDF&lt;/a&gt;&lt;/strong&gt; — a suite of 8 PDF tools that execute &lt;strong&gt;100% client-side in your browser&lt;/strong&gt; with zero file uploads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Zero Upload Endpoints
&lt;/h2&gt;

&lt;p&gt;Instead of sending &lt;code&gt;FormData&lt;/code&gt; to a backend API running Ghostscript or Python, every tool reads local &lt;code&gt;File&lt;/code&gt; objects into volatile browser memory, manipulates PDF objects via &lt;a href="https://pdf-lib.js.org/" rel="noopener noreferrer"&gt;&lt;code&gt;pdf-lib&lt;/code&gt;&lt;/a&gt;, and triggers a direct local &lt;code&gt;Blob&lt;/code&gt; download:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read locally&lt;/strong&gt;: &lt;code&gt;const bytes = await file.arrayBuffer()&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Process in-browser&lt;/strong&gt;: Merge, split, rotate, delete pages, embed JPG/PNG/WebP images, stamp vector watermarks, or inspect/scrub document metadata.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Save directly to disk&lt;/strong&gt;: &lt;code&gt;URL.createObjectURL(new Blob([outBytes], { type: "application/pdf" }))&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can verify zero uploads yourself by opening &lt;strong&gt;DevTools → Network&lt;/strong&gt; (or toggling Airplane Mode after the page loads) and running any tool — zero bytes leave your machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Inside VaultPDF
&lt;/h2&gt;

&lt;p&gt;All 8 tools are free with no signup or watermarks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/merge-pdf" rel="noopener noreferrer"&gt;Merge PDF&lt;/a&gt;&lt;/strong&gt; — Combine and reorder multiple PDFs locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/split-pdf" rel="noopener noreferrer"&gt;Split &amp;amp; Extract PDF&lt;/a&gt;&lt;/strong&gt; — Extract custom ranges (&lt;code&gt;1-3, 5, 8-10&lt;/code&gt;) or burst every page into a ZIP archive with &lt;code&gt;jszip&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/rotate-reorder-pdf" rel="noopener noreferrer"&gt;Rotate &amp;amp; Organize PDF&lt;/a&gt;&lt;/strong&gt; — Fix sideways scans, reorder pages, and remove blank sheets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/delete-pdf-pages" rel="noopener noreferrer"&gt;Delete PDF Pages&lt;/a&gt;&lt;/strong&gt; — Visually mark pages (or all even/blank pages) for removal and export a freshly serialized PDF.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/images-to-pdf" rel="noopener noreferrer"&gt;Images to PDF&lt;/a&gt;&lt;/strong&gt; — Convert JPG, PNG, and WebP (auto-transcoded via local Canvas) into A4, US Letter, or exact-fit PDFs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/watermark-pdf" rel="noopener noreferrer"&gt;Watermark &amp;amp; Page Numbers&lt;/a&gt;&lt;/strong&gt; — Add diagonal vector stamps (e.g. &lt;code&gt;CONFIDENTIAL&lt;/code&gt;) and clean &lt;code&gt;Page X of Y&lt;/code&gt; footers with a live preview.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/remove-pdf-metadata" rel="noopener noreferrer"&gt;Inspect &amp;amp; Strip PDF Metadata&lt;/a&gt;&lt;/strong&gt; — Audit hidden &lt;code&gt;Author&lt;/code&gt;, &lt;code&gt;Title&lt;/code&gt;, &lt;code&gt;Creator&lt;/code&gt;, and timestamp fields embedded by Word/Pages and scrub them in one click.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.usevaultpdf.com/tools/inspect-pdf" rel="noopener noreferrer"&gt;PDF Inspector&lt;/a&gt;&lt;/strong&gt; — Analyze exact dimensions in mm/inches/points and detect A4 vs. US Letter paper mismatches before printing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Two Small Engineering Details That Mattered
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WebP Support&lt;/strong&gt;: &lt;code&gt;pdf-lib&lt;/code&gt; natively embeds JPG and PNG, not WebP. When a user drops a &lt;code&gt;.webp&lt;/code&gt; image, VaultPDF decodes it with &lt;code&gt;createImageBitmap()&lt;/code&gt; onto an offscreen HTML5 Canvas, encodes PNG bytes locally, and embeds it seamlessly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Metadata Scrubbing&lt;/strong&gt;: Simply renaming a PDF doesn't erase hidden header dictionaries. VaultPDF initializes a brand-new &lt;code&gt;PDFDocument.create()&lt;/code&gt; container, copies only the visible page objects, and blanks all metadata fields during fresh serialization.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It Out &amp;amp; Feedback Welcome
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live app: &lt;strong&gt;&lt;a href="https://www.usevaultpdf.com" rel="noopener noreferrer"&gt;https://www.usevaultpdf.com&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;strong&gt;&lt;a href="https://github.com/Aidvow/vaultpdf" rel="noopener noreferrer"&gt;https://github.com/Aidvow/vaultpdf&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Stack: Next.js (App Router), TypeScript, Tailwind CSS, &lt;code&gt;pdf-lib&lt;/code&gt;, &lt;code&gt;jszip&lt;/code&gt;, deployed on Vercel.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd love to hear your feedback — especially if you hit any PDF edge cases or have ideas for the next local-only tool to add!&lt;/p&gt;

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