DOC (Tài liệu nhị phân Microsoft Word)
DOC là định dạng tài liệu nhị phân cũ của Microsoft Word, được sử dụng từ Word 97 đến Word 2003. Nó lưu trữ văn bản có định dạng, hình ảnh và macro ở dạng nhị phân riêng.
Loại MIME
application/msword
Loại
Nhị phân
Nén
Không mất dữ liệu
Ưu điểm
- + Universal compatibility with older Microsoft Office installations
- + Well-understood format with decades of tooling support
- + Supports macros, OLE objects, and VBA code
Nhược điểm
- − Proprietary binary format is hard to parse without specialized libraries
- − Larger file sizes compared to ZIP-compressed DOCX
- − Macro-enabled DOC files are a common malware vector
Khi nào nên dùng .DOC
Tránh tạo tệp DOC mới — sử dụng DOCX thay thế. Chỉ sử dụng DOC khi tương thích với phần mềm cũ yêu cầu. Chuyển đổi DOC hiện có sang DOCX để bảo tồn.
Chi tiết kỹ thuật
Tệp DOC sử dụng container OLE2 (Compound File Binary Format) với các luồng lưu trữ bảng, tài liệu, tóm tắt và dữ liệu. Phân tích phức tạp hơn XML và không ổn định giữa các phiên bản.
Lịch sử
Microsoft sử dụng định dạng .doc từ Word cho DOS (1983). Phiên bản Word 97 (1997) là phiên bản nhị phân được sử dụng rộng rãi cuối cùng. DOCX thay thế DOC bắt đầu từ Office 2007.
Chuyển đổi từ .DOC
Chuyển đổi sang .DOC
Định dạng liên quan
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, …
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. …
How to Convert Documents Between Office Formats
Converting between Word, Google Docs, LibreOffice, and PDF formats is common in collaborative workflows. This guide covers conversion paths that …
Understanding MIME Types and File Extensions
MIME types tell browsers and servers what kind of data a file contains, while file extensions help humans and operating …
Troubleshooting File Conversion Errors
File conversions fail for many reasons: corrupted sources, unsupported features, encoding mismatches, and memory limitations. This guide helps you diagnose …
Archive Formats Compared: ZIP, 7z, TAR, and RAR
Archive formats bundle and compress multiple files into a single package. ZIP is universal, 7z offers the best compression, TAR …