A Python script to convert Google Keep's JSON files to plain text TXT
This script will create a copy of each note using the JSON file from Google TakeOut as a basis.
Keep in mind that this script was designed to work with Google Keep's JSON
document structure of December 2020, that being said, in theory it should
work without major interrupts with any version, considering that the basic
JSON structed tends not to change
All information dubbed as unnecessary is skipped, and only the main content is copied to the final file. The later result can be imported in applications such as Trello, Evernote and Notion without the excessive bloat from either the Google Takeout HTML file or the machine-readable-only JSON.
Note: This script completely ignores Google Keep attachments and images. The exported files will, naturally, contain only text.
- Download the python script
run.py
- Go to Google TakeOut select and download the Google Keep Archive (This archive contains both HTML and JSON versions of your notes)
- Unzip the Google Keep Archive and copy the
run.py
to the folder namedTakeout
- You can also place the script alongside the JSON files directly
- Run the script
The script will create a subfolder named /converted
containing the TXT versions of each processable JSON file. Any erros will be raised in the terminal.
I do not plan to maintain active development of this script since it was designed as a one time solution to handle an specific need to move away from Google Keep. But feel free to fork, comment or open any issue if you would like to ask for help or contribute.
This Software Is Open Source andIs Provided "as Is", Without Warranty of Any Kind, Express or Implied, Including but Not Limited to the Warranties of Merchantability, Fitness for a Particular Purpose and Noninfringement. See, License