Provide a built-in option to export Sites and or Departments table from Setup > Account > Organization & Sites > Departments to CSV/Excel the way you can from index pages like Incidents or Users.