Skip to main content

SQLite to JSON converter

Project description

# sqlite2json

This script dumps all* the tables in an sqlite database as json.

## Usage

sqlite2json sqlitefile.db [–exclude=TABLE]

To dump the sqlite file where iMessages are stored:

sqlite2json ~/Library/Messages/chat.db

Here is a more useful version of the above example:

sqlite2json ~/Library/Messages/chat.db | jq -r .message[].text | grep -i loan

*The script doesn’t dump the contents of of the sqlite_master table

# Authors

  • John Gerlock <john@pikkey.com>
  • Jeffrey Paul <sneak@sneak.berlin>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sqlite2json, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sqlite2json-1.0.1.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page