Office Open XML Document (.docx)

ECMA-376 มาตรฐาน

DOCX is a zipped, XML-based file format developed by Microsoft for word processing documents, standardizing Word documents under the Office Open XML specification.

แปลง PDF เป็น DOCX

ตัวแปลงจาก PDF เป็น DOCX ฟรีในเบราว์เซอร์ แปลงไฟล์ได้ทันทีบนอุปกรณ์ของคุณ

ตรวจสอบและดู Metadata

ระบบปฏิบัติการและเครื่องมือวิเคราะห์ไฟล์จะระบุไฟล์ DOCX โดยการตรวจสอบลำดับไบต์ไบนารีส่วนต้น:

เลือกหรือลากไฟล์

เลือกหรือวางไฟล์ที่นี่

การแปลงไฟล์แบบส่วนตัว 100% ในเบราว์เซอร์ - ไฟล์จะไม่ rời ออกจากอุปกรณ์ของคุณ

หรือวาง Ctrl+V
การรับประกันความเป็นส่วนตัวแบบไม่มีการส่งผ่านเครือข่าย: อัปโหลด 0 ไบต์ไปยังเซิร์ฟเวอร์ภายนอก การประมวลผลทั้งหมดเกิดขึ้นภายในแซนด์บ็อกซ์ของเบราว์เซอร์ของคุณ

ลายเซ็นส่วนหัวในระดับไบต์ (Magic Bytes)

ระบบปฏิบัติการและเครื่องมือวิเคราะห์ไฟล์จะระบุไฟล์ DOCX โดยการตรวจสอบลำดับไบต์ไบนารีส่วนต้น:

ลายเซ็น HEX (OFFSET 0):

50 4B 03 04

การแสดงผลรูปแบบ ASCII: PK..

มาตรฐาน: ECMA-376 / ISO/IEC 29500

ข้อมูลจำเพาะทางเทคนิค

สถาปัตยกรรมคอนเทนเนอร์Open Packaging Convention (OPC) ZIP archive containing XML parts
การบีบอัดDeflate compression of individual XML files and media resources inside ZIP
การจัดลำดับไบต์ (Byte Endianness)Little-Endian for ZIP header records; UTF-8 XML for document text
พื้นที่สีsRGB for text and styling; embedded image parts retain native profiles
ช่องสัญญาณและโครงสร้างStructured document hierarchy: paragraphs (w:p), runs (w:r), and text nodes (w:t)
ขนาดสูงสุด55.87 x 55.87 cm (22 x 22 inches maximum Word page limit)
ความโปร่งใสSupported within embedded raster and vector shapes
การสตรีมและแบบโปรเกรสซีฟZIP structure requires reading Central Directory at end of archive

ตารางเปรียบเทียบทางเทคนิค: DOCX กับคู่แข่ง

คุณลักษณะทางเทคนิคDOCX (ปัจจุบัน)PDFOpenDocument (ODT)Markdown
Primary PurposeEditable word processing documentFixed-layout digital paperEditable open standard documentLightweight plain text writing
Formatting ConsistencyVaries by software viewer and installed fonts100% pixel-perfect across all devicesVaries by software suiteDependent on Markdown parser and CSS
Editing ExperienceFull rich WYSIWYG editing with tracked changesDifficult to edit without specialized toolsFull WYSIWYG editingFast plain-text editing

รูปแบบความเสียหายทั่วไปและคู่มือการกู้คืน Hex

⚠️ Word displays error: 'The file is corrupt and cannot be opened'.

สาเหตุหลัก: Damaged ZIP container structure or malformed XML in word/document.xml.

การกู้คืน: Rename .docx to .zip, run 'zip -FF broken.zip --out fixed.zip', extract word/document.xml, fix XML syntax errors with an XML editor, and re-zip.

การวิเคราะห์ความปลอดภัยและเวกเตอร์การโจมตีตัวแยกวิเคราะห์

DOCX files cannot contain active VBA macros (.docm is required for macros), making them safer than legacy .doc files, but external template injection remains a risk.

เวกเตอร์การโจมตีที่ทราบ

  • Remote template injection pointing to malicious external dotm templates.
  • XML External Entity (XXE) vulnerabilities in unpatched document parsers.
  • Embedded OLE objects disguising executable malware.

แนวทางปฏิบัติที่ดีที่สุดในการป้องกัน: Disallow macro-enabled files (.docm) on public upload portals, inspect '_rels' for untrusted external URI templates, and sanitize XML inputs.

ประวัติความเป็นมาและเหตุการณ์สำคัญ

2008ISO/IEC 29500 formalizes Office Open XML as an international open standard.
2006Microsoft introduces DOCX with Microsoft Office 2007, replacing legacy binary .doc.

ข้อได้เปรียบและจุดเด่นสำคัญ

  • Open XML packaging allows automated document generation and text extraction without Microsoft Word.
  • ZIP compression significantly reduces file size compared to legacy binary .doc files.
  • Modular structure isolates corrupt components, preventing entire document loss.

ข้อจำกัดทางเทคนิคและข้อควรพิจารณา

  • Visual rendering can vary across LibreOffice, Google Docs, and Microsoft Word due to font layout heuristics.
  • Not designed for fixed-layout archiving (unlike PDF/A).
  • Complex ECMA-376 specification with thousands of legacy compatibility tags.

เกร็ดความรู้ทางเทคนิคที่น่าสนใจ

  • Renaming a .docx file to .zip allows you to extract all embedded images directly from the 'word/media/' folder.
  • The primary text content of any Word document resides in the file 'word/document.xml'.

คำถามทางเทคนิคที่พบบ่อย

How can I extract all pictures from a DOCX file without Word?

Change the file extension from '.docx' to '.zip', open the archive with any unzipping tool, and browse to the 'word/media/' folder. All original high-resolution photos and graphics are stored there.

What is the difference between .doc and .docx?

.doc is a legacy proprietary binary format used in Word 97–2003. .docx is a modern open standard (ISO/IEC 29500) based on XML and ZIP compression, offering smaller file sizes, greater recovery reliability, and no macro execution capability.