<?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: ShamsPDF</title>
    <description>The latest articles on DEV Community by ShamsPDF (@shamspdf).</description>
    <link>https://dev.to/shamspdf</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%2F4257842%2Fbe7add8b-7f1a-4841-8644-a028d71377e4.png</url>
      <title>DEV Community: ShamsPDF</title>
      <link>https://dev.to/shamspdf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shamspdf"/>
    <language>en</language>
    <item>
      <title>Your black box isn't hiding anything: why most PDF redactions fail</title>
      <dc:creator>ShamsPDF</dc:creator>
      <pubDate>Sat, 21 Nov 2026 20:07:22 +0000</pubDate>
      <link>https://dev.to/shamspdf/your-black-box-isnt-hiding-anything-why-most-pdf-redactions-fail-29a7</link>
      <guid>https://dev.to/shamspdf/your-black-box-isnt-hiding-anything-why-most-pdf-redactions-fail-29a7</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wum3y9egke96217m3r4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wum3y9egke96217m3r4.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You draw a black box over a name, an account number or a passport number. You save the PDF and send it. It looks safe.&lt;/p&gt;

&lt;p&gt;Often it isn't. In many cases the text is still in the file, just covered. Anyone can select it, copy it, or search for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it happens
&lt;/h2&gt;

&lt;p&gt;A PDF is built in layers. The text sits in the page content. When you draw a rectangle with a "shape", "highlight" or "comment" tool, the PDF just adds a new layer on top. The text underneath is untouched.&lt;/p&gt;

&lt;p&gt;That's fine for reading on screen. It's useless for hiding information.&lt;/p&gt;

&lt;h2&gt;
  
  
  A 10-second test
&lt;/h2&gt;

&lt;p&gt;Open your "redacted" PDF and try any of these:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Select and copy:&lt;/strong&gt; drag over the black box, press Ctrl+C, paste into Notepad.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search:&lt;/strong&gt; press Ctrl+F and type a word you hid.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extract the text:&lt;/strong&gt; run the file through any PDF to Text tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Move the box:&lt;/strong&gt; open it in a PDF editor and try to drag or delete the rectangle.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If any of these shows the hidden words, the redaction failed.&lt;/p&gt;

&lt;p&gt;We tried this on a test file with black boxes over a name and an account number. A PDF to Text run still printed both, in plain text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other places data hides
&lt;/h2&gt;

&lt;p&gt;Even with the visible text gone, a PDF can still leak:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Metadata:&lt;/strong&gt; author name, original title, software used&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Earlier versions:&lt;/strong&gt; some editors append changes instead of rewriting the file, so old content can remain inside&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Comments, form fields and hidden layers&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR text on scans:&lt;/strong&gt; a scanned page can have an invisible text layer. A box over the image doesn't remove that text&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to redact properly
&lt;/h2&gt;

&lt;p&gt;Real redaction &lt;strong&gt;removes&lt;/strong&gt; the text and the image pixels underneath, then saves a new file.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Use a real redaction tool, not a drawing tool. In Adobe Acrobat Pro it's the Redact tool, and you must apply it. A free option is &lt;a href="https://shamspdf.com/redact-pdf" rel="noopener noreferrer"&gt;ShamsPDF Redact&lt;/a&gt;: it removes what's under each box. This one runs on a server, and the file is deleted right after download.&lt;/li&gt;
&lt;li&gt;Run the 10-second test again on the new file.&lt;/li&gt;
&lt;li&gt;Remove metadata and hidden data before sharing.&lt;/li&gt;
&lt;li&gt;When it really matters, print to a fresh PDF or export the pages as images, then check once more.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Used a redaction tool, not a shape or highlight&lt;/li&gt;
&lt;li&gt;[ ] Copy, search and PDF-to-Text show nothing&lt;/li&gt;
&lt;li&gt;[ ] Metadata and comments removed&lt;/li&gt;
&lt;li&gt;[ ] Shared the new file, not the original&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you ever received a "redacted" PDF where the text was still there? I'd like to hear the stories in the comments.&lt;/p&gt;

</description>
      <category>security</category>
      <category>productivity</category>
      <category>privacy</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How browser-only PDF tools work (and why your file never gets uploaded)</title>
      <dc:creator>ShamsPDF</dc:creator>
      <pubDate>Sat, 21 Nov 2026 19:35:34 +0000</pubDate>
      <link>https://dev.to/shamspdf/how-browser-only-pdf-tools-work-and-why-your-file-never-gets-uploaded-575l</link>
      <guid>https://dev.to/shamspdf/how-browser-only-pdf-tools-work-and-why-your-file-never-gets-uploaded-575l</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuz5rac6gadk4arc6qux0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuz5rac6gadk4arc6qux0.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most online PDF tools upload your file to their server, process it there, and send it back. For a contract, a passport scan or a bank statement, that's a lot of trust.&lt;/p&gt;

&lt;p&gt;It doesn't have to work that way. Modern browsers can do most PDF work on your own device. That's the idea behind &lt;a href="https://shamspdf.com" rel="noopener noreferrer"&gt;ShamsPDF&lt;/a&gt;, a free set of 40+ PDF tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  What runs in the browser
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Merge, split, rotate, reorder, delete pages:&lt;/strong&gt; pdf-lib reads the PDF, moves pages around and writes a new file, all in memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Previews and thumbnails:&lt;/strong&gt; pdf.js renders each page to a canvas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compress, sign, watermark, page numbers:&lt;/strong&gt; also local. The download is created with a Blob URL, so nothing leaves the tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can check this yourself: open DevTools → Network, run Merge, and you'll see no file upload.&lt;/p&gt;

&lt;h2&gt;
  
  
  What needs a server (and how it's handled)
&lt;/h2&gt;

&lt;p&gt;Some jobs need heavy software:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Word, Excel and PowerPoint to PDF (LibreOffice)&lt;/li&gt;
&lt;li&gt;PDF to Word&lt;/li&gt;
&lt;li&gt;OCR for scanned pages&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For these, the file is sent over HTTPS, processed in a temporary folder, and deleted right after download (within 10 minutes at most). Files are virus-scanned before processing. The site says clearly which tools are browser-only and which use the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  One feature I haven't seen elsewhere: Smart Arrange
&lt;/h2&gt;

&lt;p&gt;If you scan a 20-page document and the pages come out in the wrong order, Smart Arrange reads the page numbers (OCR for scans), turns upside-down pages, and drops blank and duplicate pages. Then it puts everything back in order.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;It's free, needs no sign-up, and works in 12 languages. If you find something broken or missing, I'd love to hear it in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>nextjs</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
