ซ่อม PDF
สร้างไฟล์ที่เสียหายขึ้นใหม่ให้เปิดได้อีกครั้ง
เครื่องมือนี้ทำงานในเบราว์เซอร์ของคุณทั้งหมด ไฟล์ของคุณไม่ถูกอัปโหลดเลย และคุณตรวจสอบได้เองในแท็บเครือข่ายของเบราว์เซอร์ ตรวจสอบด้วยตัวเอง เปิดแท็บเครือข่ายของเบราว์เซอร์แล้วดู คุณจะเห็นคำขอเล็ก ๆ หนึ่งรายการที่ถามว่าคุณยังมีโควตางานเหลืออยู่หรือไม่ ซึ่งมีแค่ชื่อเครื่องมือกับค่าแฮช ไม่ใช่ตัวไฟล์
เครื่องมือนี้ทำอะไร
This rebuilds a damaged PDF from whatever is still readable inside it. The cross-reference table - the index that tells a reader where every object lives - is reconstructed by scanning the file, and the result is written out as a clean document. Before you are offered anything, the repaired file is opened again to check it really works, and the report tells you how many pages it had before and how many it has now.
Use it when a reader refuses the file: a download that stopped part way, a file recovered from a failing drive or a memory card, one that came out of a crashed export, or one that opens in a browser but not in Acrobat.
วิธีทำงาน
- Drop the damaged PDF onto this page. This is the one tool that accepts a file whose header looks wrong, because that is exactly the file it exists for.
- Leave Rebuild the cross-reference table on. It is the fix for the large majority of PDFs that will not open.
- Leave Recover pages on so that, if the ordinary repair fails, the document can be rebuilt from its pages alone.
- Turn on Drop unreadable objects only if the first attempt fails. It sacrifices whatever those objects held in exchange for getting a file at all.
- Press Repair, then read the report: it says how many pages were readable before and how many the repaired file contains.
Most files that will not open are not badly damaged. A PDF ends with a table of byte offsets pointing at every object in it, and if that table is wrong - because bytes were added, a transfer truncated, or an editor wrote it incorrectly - a strict reader gives up even though the content is all present. The repair scans the whole file for objects, rebuilds the table from what it finds, and writes a fresh document around it.
There is a second, stronger attempt behind the first. If the ordinary repair cannot complete, the document is rebuilt from its page tree into an empty file, which recovers documents whose catalogue is gone but whose pages survived - the usual shape of an interrupted download. That path copies page content and leaves document-level structures behind, so a file recovered this way may lose its outline, its interactive form and its attachments while keeping every page.
The result is verified before it is offered to you. A repair that produces a file nothing can open has not repaired anything, so the output is read back and its pages counted. The counts before and after are both reported, and a repair that recovered 4 pages of 40 is a very different outcome from one that recovered all 40.
Nothing can be recovered that is not in the file. If a transfer stopped at 60 per cent, the missing 40 per cent is gone and no tool will invent it. Keep the damaged original until you have checked the result, because a second attempt with different options sometimes does better.
The repair runs on your device using qpdf compiled to WebAssembly. That matters more here than elsewhere: a file you cannot open is a file you cannot check, and uploading an unknown document to a stranger's server to find out what is in it is a poor trade.
สิ่งที่เครื่องมือนี้ทำไม่ได้
- Data that is genuinely missing cannot be recovered. A truncated download comes back as the pages that arrived, not as the whole document.
- An encrypted file cannot be repaired without its password, because its objects cannot be read. Remove the protection with Unlock PDF first.
คำถามที่คนมักถาม
- ไฟล์ PDF ที่เปิดไม่ได้นั้นเสียตรงไหนกันแน่
- ส่วนใหญ่คือตารางอ้างอิงไขว้ ซึ่งเป็นดัชนีตำแหน่งไบต์ที่อยู่ท้ายไฟล์ หากตารางไม่ตรงกับตำแหน่งจริงของอ็อบเจกต์ โปรแกรมอ่านที่เข้มงวดจะปฏิเสธเอกสารทั้งที่เนื้อหายังอยู่ครบ การสแกนไฟล์เพื่อสร้างตารางนั้นขึ้นใหม่แก้กรณีแบบนี้ได้เป็นส่วนใหญ่
- จะกู้หน้าเอกสารกลับมาได้กี่หน้า
- ได้เท่าที่ยังอ่านออก และผลลัพธ์จะบอกจำนวนให้คุณทราบ ระบบจะรายงานจำนวนหน้าที่อ่านได้ก่อนการซ่อม ซึ่งมักเป็นศูนย์เพราะไฟล์เปิดไม่ได้อยู่แล้ว และจำนวนหน้าที่เอกสารซึ่งซ่อมแล้วมีอยู่ หากตัวเลขไม่ตรงกับที่คุณคาดไว้ แสดงว่าบางส่วนของไฟล์หายไป ไม่ใช่แค่เสียหาย
- ซ่อมไม่สำเร็จ มีอะไรให้ลองอีกบ้าง
- เปิดตัวเลือกทิ้งอ็อบเจกต์ที่อ่านไม่ได้แล้วรันอีกครั้ง อ็อบเจกต์ที่แยกวิเคราะห์ไม่ได้จะถูกทิ้งแทนที่จะหยุดงานทั้งหมด ซึ่งทำให้เสียสิ่งที่อยู่ในนั้นไป แต่มักได้เอกสารที่ใช้งานได้ หากยังไม่สำเร็จ ให้เทียบขนาดไฟล์กับต้นทางเดิม ไฟล์ที่เล็กกว่าที่ควรจะเป็นมากคือไฟล์ที่ถูกตัดขาดระหว่างการส่ง ทางแก้เดียวคือดาวน์โหลดใหม่
- ต้องอัปโหลดไฟล์ที่เสียหายหรือไม่
- ไม่ และเรื่องนี้มีความหมายมากในกรณีนี้ ไฟล์ที่คุณเปิดไม่ได้คือไฟล์ที่คุณตรวจสอบไม่ได้ การส่งไปยังเซิร์ฟเวอร์ที่ไม่รู้จักเพื่อดูว่าข้างในมีอะไรจึงเป็นความเสี่ยงที่คุณไม่จำเป็นต้องรับ qpdf ทำงานเป็น WebAssembly ในเบราว์เซอร์ของคุณ และไม่มีอะไรถูกส่งออกไป
- การซ่อมเปลี่ยนแปลงตัวหน้าเอกสารหรือไม่
- ไม่ เนื้อหาของหน้าถูกคัดลอกไปตามเดิม สิ่งที่ถูกสร้างใหม่คือโครงสร้างที่ห่อหุ้มอยู่ หากจำเป็นต้องใช้เส้นทางการกู้คืนที่แรงขึ้น คุณสมบัติระดับเอกสาร เช่น สารบัญ ฟอร์มแบบโต้ตอบ และไฟล์แนบ อาจไม่รอด แต่หน้าเอกสารจะถูกส่งต่อมาโดยไม่เปลี่ยนแปลง