Google Takeout allows you to download your data for free. This includes data from Gmail and other Google products such as Google Drive, Google Photos and YouTube. Google Takeout allows you to:
Create a copy of your data just in case you lose your Google account or it is hacked.
Export your data to edit or share with others.
Archive old files to free up space on Google Drive.
Transfer your data to a different cloud storage service.
Sign in to your Google Account before you can use Google Takeout. Go to the Google Takeout webpage. You can select products from this page to export data. You can also select the format (ZIP, JSON, TGZ) of the exported file.
Click the "Create Export" button once you have selected your products and formats. Google will begin processing your request. This process may take a few moments or even hours.