Guides

Identify a database copy ending mid-page

Follow these steps using a local file and keep the original.

Identify a database copy ending mid-page
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: fixture-database-04.sqlite. Make a copy before following any rename, truncation or byte-edit instruction.

Make a disposable copy of the SQLite fixture shortened by one byte.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Look for the incomplete-page or stale-size warning; do not write a new header.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

Observed tool output (English)
{
  "bytes": 16383,
  "detected": "SQLite",
  "confidence": "signature",
  "checks": [
    "SQLite page size 8192; file pages 1.9998779296875"
  ],
  "warnings": [
    "Possible truncation or stale page-count header; do not rewrite database header."
  ],
  "recoveries": []
}

Limitations and what to verify

Create a consistent database backup, including any required WAL data, from the source application.

Open related toolDownload sample