chrome history node index.mjs <path-to-chrome-history> The script hardcodes getting TLDs, so subdomains are collapsed. You can edit that out if you like. Chrome history on macOS is at "$HOME/Library/Application Support/Google/Chrome/Default/History"