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>

Metadata

Release files for sqlite2json 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlite2json 1.0.1
File Size Uploaded
sqlite2json-1.0.1.tar.gz 8.8 kB Details

Release files / sqlite2json-1.0.1.tar.gz

Download URL sqlite2json-1.0.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
81711eedd550b6cf924cda9170b2a8cefd4228bb74a626eaa07afd3f68bd7761
BLAKE2b-256 checksum
How to use checksums
a0add913a4bbcc19f6194f10f7dee6da3e64e18bba8530e8da23f6b45536d813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page