<?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: PDFixed</title>
    <description>The latest articles on DEV Community by PDFixed (@pdfixed).</description>
    <link>https://dev.to/pdfixed</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%2F4224960%2F3105a63e-e289-485d-8ad1-4ca1fc23b909.png</url>
      <title>DEV Community: PDFixed</title>
      <link>https://dev.to/pdfixed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pdfixed"/>
    <language>en</language>
    <item>
      <title>How to check if a "free" PDF tool uploads your file (we tested 8)</title>
      <dc:creator>PDFixed</dc:creator>
      <pubDate>Mon, 30 Nov 2026 15:30:40 +0000</pubDate>
      <link>https://dev.to/pdfixed/how-to-check-if-a-free-pdf-tool-uploads-your-file-we-tested-8-14c</link>
      <guid>https://dev.to/pdfixed/how-to-check-if-a-free-pdf-tool-uploads-your-file-we-tested-8-14c</guid>
      <description>&lt;p&gt;We build PDFixed, a free set of PDF tools that run in your browser, so take this with that in mind. We wanted to know whether the "free" PDF tools people use every day actually keep your file on your device, so we tested eight of them and wrote down exactly how.&lt;/p&gt;

&lt;p&gt;The short version: &lt;strong&gt;in our test on 26 November 2026, 7 of 8 popular free PDF sites sent the file to their servers the moment we chose it.&lt;/strong&gt; You can check any tool yourself in two minutes. Here is how.&lt;/p&gt;

&lt;h2&gt;
  
  
  The two-minute check (any browser)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the PDF tool and press &lt;strong&gt;F12&lt;/strong&gt; to open DevTools.&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Network&lt;/strong&gt; tab and click the clear button so the list is empty.&lt;/li&gt;
&lt;li&gt;Pick a &lt;strong&gt;dummy PDF&lt;/strong&gt; (never a real document) in the tool.&lt;/li&gt;
&lt;li&gt;Look at the new requests. A &lt;code&gt;POST&lt;/code&gt; or &lt;code&gt;PUT&lt;/code&gt; whose size is close to your file's size means the file was uploaded. If you only see small requests, the work is probably happening in your browser.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tip: tick &lt;strong&gt;Preserve log&lt;/strong&gt;, because some sites navigate to a new page after you choose the file and would otherwise wipe the list.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we ran our test
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;File:&lt;/strong&gt; a harmless one-page PDF with one line of sample text (633 bytes).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool:&lt;/strong&gt; the Compress PDF tool on each site, no account, Chrome, 26 November 2026.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Method:&lt;/strong&gt; we hooked &lt;code&gt;fetch&lt;/code&gt;, &lt;code&gt;XMLHttpRequest&lt;/code&gt; and &lt;code&gt;navigator.sendBeacon&lt;/code&gt; in the page, then selected the file and logged the URL and body size of every request. A request about the size of the file counts as an upload.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Control:&lt;/strong&gt; the same test on our own Compress tool.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to repeat it, a small hook like this logs the calls (paste it in the console before choosing the file):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;log&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;_fetch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;fetch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'fetch'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;_fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;_open&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;XMLHttpRequest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;open&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_send&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;XMLHttpRequest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;send&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nc"&gt;XMLHttpRequest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;open&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_u&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;_open&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;apply&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;arguments&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nc"&gt;XMLHttpRequest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prototype&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;send&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'xhr'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_u&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;_send&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;apply&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;arguments&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// after choosing the file: console.table(log)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What we found
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;File sent to a server?&lt;/th&gt;
&lt;th&gt;What the site says about deletion&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;iLovePDF&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;Within 2 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Smallpdf&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;After 1 hour&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sejda&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;After 2 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PDF24&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;Within 1 hour of last use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PDF Candy&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;Within 2 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Soda PDF&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;Within 24 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PDF2Go&lt;/td&gt;
&lt;td&gt;Yes, as soon as the file was chosen&lt;/td&gt;
&lt;td&gt;No deletion time stated on the tool page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Adobe Acrobat online&lt;/td&gt;
&lt;td&gt;Not confirmed: the page contacted Adobe's cloud to start a job, but we could not see the file itself being sent&lt;/td&gt;
&lt;td&gt;Not checked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PDFixed (ours)&lt;/td&gt;
&lt;td&gt;No request was sent&lt;/td&gt;
&lt;td&gt;Nothing to delete&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two honest notes. PDF2Go describes its compressor as working in the browser, yet in our test the file was still sent to its server; we report both facts and leave the conclusion to you. And we did &lt;strong&gt;not&lt;/strong&gt; test whether any site really deletes files, only what is sent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is uploading wrong?
&lt;/h2&gt;

&lt;p&gt;No. Many tools need a server for heavy jobs, and most of these sites explain it and promise quick deletion. The real question is whether a copy of your file leaves your device at all. For a flyer it hardly matters. For a contract, an ID or a bank statement, you are trusting someone else to delete it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;We tested one tool (Compress) per site, one small file, one day, the free anonymous version. Sites change often, so treat this as a snapshot, not a verdict. If we got something wrong, tell us and we will correct it.&lt;/p&gt;

&lt;p&gt;The full write-up, with the method and the deletion rules, is here: &lt;a href="https://pdfixed.com/blog/do-free-pdf-sites-upload-your-files" rel="noopener noreferrer"&gt;Do Free PDF Sites Upload Your Files? We Tested 8 Popular Ones&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Have you checked the tools you use? What did you see in the Network tab?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>privacy</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Why is my PDF so big? 6 causes and how to spot each one</title>
      <dc:creator>PDFixed</dc:creator>
      <pubDate>Wed, 18 Nov 2026 15:23:56 +0000</pubDate>
      <link>https://dev.to/pdfixed/why-is-my-pdf-so-big-6-causes-and-how-to-spot-each-one-5gd3</link>
      <guid>https://dev.to/pdfixed/why-is-my-pdf-so-big-6-causes-and-how-to-spot-each-one-5gd3</guid>
      <description>&lt;p&gt;&lt;strong&gt;A PDF is usually big because of the images inside it, especially photos and scanned pages, not because of the number of pages.&lt;/strong&gt; A text-only PDF can be a few dozen kilobytes, while one colour scan can be several megabytes.Two PDFs with the same number of pages can weigh 80 KB and 40 MB. A PDF is a container, and what is inside it decides the weight. These are the six most common causes.## 1. Photos and imagesThe cause in most cases. One phone photo can be several megabytes, so a few on a page make the file heavy however little text there is.## 2. Scanned pagesA scanned page is a picture of paper. At 300 dpi in colour, one page often takes one to several megabytes. At 600 dpi it can be four times larger with no visible benefit on a screen. A 40-page scanned contract can reach 100 MB. If you cannot select the text, the pages are pictures.## 3. Embedded fontsPDFs carry their fonts so they look the same everywhere. A few fonts add a few hundred kilobytes. Rarely the main cause, but it matters in small files.## 4. Repeated saving and editingSome programs add new data on each save instead of replacing the old. Merging files can do the same, because every file brings its own copy of the same fonts and images.## 5. Complex drawings and layersMaps, plans and diagrams are made of thousands of tiny lines. Transparency and layers make them heavier, and compression helps less because they are not pictures.## 6. Attachments and hidden dataA PDF can hold other files, form data, thumbnails and metadata that you never see on the page.## A quick way to find your cause1. &lt;strong&gt;Divide the size by the pages.&lt;/strong&gt; 50 to 100 KB per page is normal for text. 2 MB or more per page is almost certainly an image.2. &lt;strong&gt;Try selecting text.&lt;/strong&gt; If you cannot, the pages are pictures.3. &lt;strong&gt;Check the history.&lt;/strong&gt; Did the file grow after merging or editing?## What to do about it- &lt;strong&gt;Photos and scans:&lt;/strong&gt; compress the PDF, or rescan at 150 to 200 dpi.- &lt;strong&gt;A merged file:&lt;/strong&gt; compress it after merging.- &lt;strong&gt;Pages you do not need:&lt;/strong&gt; remove them.- &lt;strong&gt;Complex drawings:&lt;/strong&gt; have the file optimised by hand.OCR does not shrink a scan: it adds a hidden text layer. Compress first, then run OCR.If you want to try it, &lt;a href="https://pdfixed.com/compress-pdf" rel="noopener noreferrer"&gt;PDFixed&lt;/a&gt; has a free compressor that runs in your browser, so the file never leaves your device. The full article, with the FAQ, is on the &lt;a href="https://pdfixed.com/blog/why-is-my-pdf-so-big" rel="noopener noreferrer"&gt;PDFixed blog&lt;/a&gt;.ot each one&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>productivity</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Your PDF never leaves your browser: how I built 16 PDF tools with no uploads</title>
      <dc:creator>PDFixed</dc:creator>
      <pubDate>Tue, 03 Nov 2026 20:28:39 +0000</pubDate>
      <link>https://dev.to/pdfixed/your-pdf-never-leaves-your-browser-how-i-built-16-pdf-tools-with-no-uploads-38bf</link>
      <guid>https://dev.to/pdfixed/your-pdf-never-leaves-your-browser-how-i-built-16-pdf-tools-with-no-uploads-38bf</guid>
      <description>&lt;p&gt;Most "free PDF" sites work the same way: you upload your contract, they process it on a server, you download the result. It works, but your payslip or passport scan just took a trip to a stranger's machine.&lt;/p&gt;

&lt;p&gt;I wanted to see how far a browser can go on its own. The result is &lt;a href="https://pdfixed.com" rel="noopener noreferrer"&gt;PDFixed&lt;/a&gt;: 16 PDF tools where the file never leaves your device. Here is how the main ones work, in case you want to build something similar.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://pdf-lib.js.org/" rel="noopener noreferrer"&gt;pdf-lib&lt;/a&gt;&lt;/strong&gt; to create, merge, split and rewrite PDFs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://mozilla.github.io/pdf.js/" rel="noopener noreferrer"&gt;pdf.js&lt;/a&gt;&lt;/strong&gt; to render pages onto a canvas&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tesseract.projectnaptha.com/" rel="noopener noreferrer"&gt;Tesseract.js&lt;/a&gt;&lt;/strong&gt; for OCR&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alpine.js + Vite&lt;/strong&gt; for the interface&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The free tools have no upload endpoint. The server sends the page and its scripts; everything else runs in the visitor's tab. (There is a separate, optional expert editing service where you send a file on purpose, but that is not one of the tools.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Merge: pdf-lib does the heavy lifting
&lt;/h2&gt;

&lt;p&gt;Merging is the easy one. Copy the pages of each source document into a new one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;PDFDocument&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;pdf-lib&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;merged&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;PDFDocument&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;file&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;files&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;source&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;PDFDocument&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arrayBuffer&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;pages&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;merged&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;copyPages&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;source&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;source&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getPageIndices&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
  &lt;span class="nx"&gt;pages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;page&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;merged&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addPage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;page&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;bytes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;merged&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;save&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createObjectURL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Blob&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="nx"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;application/pdf&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;}));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That last line is the whole "download" step. The result is a &lt;code&gt;Blob&lt;/code&gt; in memory, and a link to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compress: most of a PDF is images
&lt;/h2&gt;

&lt;p&gt;Most of a big PDF's weight is photos and scans, not text. So the compressor finds every embedded image, decodes it, scales it down to a size limit, and saves it again as a JPEG, but only when that actually makes it smaller. Text and vector drawings are untouched, so they stay sharp and selectable. There are three levels, with different maximum image sizes and JPEG quality settings. Then pdf-lib saves the document with compact object streams.&lt;/p&gt;

&lt;p&gt;The "only if smaller" rule matters. A PDF that is already mostly text barely shrinks, and the tool says so instead of pretending.&lt;/p&gt;

&lt;h2&gt;
  
  
  OCR: a scanned PDF is just pictures
&lt;/h2&gt;

&lt;p&gt;A scanned PDF has no text, only an image of each page. To make it searchable:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;pdf.js renders each page to a canvas.&lt;/li&gt;
&lt;li&gt;Tesseract.js reads the canvas and returns the words and their positions.&lt;/li&gt;
&lt;li&gt;pdf-lib adds that text back as an invisible layer on top of the original page.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The page looks identical, but you can now search and copy it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;createWorker&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;tesseract.js&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// worker, core and language files are served from our own site&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;worker&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;createWorker&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;eng&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;workerPath&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;corePath&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;langPath&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;worker&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recognize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I host the Tesseract worker and language files myself, so OCR does not need to call any third-party server either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Protect: AES-256 in the browser
&lt;/h2&gt;

&lt;p&gt;Password protection is just encryption, and the PDF format supports AES-256. A fork of pdf-lib (&lt;code&gt;@cantoo/pdf-lib&lt;/code&gt;) can encrypt a document before saving it. The password is used locally and never sent anywhere, which also means I cannot recover a forgotten one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What did not go smoothly
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Big files are limited by the tab's memory.&lt;/strong&gt; Rendering hundreds of pages to canvases is heavy, so there is a file size cap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR is slow.&lt;/strong&gt; It takes a few seconds per page, and accuracy depends on how clean the scan is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PDF to Word is approximate.&lt;/strong&gt; I convert text and basic formatting, but tables and pictures are not rebuilt, and I say so in the tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PDF is a strange format.&lt;/strong&gt; Fonts, encodings and broken files will humble you. Always test with real-world PDFs, not only the ones you made yourself.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check it yourself
&lt;/h2&gt;

&lt;p&gt;Open DevTools, go to the Network tab, drop a file into any tool and watch. You will see the page's scripts load, and no request carrying your document.&lt;/p&gt;

&lt;p&gt;If you try it, I would like to hear which PDF job annoys you most that a tool like this could handle. The tools are free, with no account: &lt;a href="https://pdfixed.com" rel="noopener noreferrer"&gt;pdfixed.com&lt;/a&gt;.&lt;/p&gt;

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