Skip to main content
Help us improve Python packaging – donate today!

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>

Release history Release notifications

This version
History Node

1.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sqlite2json-1.0.1.tar.gz (8.8 kB) Copy SHA256 hash SHA256 Source None May 7, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page