DBF Validator
Drop any .dbf file to instantly check its structure. Parses the binary header, validates field definitions, verifies the declared record count against actual file size, checks for deleted records, and previews the first few rows. Nothing leaves your browser.
DBF File
Drop a .dbf file here, or
Supports .dbf files up to 50 MB
⛔
Wrong file type — only .dbf files are supported. You dropped a file.
Validation Errors
Warnings
✓ Valid DBF
Field Definitions
| # | Field Name | Type | Length | Decimals |
|---|
Data Preview (first 5 records)
How It Works
1
Drop your DBF fileDrag it onto the drop zone or click "browse" to select it from your device. Supports all standard dBASE .dbf files.
2
Binary header analysisThe validator reads the binary DBF header, parses field descriptors (name, type, length, decimal count), and cross-checks the declared record count and header size against the actual file size.
3
Review the reportGet a pass/fail result plus full stats: record count, field count, version, last updated date, deleted records, file size, and a live data preview of the first 5 records.
What Gets Validated
- Version byte — reads and identifies the dBASE version byte (dBASE III, IV, V, FoxPro, Visual FoxPro, with or without memo) and flags unknown version codes.
- Header integrity — checks that the declared header size is consistent with the number of field descriptors, and that the header terminator byte (
0x0D) is present in the right location. - File size consistency — verifies that
header_size + (record_count × record_size)matches the actual file size (± optional EOF marker byte0x1A). - Field definitions — validates each field's name (printable ASCII, no duplicates), type code (
C N L D M F B G P Y T I V X @), and that the declared field lengths sum to the record size. - Deleted records — counts records flagged with the deletion marker (
0x2A/ asterisk) and reports how many are active vs. deleted. - EOF marker — checks for the standard end-of-file byte (
0x1A) and warns if it is absent. - File statistics — reports total records, field count, dBASE version, last-updated date, record size, header size, deleted records, and file size.
- Data preview — renders the first 5 active records in a formatted table so you can visually confirm fields are parsed correctly.
🔒 Privacy & Security
All validation is performed locally using the Web File API and the FileReader API with ArrayBuffer binary reads. Your DBF data is never sent to a server. Suitable for sensitive business data, customer records, geographic data, or any private dBASE content.
