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 <>
  • Jeffrey Paul <>

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page