دمج ملفات PDF يبدو عملية بسيطة: خذ صفحات من هنا وهناك وضعها في ملف واحد. لكن كثيرًا من الناس يُفاجأ بنتيجة مختلفة عمّا توقّع — ترتيب مختلط، أو حجم تضاعف، أو نص عربي لم يعد قابلًا للبحث. هذا الدليل يشرح الأسباب.
ملف PDF ليس «صفحات» بالمعنى الذي نتصوّره. هو فهرس كائنات: لكل صفحة كائن يشير إلى محتواها، والمحتوى يشير إلى خطوط وصور وبيانات أخرى. وعند الدمج، لا تُنسخ الصفحات كما هي بالضرورة — بل تُنسخ كائناتها وتُعاد ترقيمها في الملف الجديد.
هذا يفسّر ثلاث ظواهر شائعة:
إن كان الملف موقّعًا رقميًّا، فإن أي تعديل — حتى إضافة صفحة — يُبطل التوقيع. هذا ليس عيبًا في البرنامج، بل طبيعة التوقيع: هو يثبت أن الملف لم يتغيّر. لذلك لا تدمج مستندًا موقّعًا إن كان التوقيع مطلوبًا؛ ادمج النسخ غير الموقّعة ثم وقّع الناتج.
الملف المشفّر لا يمكن قراءته بلا كلمة المرور، وأي أداة تطلب منك كلمة المرور هي أداة تفتح الملف في ذاكرتك ثم تعيد بنائه. إن لم تكن تعرف الكلمة، فلا يوجد «تجاوز» — الملف مشفَّر رياضيًّا.
ادمج ملفاتك الآن — بلا رفع أداة «مستند»: رتّب الملفات كما تريد، ادمج، أو استخرج صفحات محدّدة مثل1-3,5.
هنا يقع أكثر خلط. «دمج» و«استخراج» لا يغيّران طبيعة النص. لكن هناك ثلاث حالات مختلفة:
| الحالة | هل النص قابل للتحديد والبحث؟ | لماذا |
|---|---|---|
| PDF مُصدَّر من Word أو من نظام محاسبي بتشفير خطوط سليم | نعم | النص مخزَّن كرموز مع خريطة خطوط |
| PDF ممسوح ضوئيًّا (Scan) | لا | لا يوجد نص، بل صورة |
| PDF بمستند عربي مُصدَّر بأدوات قديمة | قد يظهر معكوسًا أو مشوّهًا | ترتيب الحروف في الطبقة النصية غير صحيح |
الحالة الثالثة تُحلّ بـOCR (تعرّف ضوئي على الحروف) يعيد بناء الطبقة النصية. وهي عملية مختلفة عن الدمج تمامًا — والدمج لا يُصلحها.
كثيرًا ما ندمج ثم نحتاج العكس: «أريد الصفحات ٣ إلى ٧ فقط». الصيغة العملية للمدى:
3-7 — من الثالث إلى السابع.1,4,9 — الأولى والرابعة والتاسعة فقط.1-3,7,10-12 — خليط، ويُقرأ بالترتيب الذي كتبته.احذر من أمرين: رقم الصفحة يبدأ من ١ لا من ٠، ورقم الصفحة المطبوع على الورقة قد لا يطابق رقمها داخل الملف إن كان المستند يبدأ بغلاف غير مرقّم.
لا. الدمج يجمع، لا يضغط. إن كان هدفك تصغير الحجم، فأنت تحتاج عملية أخرى: إعادة ترميز الصور داخل الملف بجودة أقل. وهذا يفسّر شكوى متكرّرة: «دمجت ملفين صار الحجم أكبر» — لأن كل ما في الملفين انتقل إلى الناتج.
Merging PDF files sounds simple: take pages from here and there and put them in one file. But many people are surprised by a different result than they expected — a mixed-up order, a doubled size, or Arabic text that can no longer be searched. This guide explains why.
A PDF file is not "pages" in the way we picture them. It is an index of objects: each page has an object that points to its content, and the content points to fonts, images and other data. When you merge, the pages are not necessarily copied as they are — their objects are copied and renumbered in the new file.
That explains three common effects:
If the file is digitally signed, any change — even adding one page — invalidates the signature. This is not a flaw in the program; it is what a signature is: proof that the file has not changed. So don't merge a signed document if the signature is needed; merge the unsigned copies, then sign the result.
An encrypted file cannot be read without its password, and any tool that asks for the password is a tool that opens the file in your memory and then rebuilds it. If you don't know the password, there is no "bypass" — the file is mathematically encrypted.
Merge your files now — no upload The «Mustanad» tool: order the files the way you want, merge, or extract specific pages such as1-3,5.
This is where most confusion happens. "Merge" and "extract" do not change the nature of the text. But there are three different cases:
| Case | Can the text be selected and searched? | Why |
|---|---|---|
| A PDF exported from Word or an accounting system with proper font encoding | Yes | The text is stored as characters with a font map |
| A scanned PDF | No | There is no text, only an image |
| A PDF of an Arabic document exported with old tools | It may appear reversed or garbled | The letter order in the text layer is wrong |
The third case is fixed with OCR (optical character recognition), which rebuilds the text layer. That is a completely different process from merging — and merging does not fix it.
We often merge and then need the opposite: "I only want pages 3 to 7". The practical range format:
3-7 — from the third to the seventh.1,4,9 — only the first, fourth and ninth.1-3,7,10-12 — a mix, read in the order you wrote it.Watch out for two things: page numbers start at 1, not 0, and the number printed on the paper may not match its number inside the file if the document starts with an unnumbered cover.
No. Merging combines; it does not compress. If your goal is a smaller size, you need a different step: re-encoding the images inside the file at a lower quality. That explains a frequent complaint: "I merged two files and the size grew" — because everything in both files moved into the result.