Repair dBase & Visual FoxPro (.dbf) Databases
Bypass broken DBF record counters, decode legacy Windows/DOS codepages (CP1252, GB18030, Shift-JIS, CP866), filter soft-deleted rows, and export clean UTF-8 CSV.
Common Issues Handled
- "Not a table / Invalid DBF header record count mismatch after crash"
- "Garbled non-ASCII characters when opening legacy FoxPro or dBase III/IV tables"
- "Unexpected EOF or bloated soft-deleted (0x2A) records blocking ERP/GIS imports"
How It Works
- Parses dBase III/IV and Visual FoxPro headers directly in binary without Windows ODBC/OLEDB drivers.
- Ignores corrupted record-count counters and scans physical record slots across the table body.
- Decodes legacy codepage strings into UTF-8 with BOM so Excel, PostgreSQL, and SQLite open them cleanly.
Exact Error Codes & System Messages Fixed
dBase III/IV & Visual FoxPro (.dbf) Header & Tombstone Anatomy
A .dbf file begins with a 32-byte header containing the version byte (0x03 dBase III+, 0x30/0x31/0x32 Visual FoxPro, 0xF5 FoxPro 2.x), a 32-bit little-endian record counter at bytes 4–7, header length, record length, and language driver ID (byte 29). Each row starts with a 1-byte deletion flag: 0x20 (active) or 0x2A ("*" soft-deleted).
When an ERP terminal crashes mid-append, the OS writes the new row bytes to disk before FoxPro updates bytes 4–7, causing Error 15 / Error 2091. FileRepair ignores the broken header counter, scans every physical record slot, compacts away 0x2A tombstones, rewrites a valid .dbf with a 0x1A EOF marker, and lets you export UTF-8 CSV, JSON, or SQL.
What Can Be Repaired
- Visual FoxPro Error 15 / Error 2091 header record-count mismatches
- Compacting bloated soft-deleted (0x2A) records and missing 0x1A EOF markers
- Legacy codepage decoding (CP1252, CP437, CP850, GB18030, Big5, Shift-JIS, EUC-KR, CP866)
- Saving both a repaired original .dbf AND modern CSV / JSON / SQL exports
Honest Limitations
- External .FPT / .DBT memo field payloads are referenced by block index when only the .dbf file is loaded
- Database container (.dbc) stored procedures and .cdx index files are separate from table data
Frequently Asked Questions
Are my confidential ERP or customer DBF tables uploaded anywhere?
Never. FileRepair reads and converts your .dbf file 100% locally inside your browser tab with zero network uploads.
Can I save the repaired file back as a .dbf for my legacy ERP or QGIS?
Yes! The primary "Save .dbf" button outputs a genuinely rebuilt, compacted .dbf with a corrected 32-bit record count and 0x1A EOF marker. You can also export CSV, JSON, or SQL with one click.
Related File Tools
Bypass deadlocked Jet/ACE drivers and the 2 GB file-size ceiling. Scan raw Access database pages directly in your browser and salvage records into clean UTF-8 CSV.
When a voice recorder, DAW, or phone crashes mid-recording, the PCM audio is saved on disk but the WAV header says 0 bytes. Fix it in 10 milliseconds.
Fix EPUB files rejected by Kindle, Apple Books, or Kobo — repairs broken mimetype compression, missing ZIP directories, and truncated XHTML chapters.
Drop any extensionless file or .bin / .dat / .tmp attachment to inspect its real binary magic bytes and download it with the correct extension in one click.