Skip to main content

# 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>

Download files

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

Source Distribution

sqlite2json-1.0.1.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file sqlite2json-1.0.1.tar.gz.

File metadata

  • Download URL: sqlite2json-1.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sqlite2json-1.0.1.tar.gz
Algorithm Hash digest
SHA256 81711eedd550b6cf924cda9170b2a8cefd4228bb74a626eaa07afd3f68bd7761
MD5 35acf88d5a5e9e246b549ef2da7966ea
BLAKE2b-256 a0add913a4bbcc19f6194f10f7dee6da3e64e18bba8530e8da23f6b45536d813

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page