A DAT file from ZKTeco is generally a compact binary container holding one or more of the following:
The attlog.dat file typically structures records in a compact, binary format to save space. While the exact structure can vary by firmware version, it frequently looks like this: Field Name Description Numeric ID of the employee (integer) DateTime Logged date and time (encoded format) Status 0 = Check-in, 1 = Check-out, etc. VerifyMode 0 = PIN, 1 = Fingerprint, 2 = Card Alternative: Real-time Data Extraction (SDK)
| Offset | Size | Field | Example Value | |--------|------|--------------|----------------| | 0 | 4 | User ID (int)| 1 | | 4 | 4 | Unix timestamp| 1734567890 |
Verification Method (e.g., 1 for Fingerprint, 15 for Face) How to Convert ZKTeco DAT to Excel or CSV
A custom script can read these space-separated or tab-separated string values: User ID (e.g., 1 ) Field 2: Timestamp (e.g., 2026-05-26 08:30:00 ) Field 3: Status (e.g., 0 for Check-In, 1 for Check-Out)
Whether the log is a check-in, check-out, or break.
: For more advanced, web-based management, ZKBio Time is a robust solution that provides a modern interface for attendance and employee self-service portals. It can receive data directly from network-connected devices as well as import data from DAT files.
A ZKTeco .dat file (most commonly named attlog.dat ) is a standardized database file format used by ZK firmware to store user attendance logs locally on the device's flash memory.