databaseD

Earlier this year I released a tool called Timestamped in response to a need I had with converting timestamps on Mac on the fly. In that post I mentioned I was working on a larger project, and I am happy to report that I have gotten to the point where that larger project is ready for release. Its name is databaseD.

databaseD was created in response to another need I had. When I was working on the FindMy data in 2024 and 2025 I was using Ian Whiffin’s ArtEx (THE ArtEx, not that other one) to examine the SQLite databases under searchpartyd. It has the ability to handle the main databases plus their related -WAL files, all without committing the transactions in the -WALs. It is great at doing that, among other things, but there was a problem: it only runs on Windows, and I was having to run things through Parallels. macOS database viewers are hard to come by. DB Browser for SQLite is fine, but it is not a forensic tool (it will commit -WAL transactions, which is bad in our line of work). The only other option I could find was FQLite, which I had run on Windows previously, but wasn’t quite what I was looking for in a database viewer.

So back in the spring, I started working on databaseD with the help of Claude Code. I spent a lot of time on the SQLite website and in Paul Sanderson’s book. There are a few things that standout. First, it is written in Swift, so it runs natively on macOS. Second, it can handle SQLite without committing -WAL files; this is extended by letting you browse a -WAL or journal file. Third, it handles two additional “database” types: LevelDB/IndexDB & Realm. Fourth, it will also handle items that are database-ish: SEGB files and MMKV files. All in an app that is just under 30 MBs (the universal binary is slightly larger for obvious reasons). There is a native file format viewer (bplist, XML, protobuf, ABX) that includes a data provenance feature (click on a formatted record and the bytes highlight in the right hexadecimal pane); the data provenance feature extends to most places in the app. You also have the ability to browse the history of a page, recover BLOBs, carve for strings, and search in hex (string or RegEx).

The app also includes a help file (Help > databaseD Help), crash log export support (Help > Export Crash Report…), Voice Over (accessibility) support, drag-and-drop support, the ability to highlight records/rows (right clicks), support for SQLCipher and SQL Encryption Extension, and several other features that I have needed over the years. Some screenshots are below.

An opened SQLite database.
Browsing a SQLite table that includes a BLOB and recovered records.
Open a record to see how it lies in its page.
Browsing the history of a page over time.
Running a SQLite query in a breakout window. Compare how the query looks in the main database only versus the database + -WAL.
Opening a LevelDB. You can open a single file or an entire directory.
See current and deleted LevelDB records. File formats are honored here, too, when present.
Opening a MMKV file.
See current and superseded records.
Opening a SEGB file.
Current and pruned SEGB records.

Testing for both accuracy and stress on databaseD took almost two months. I threw a lot of test data at it, including the SQLite Forensic Corpa, which you can find here. The help file includes some information on the verification.

There are two versions of databaseD, links to both are below. Note that the SHA256 value is for the zip file you download.

Apple Silicon only (M-series Macs)
SHA256: 7bab2265290ad9ea2f066114333de873246bacb750af3fac7b7793878e4856d4

Universal Binary (Intel-based Macs)
SHA256: 7353f0056adf88c7cb60847aef8ba7f9a1cc715fd38051a26dcb09dffcad701e

If you find bugs or inaccuracies, please contact me and include logs and a sample file if you are able to so.

One thought on “databaseD”

  1. any possibility of getting it built for Linux too?

Leave a Reply