Skip to content

export

Terminal window
todoister export [flags] [PATH]

Export all Todoist projects as a tree of JSON or YAML files.

  • PATH is a file or directory where to export the projects, by default index.json.
-d, --depth <int>
depth of subdirectory tree to create on the filesystem when exporting (default is 0, i.e., no subdirectories)
--json
export in JSON format (default)
--yaml
export in YAML format
-t, --token <string>
use <string> as Todoist API token
Terminal window
# Export to a single index.json file in the current directory:
todoister export
# Export to todoist.json file in the home directory:
todoister export ~/todoist.json
# Export to todoist.yaml file in the home directory:
todoister export --yaml ~/todoist.yaml
# Export to a projects directory in the home, with subdirectories down to 3 levels deep:
todoister export --json -d 3 ~/projects