<?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: ConvertOnline</title>
    <description>The latest articles on DEV Community by ConvertOnline (@convertonline).</description>
    <link>https://dev.to/convertonline</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%2F3628967%2F006c60c4-953d-4ac2-b263-f43970aea57b.png</url>
      <title>DEV Community: ConvertOnline</title>
      <link>https://dev.to/convertonline</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/convertonline"/>
    <language>en</language>
    <item>
      <title>A Black Box Doesn't Redact a PDF</title>
      <dc:creator>ConvertOnline</dc:creator>
      <pubDate>Fri, 27 Nov 2026 15:21:43 +0000</pubDate>
      <link>https://dev.to/convertonline/a-black-box-doesnt-redact-a-pdf-3nn9</link>
      <guid>https://dev.to/convertonline/a-black-box-doesnt-redact-a-pdf-3nn9</guid>
      <description>&lt;h2&gt;
  
  
  The two-second test
&lt;/h2&gt;

&lt;p&gt;Open a PDF that someone has "redacted". Put the cursor just before one of the black boxes, drag across it, copy, and paste into a plain text editor.&lt;/p&gt;

&lt;p&gt;If words appear, the document was never redacted. Someone painted over it.&lt;/p&gt;

&lt;p&gt;That test has embarrassed government agencies, law firms and courts for twenty years, and it still works on documents published this year. The reason is not carelessness alone. It is how a PDF page is built, and once you see that, the failure stops looking mysterious.&lt;/p&gt;

&lt;h2&gt;
  
  
  A PDF page is a list of drawing instructions
&lt;/h2&gt;

&lt;p&gt;A PDF page is not a picture. It is a sequence of instructions: set this font, move here, write these characters, draw this line, fill this rectangle. A viewer runs them in order, and whatever is drawn later lands on top of whatever was drawn earlier.&lt;/p&gt;

&lt;p&gt;When you draw a black rectangle over a line of text in an ordinary PDF editor, you add one more instruction at the end: &lt;em&gt;fill a rectangle here, in black&lt;/em&gt;. The instruction that writes the text is still there, unchanged. On screen the rectangle hides it. To anything that reads the file instead of looking at it (copy and paste, search, a screen reader, a search engine, a one-line script) the text is exactly where it was.&lt;/p&gt;

&lt;p&gt;We built a small test file to show it: three lines of text, with a black box drawn over an account number. This is what &lt;code&gt;pdftotext&lt;/code&gt;, a standard command-line tool, prints for it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Patient: Jane Example
Account number: 4111 2222 3333 4444
Diagnosis: confidential
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The box is solid black in every viewer. The number is still in the file. Then we ran the same file through a real redaction and asked again:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Patient: Jane Example
Account number:
Diagnosis: confidential
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same box on the page. This time the characters underneath are gone from the file, and there is nothing left to copy.&lt;/p&gt;

&lt;h2&gt;
  
  
  It keeps happening
&lt;/h2&gt;

&lt;p&gt;Three cases, years apart, with the same cause:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;December 2009, the TSA screening manual.&lt;/strong&gt; A version of the US Transportation Security Administration's airport screening procedures was posted on a federal contracting website with its sensitive passages blacked out. The black boxes were overlays; copying the text into another program revealed what was underneath. Five employees were put on administrative leave and Congress held a hearing on the breach (&lt;a href="https://spectrum.ieee.org/us-transportation-security-administration-operating-manual-accidentally-posted-online" rel="noopener noreferrer"&gt;IEEE Spectrum&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;January 2019, a court filing by Paul Manafort's lawyers.&lt;/strong&gt; Reporters found that the blacked-out passages could be copied and pasted, and the hidden text became the story. The filing was later resubmitted with working redactions. The American Bar Association's &lt;em&gt;Judges' Journal&lt;/em&gt; used it as a case study in why the copy-and-paste check matters (&lt;a href="https://www.americanbar.org/groups/judicial/publications/judges_journal/2019/spring/embarrassing-redaction-failures/" rel="noopener noreferrer"&gt;ABA&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Winter 2025–26, the US Justice Department's Epstein file releases.&lt;/strong&gt; Within days of the first batch, readers showed that text under black boxes in some of the PDFs could be selected and pasted out. In a later review the Associated Press found that some text redactions could be "overridden by simply double clicking on them to reveal the hidden text underneath" (&lt;a href="https://www.pbs.org/newshour/politics/government-says-its-fixing-thousands-of-documents-in-epstein-related-files-that-may-have-had-victim-information" rel="noopener noreferrer"&gt;PBS NewsHour / AP&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these teams lacked resources. They used a tool that draws boxes when the job needed a tool that removes content, and the two look identical on screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other places text hides in a PDF
&lt;/h2&gt;

&lt;p&gt;The text under the box is the famous failure. It is not the only one.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scanned documents with OCR.&lt;/strong&gt; A scan made searchable carries an invisible text layer behind the image. Paint over the picture of a name and the invisible copy of that name can still be underneath.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Form fields and comments.&lt;/strong&gt; Values typed into a form field and the text of comments are stored apart from the page content. A redaction that only looks at the page does not see them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document properties.&lt;/strong&gt; Author, title, subject and the software that made the file sit in the PDF's metadata. A title like &lt;em&gt;"Settlement – J. Smith v. Acme"&lt;/em&gt; outlives every black box in the body.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bookmarks and attachments.&lt;/strong&gt; The bookmark panel has its own text, and a PDF can carry whole files inside it. Neither is on any page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Earlier versions of the same file.&lt;/strong&gt; Many editors save changes by appending them to the end of the file, leaving the previous version inside. Tools that read the file directly can sometimes recover what was there before the "redaction" was saved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blur and pixelation.&lt;/strong&gt; Blurring a screenshot of text is not removal either. Short, predictable content (numbers, names from a known list) can sometimes be reconstructed from the blur. Use solid boxes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What real redaction does
&lt;/h2&gt;

&lt;p&gt;Real redaction changes the file, not just its appearance. For every marked area it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;finds the text whose characters fall inside the area and deletes those characters from the page's instructions;&lt;/li&gt;
&lt;li&gt;erases the pixels of any image that lies under the area, so a scanned page is changed too;&lt;/li&gt;
&lt;li&gt;only then paints the black box, as a marker of where something was removed;&lt;/li&gt;
&lt;li&gt;writes the result as a new file, so the earlier versions do not travel along.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The open-source &lt;a href="https://mupdf.com/" rel="noopener noreferrer"&gt;MuPDF&lt;/a&gt; engine does exactly this through its redaction annotations, and it is what we use for the &lt;a href="https://convert.online/pdf-tools/redact-pdf" rel="noopener noreferrer"&gt;Redact PDF&lt;/a&gt; tool on Convert.Online: drag across areas on a page preview, or type a name or number and have every occurrence on every page blacked out at once, with the document properties removed as well.&lt;/p&gt;

&lt;p&gt;It has limits, and they are worth knowing before you rely on any tool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Word search needs real text. A plain scan is a picture, so mark its areas by hand, or run OCR first if you want to search it.&lt;/li&gt;
&lt;li&gt;Form fields and comments are not page content. Flatten the PDF first so they become part of the page, then redact.&lt;/li&gt;
&lt;li&gt;Bookmarks and embedded attachments are a separate part of the file. If they could contain anything sensitive, check them, or remove the pages and rebuild the document.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check before you send
&lt;/h2&gt;

&lt;p&gt;Whatever tool you use, check the result yourself before it leaves your hands:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Drag across each black box, copy and paste into a plain text editor. Nothing should appear.&lt;/li&gt;
&lt;li&gt;Search the document for the names and numbers you removed. There should be no matches.&lt;/li&gt;
&lt;li&gt;Open the document properties and read every field.&lt;/li&gt;
&lt;li&gt;Open the bookmarks and attachments panels.&lt;/li&gt;
&lt;li&gt;Keep the original somewhere safe. Redaction cannot be undone, which is the whole point.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Two seconds of copy and paste is cheaper than a hearing.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://convert.online/blog/black-box-does-not-redact-pdf" rel="noopener noreferrer"&gt;Convert.Online blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>security</category>
      <category>privacy</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Automate File Conversion: Convert.Online's API and MCP Server for AI Agents</title>
      <dc:creator>ConvertOnline</dc:creator>
      <pubDate>Mon, 14 Sep 2026 09:13:04 +0000</pubDate>
      <link>https://dev.to/convertonline/automate-file-conversion-convertonlines-api-and-mcp-server-for-ai-agents-2ej2</link>
      <guid>https://dev.to/convertonline/automate-file-conversion-convertonlines-api-and-mcp-server-for-ai-agents-2ej2</guid>
      <description>&lt;h2&gt;
  
  
  You've Been Converting Files One at a Time. There's a Faster Way.
&lt;/h2&gt;

&lt;p&gt;If you've ever needed to convert a hundred invoices to PDF, or resize a folder of product photos, you know the drill: open the site, upload one file, wait, download, repeat. &lt;strong&gt;It doesn't have to be that way anymore.&lt;/strong&gt; Convert.Online now ships with a full REST API, a visual Job Builder that writes the code for you, and an MCP server that plugs conversion directly into Claude, ChatGPT, and Gemini.&lt;/p&gt;

&lt;p&gt;Here's what each one actually does — and which one is right for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The API: Conversion as Infrastructure
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://convert.online/api-docs" rel="noopener noreferrer"&gt;Convert.Online API&lt;/a&gt; is built around two simple ideas: &lt;strong&gt;jobs&lt;/strong&gt; and &lt;strong&gt;tasks&lt;/strong&gt;. A job is a single conversion request; tasks are the steps inside it — import, convert, export. That structure is what lets the same API handle a one-off PDF-to-Word conversion and a five-stage pipeline pulling a file from S3, converting it, and dropping the result on an SFTP server.&lt;/p&gt;

&lt;p&gt;The quick-start flow is five calls:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create the job&lt;/strong&gt; — &lt;code&gt;POST /v1/process/jobs&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Upload your file&lt;/strong&gt; — &lt;code&gt;PUT&lt;/code&gt; the bytes, or import it from a URL or base64&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start the conversion&lt;/strong&gt; — &lt;code&gt;POST /complete-upload&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Poll until finished&lt;/strong&gt; — &lt;code&gt;GET /v1/process/jobs/{id}&lt;/code&gt;, or subscribe to live job events over SSE instead of polling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Download&lt;/strong&gt; the result&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Beyond the basics, the API supports importing and exporting directly from &lt;strong&gt;S3, SFTP, and Google Cloud Storage&lt;/strong&gt;, chaining multiple conversions into one job (PNG → PDF → JPG in a single request), and &lt;strong&gt;webhooks&lt;/strong&gt; with signature verification so your backend gets notified the moment a job finishes — no polling loop required. There's also a sandbox mode for testing your integration without spending real quota.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Authentication is a single API key. No OAuth dance, no session cookies — just a key in a header and you're making requests.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  API Job Builder: Skip the Documentation
&lt;/h2&gt;

&lt;p&gt;Reading API docs is fine. Not reading them is faster. The &lt;a href="https://convert.online/api-job-builder" rel="noopener noreferrer"&gt;API Job Builder&lt;/a&gt; is a visual tool — pick your source format, your target format, add the tasks you need — and it generates working, ready-to-run code in eight languages: cURL, Python, Node, PHP, Ruby, Java, Go, and more. Copy, paste, done.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3y6jth9mwyjrhyikqpg6.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3y6jth9mwyjrhyikqpg6.webp" alt="Convert.Online API Job Builder with generated cURL code" width="800" height="323"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's the fastest way to find out whether the API fits your use case before you write a single line by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  MCP Server: Let Your AI Assistant Do the Converting
&lt;/h2&gt;

&lt;p&gt;This is the one most file converters don't have. Convert.Online runs a full &lt;a href="https://convert.online/mcp-server" rel="noopener noreferrer"&gt;MCP (Model Context Protocol) server&lt;/a&gt; — the open standard that lets AI assistants like Claude, ChatGPT, and Gemini call real tools instead of just talking about them. Connect it once, and you can ask your assistant to convert a file mid-conversation. No tab-switching, no manual upload.&lt;/p&gt;

&lt;p&gt;Connecting takes one of two paths:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Best for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;One-click OAuth (recommended)&lt;/td&gt;
&lt;td&gt;Claude, ChatGPT, and other assistants with native connector support&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API key&lt;/td&gt;
&lt;td&gt;Config-file clients — self-hosted or custom MCP setups&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Once connected, your assistant has five tools at its disposal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;list_formats&lt;/strong&gt; — see what conversions are supported&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;list_options&lt;/strong&gt; — check conversion-specific settings before running one&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;create_upload&lt;/strong&gt; — hand off a large local file for conversion&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;convert&lt;/strong&gt; — run the actual conversion&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;get_job&lt;/strong&gt; — check status and grab the result&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn9w25rqadptk119tm7w9.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn9w25rqadptk119tm7w9.webp" alt="Convert.Online MCP server converting a file inside an AI assistant chat" width="799" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ask "convert this HEIC photo to JPG" or "turn this DOCX into a PDF" and it just happens — the assistant picks the right tool, runs it, and hands you the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  API or MCP — Which One Do You Need?
&lt;/h2&gt;

&lt;p&gt;Short version: if you're writing code that needs to convert files at scale — a backend job, a CI pipeline, a SaaS feature — use the &lt;strong&gt;API&lt;/strong&gt; directly, or the Job Builder to get there faster. If you (or your team) already live inside an AI assistant and just want conversion to be one more thing it can do without a context switch, connect the &lt;strong&gt;MCP server&lt;/strong&gt; and never think about it again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Manual, one-file-at-a-time conversion was never going to scale — not for developers automating a pipeline, and not for anyone who'd rather just ask their assistant to handle it. Now it doesn't have to. Whether you're wiring up webhooks in production or asking Claude to batch-convert a folder of images, Convert.Online's API and MCP server turn file conversion from a task you do into infrastructure you don't think about.&lt;/p&gt;

</description>
      <category>api</category>
      <category>ai</category>
      <category>automation</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
