• facebook
  • twitter
  • linkedin

Ways to Export Gmail Emails to CSV

Siddharth Rawat
Siddharth Rawat | Updated On - June 30, 2022 |

Read time 12 minutes

How do I export emails from Gmail to CSV file format? It seems like a pretty basic task, yet I cannot find out how to do so. I see a zillion results for importing and exporting contacts but nothing about how to export messages to a CSV file. Can someone please suggest me a way to do that?

Comma Separated Values file format or CSV file format is a very simple format to store tabular data such as spreadsheets or databases. It is also straightforward to open CSV files using paid and open-source tools such as MS Excel, OpenOffice Calc, LibreOffice, and more. CSV is a universal file format; hence it is convenient for many users to save their emails in a CSV format for easy accessibility. In this tutorial, we will explore ways to export Gmail emails to a CSV format.

Ways to Export Gmail Emails to CSV file Format

In this section, we will explore ways to export Gmail emails to a CSV format.

Instant Solution

Download Kernel Gmail Backup tool to Export Gmail Emails to CSV and other file formats, like PDF, EML, DOCX, DOC, & MSG file formats.

Way #1 Manually Save Each Email

This is a very straightforward method for exporting Gmail emails to CSV, but it is recommended only in those cases when you have a few emails for conversion. Manually saving every mail is tedious and time-consuming; hence we don’t recommend this for converting a bunch of emails. Nevertheless, the detailed steps are outlined below:

  1. Click on the email that you would like to export.
  2. Next, click on the More tab (three vertical dots) and select the Download message.
    Select download message option
  3. Your message will then be downloaded in the EML format. FYI, EML format files can easily be opened in desktop email clients such as MS Outlook, Thunderbird, Zimbra, and more.
  4. Next, open a blank spreadsheet in MS Excel and drag and drop the EML file in the blank spreadsheet.
  5. You will now be prompted with a new message, as shown below; hit Yes to proceed.
    New message prompted hit Yes
  6. The email will now open in a Protected View due to security reasons. Click on Enable editing to view the mail.
    Click on enable editing
  7. Your email message can now be viewed in a CSV format, as shown below:
    Email message can now be viewed in a CSV format

  8. Proceed to Save the CSV file.
  9. Repeat steps 1-8 for each of the emails that you want to export as a CSV file.

Way #2 Export to CSV Using Chrome Extension

Cloud HQ’s Email to Google Sheets extension is an excellent utility for exporting your email items directly to CSV. Let us now explore how it works.

  1. Open chrome web store and search for the extension with the name Export Emails to Google Sheets by cloudHQ. Next, click on Add to Chrome. The extension will automatically be integrated with your Gmail account.
  2. Search extension with the name Export Emails to Google Sheets by cloudHQ

  3. Let’s say; you want to convert the emails under the Sent Items folder to CSV. Left-click on the ellipses (three vertical dots) next to the label and select Save label to CSV or Save label to Google Sheets.
    select Save label to CSV or Save label to Google Sheets
  4. In the Save Settings/ Default Columns, select all that applies to you and hit Start.
  5. Next, you will be prompted with the following message:
    New message with success
  6. Once done, you will receive an email with the spreadsheet link. Open up the link. Clicking on any email text expands the email body, as shown below:
    Click on email text expands the email body
    Note: Another advantage of this extension is that it also saves each of your emails in PDF format, which can be accessed from anywhere.
  7. To Save Gmail Emails to PDF, one can also download Kernel Gmail Backup Software. It also allows you to save Gmail emails in PST, EML, MSG, HTML and DOC formats.

    To backup G Suite data, including Google Drive, Google Hangout Chats, Contacts, Calendar, & Mail, get Kernel G Suite Backup Tool.

  8. If you have a lot of emails, then you might need to upgrade to the premium version as the trial version allows for only 60 conversions a month.
  9. Upgrade to the premium version

Way #3 Connect to Gmail Over IMAP Using MS Outlook

The next best possible way to export Gmail emails to a CSV format is by configuring/ adding the Gmail account in the MS Outlook desktop client. Once configured, the emails can then be exported to a CSV (or a PST) format. Before this, to add a Gmail account in the Outlook desktop client, make sure the two-factor authentication is turned on and you have generated an App password (as your Gmail password won’t work while adding Gmail on Outlook). To generate the App password, follow the steps mentioned below:

Part 1: Prerequisite- Generate App Password

  1. Left-click on the user account icon and select Manage your Google Account. This will open a new tab in your browser.
    Manage your Google Account
  2. Next, from the left pane, click on the Security button.
    Click on the Security button
  3. Scroll down and turn on 2-Step Verification is turned on. Click on App passwords.
    turn on 2-Step Verification
  4. Verify your identity by entering your Gmail credentials and hitting Next.
    enter your Gmail credentials and hit Next
  5. From the drop-down menu of Select app, select Other (Custom name).
    select Other Custom name
  6. Enter Outlook in the text field and hit Generate.
    Enter Outlook in text field
  7. Your generated App password will be displayed, so copy it somewhere and click Done.
    Generated app password displayed

Assuming that you are done with App password generation, next, we will proceed with adding a Gmail account to the Outlook desktop client. The detailed steps are mentioned below:

Part 2: Add a Gmail Account in Outlook

  1. Click on the File tab from the Outlook ribbon > click on Add Account.
    Click on add account in Outlook
  2. Next, enter the email account that you would like to add and hit Connect.
    Enter the email account that you want
  3. Next, in the text field, enter the earlier generated App password and hit Connect.
    Enter the generated password
  4. Outlook will now attempt to add the Gmail account.
    Outlook will now attempt to add the Gmail account
  5. If everything goes well, you will be prompted with a message- Account successfully added. Click done to proceed.
    Gmail account added in Outlook

Part 3: Export Emails to CSV Format

To export the emails to a CSV format, follow the steps outlined below:

  1. Click on the File tab > Open & Export.
  2. Select Import/Export.
  3. In the Import and Export Wizard, select Export to a File and hit Next.
    Select Export to a File
  4. In Export to a File select Comma Separated Values.
    Select Comma Separated Values
  5. In Export to a File, select the folder (containing mails) that you would like to export as CSV and hit Next.
    Select folder containing emails to export to CSV formate
  6. Next, click the Browse button to provide a location (and filename) to save your CSV formatted emails and hit Next.
    Provide a location to save CSV formatted emails
  7. Click on Finish to export email messages to the earlier provided location.
    Export email messages to the earlier provided location
  8. A new dialog window shows the status of the task.
    Window shows the status of the task
  9. You are all set!

As you are now a pro in exporting Gmail emails to CSV, it would also be wise to keep your emails backed up as an extra precautionary measure for your important mails and attachments. For safe and secure email backup, look out for the best-in-class tool: kernel IMAP Backup Tool.

Apart from Gmail, this tool supports Yahoo, Outlook.com, Amazon Work Mail, G Suite, AOL, etc., along with a smooth & flawless email incremental backup process. Furthermore, it ensures the accuracy and security of data at all stages of the backup process.


In this post, we have extensively discussed three feasible ways to export Gmail emails to CSV format. There are several advantages of storing emails in a CSV format as it is a universal format that can be opened using several readily available tools. We hope these solutions will make your export process quicker and easier.

Moreover, do not forget our recommended tool to keep a secure backup of all your emails. As the trial version is available 24×7, be ready to get hands-on experience with the tool today.