Library and tools for parsing and exporting Chrome bookmarks.

Written against Chromium main@{2022-08-28} (Chrome 106). Should work at least as far back as 2014 (Chrome 40).

Usage: crb [options] bookmarks_file

  -E, --export stringArray   export bookmarks HTML to the specified file (- for stdout)
  -h, --help                 show this help text
  -q, --quiet                don't write info about the bookmarks file to stderr
  -t, --tree                 write the bookmarks tree to stdout (use --verbose to show dates)
  -v, --verbose              show additional information

Usage: crb-carve [options] file[:[start_offset][:[end_offset]|+length]]...

  -h, --help                   show this help text
  -j, --json                   show information about the recovered files as JSON
  -o, --output string          write the recovered files to the specified directory
  -O, --output-format string   output file format (default "bookmarks.{input.basename}-{match.offset}.{bookmarks.checksum}.json")
  -q, --quiet                  don't show information about the recovered files

Output Fields (--output-format, --json):
  input.path                 input file path
  input.basename             input file basename
  match.offset               match offset
  match.length               match length
  bookmarks.barguid          chrome bookmarks bar folder guid
  bookmarks.checksum         chrome bookmarks checksum        most recent date (unix timestamp)   most recent date (unix microscond timestamp)    most recent data (yyyymmdd)
  bookmarks.count.folders    number of folders
  bookmarks.count.urls       number of bookmarks
  output                     output file basename (not for --output-format)


View Github