تنقيح PDF
أزل النصوص والصور نهائيًا بدل تغطيتها.
تعمل هذه الأداة داخل متصفحك بالكامل. لا يُرفع ملفك أبدًا، ويمكنك التحقق من ذلك في تبويب الشبكة بمتصفحك. تحقّق بنفسك: افتح تبويب الشبكة في متصفحك وراقب. سترى طلبًا صغيرًا واحدًا يسأل إن كان لديك مهام متبقية — اسم أداة وبصمة تجزئة، وليس الملف أبدًا.
ماذا تفعل هذه الأداة
Redaction here removes the content rather than covering it. Every page carrying a redaction is rebuilt from pixels: the boxes are drawn into the page, the page is rendered at the resolution you choose, and the render becomes the new page. The original content stream is discarded rather than edited, so there is nothing underneath to select, copy or search. Pages with no redactions are copied through untouched.
Whenever a document has to go out with something taken out of it: names in a court filing, salaries in a board pack, an account number on an invoice, patient details in a medical record, an internal comment in a contract going to the other side.
كيف تعمل
- Drop the PDF onto this page and draw boxes over whatever has to go. Each box is one redaction.
- Add a phrase under find and redact to catch every occurrence of a name or a number wherever it appears, instead of hunting page by page.
- Set the resolution for the rebuilt pages. 200 dpi reads well on screen and prints acceptably; 300 is better for print and produces a larger file.
- Leave keep the document searchable on unless you have a reason not to, and leave remove metadata on - a document's properties often hold the very name you have just taken off the page.
- Press Redact, then open the result and try to select the redacted text. There will be nothing there.
Drawing a black rectangle over text is not redaction, and the mistake has leaked court records, medical files and government documents repeatedly for twenty years. The rectangle is a drawing instruction added on top; the text underneath is still in the content stream, where anyone can select it, copy it or pull it out with a two-line script. The same is true of cropping.
Rebuilding from pixels is the only approach a browser can take that is genuinely safe, and it is deliberately blunt. The boxes are drawn into the document first and the page is rendered afterwards rather than the other way round, so no rounding in raster space can leave a one-pixel sliver of the original visible along an edge. There is no underneath, because the underneath was thrown away.
Losing search would be a real cost, so the surviving text is put back. The text layer is extracted before anything is drawn, every run falling inside a redaction box is dropped, and the rest is drawn back invisibly over the image. The document stays searchable and the redacted words are genuinely absent - the combination people assume a black box gives them and it almost never does.
The trade-off is size and fidelity on the pages you touched. A vector page that becomes a 200 dpi JPEG is usually several times larger, and links, form fields and annotations on that page do not survive the rebuild - which is why only affected pages are rebuilt. Check the result rather than trusting it: search for the word you removed, then select across the box and paste.
ما لا تستطيع هذه الأداة فعله
- Pages containing redactions are replaced by images at the resolution you choose, so they grow, stop scaling cleanly, and lose any links, form fields or annotations they carried.
- Find and redact matches text within a single run, so a phrase broken across a line or a change of font can be missed. Read the result before sending it.
- A scanned document has no text layer, so find and redact has nothing to search. Draw the boxes by hand, or run OCR PDF first.
- Redaction removes what is on the page. Content elsewhere in the file - attachments, bookmark titles, an embedded XMP record - is a separate matter; metadata removal is offered here and Sanitise PDF goes further.
أسئلة يطرحها الناس
- هل هذا تنقيح حقيقي أم مجرد مربع أسود؟
- حقيقي. الصفحات التي تنقّحها تُرسم صورًا والمربعات مطلية داخلها، وتحلّ تلك الصور محلّ الصفحات، فلا تكون كائنات النص الأصلية في الملف الناتج إطلاقًا. أما المستطيل الأسود المرسوم فوق نص فيترك النص جالسًا تحته، وهكذا تنتهي إخفاقات التنقيح إلى الأخبار.
- كيف أتأكد أن النص زال فعلًا؟
- افحصه، بطريقتين تستغرقان ثوانٍ. افتح الناتج وابحث عن كلمة منقَّحة: لا ينبغي أن تكون هناك أي نتيجة. ثم حدّد عبر المنطقة المنقَّحة وانسخ والصق في محرّر نصوص: لا ينبغي أن يصل شيء.
- هل تستطيع تنقيح كل ورود اسم ما؟
- نعم. اكتب العبارة في "ابحث ونقّح" فيُحاط كل مقطع نص مطابق بمربع، في المستند كله أو ضمن نطاق صفحات تحدّده. والمطابقة لا تفرّق بين الحروف الكبيرة والصغيرة، وثمة تعبير نمطي متاح لأنماط مثل أرقام الحسابات. ولأن المطابقة تعمل مقطعًا مقطعًا، فقد تفوت عبارة مقسومة على فاصل سطر.
- لماذا كبر حجم ملفي؟
- لأن الصفحات المنقَّحة صارت صورًا. فصفحة نص متجهي مضغوطة الحجم؛ والصفحة نفسها كصورة JPEG بدقة 200 dpi أكبر عادةً بعدة أضعاف. ولا تُحوَّل إلا الصفحات التي تحمل تنقيحات، فالأثر متناسب مع مقدار ما نقّحته. والنزول إلى 150 dpi يساعد.
- هل تنظّف الأداة خصائص المستند أيضًا؟
- نعم، افتراضيًا. البيانات الوصفية تحمل عادةً اسم المؤلف ومسار الملف الأصلي والبرنامج الذي أنتجه - وأحيانًا الاسم نفسه الذي أزلته للتوّ من الصفحة. ويمكن إيقاف هذا المفتاح حين تحتاج الخصائص سليمة.
- هل يُرفع الملف ليُنقَّح؟
- لا، وهذه هي الحجة كلها في هذه الأداة. المستند الذي تنقّحه هو بالتعريف مستند فيه شيء حساس، وإرساله إلى خادم لإزالة الجزء الحساس منه أمر مقلوب. فالرسم والتغطية وإعادة الكتابة تجري كلها داخل Web Workers في متصفحك.