Shopify has built-in support for exporting discount codes to CSV. To download the codes from a discount set:

  1. Hover over the discount set in the Bulk Discount Generator and click the Go to discount button. You can also go directly to the discount in the Shopify admin by going to Discounts and then selecting the discount that contains the codes you'd like to export.
  2. On the Discount details page, click the View all codes button under the Discount codes section.
  3. Optionally, you can leverage the Filter codes action right above the table of discount codes to limit the codes being exported. For example, you can filter them down to only unused codes with a Times used is equal to 0 filter.
  4. At the top of the Codes page, right below the header, click the Export action.
  5. A dialog will be displayed giving you several options for how you want to export your codes. This is where you can choose to include all codes or leverage the filter created previously. Selecting Plain CSV file will give you the most portable file to be imported into other platforms, such as a loyalty or marketing platform.
  6. After clicking the Export codes button, Shopify will send you an email with a download link once the file is ready.
Did this answer your question?