---
title: "Export Data From Views to CSV File · Appnovation"
url: "https://www.appnovation.com/insights/export-data-views-csv-file"
description: "Export Drupal Views results to CSV in minutes with the Views Data Export module, so non-technical users can work with the data."
---

Article

# Export Data From Views to CSV File

[![](https://cdn.sanity.io/images/ey850001/production/0aa360d810c9dc10aeb0072b8ce3cc8cd3e65aa5-68x68.jpg?w=68&auto=format) fyu fyu Developer](/people/fyu-fyu.md) Feb 17, 2015  
 2 min read 

![Export Data From Views to CSV File](https://cdn.sanity.io/images/ey850001/production/ef20e545f24034885686faa79aa3da20d7723f95-1400x400.jpg?w=1400&auto=format) 

It is sometimes useful to be able to save our view results into a document to allow non-technical people to manipulate the data. Other than writing custom code, there is an easy and fast way to accomplish this: using the module [Views Data Export (opens in new window)](https://www.drupal.org/project/views_data_export). It provides the functionality of taking the (filtered) results of a view and export them into a data file (CSV, XML or other types of data file). As the module name tells you, you will need to first download and enable the module Views and Views UI.

To start, create a new view. The display can be a block or page, depending on your needs. The format of the results doesn't have a big impact on the results to be exported, but I usually prefer table, because it looks more organized. Then, select the fields to be displayed in the results and select also the fields under filter criteria to be or not to be used as exposed filters. Below, I have created an example of a view that would display a list of guests, and the fields used are **First Name** and **Last Name**.

When you've got everything, test your view to make sure that it works. After verification, you can add a display of type **Data Export**.

Select format "CSV File", it should be the default format. If you want to export the same results as displayed on your page / block, re-use the same displayed fields and filter criteria. Give the display a path. To add the CSV export functionality to the page view, go to **Attach to** under **Data Export Settings** and select **Page** or the name you have given to your page display. Notice the **CSV** button below the results.

Now, test it. Enter some values in the filters, get the results and click on the **CSV** button. You will see that the new CSV file contains the same data as your view results. And voilà, you are now able to export your view results into a CSV file.

[![](https://cdn.sanity.io/images/ey850001/production/0aa360d810c9dc10aeb0072b8ce3cc8cd3e65aa5-68x68.jpg?w=68&auto=format) fyu fyu Developer · Appnovation](/people/fyu-fyu.md) 

## Keep reading

[![What is Sovereign AI](https://cdn.sanity.io/images/ey850001/production/a5889abdd5e80376912546622e046e3fbef234b4-2496x1664.png?w=640&auto=format)](/insights/what-is-open-source-sovereign-ai.md)

 Article · 7 min AI 

### [What Is Open Source, Sovereign AI?](/insights/what-is-open-source-sovereign-ai.md)

Every company is encouraging more AI, and almost every AI bill is climbing. Sovereign AI is about two kinds of control: over your data and over your costs. Here's why open source sits at its foundation.

[Iain MacNeil](/people/iain-macneil.md) Article 

[![AI-first experience design](https://cdn.sanity.io/images/ey850001/production/8bbc2418e87924ef10f36115478a2e10d5bed95e-1584x624.jpg?w=640&auto=format)](/insights/how-build-ai-first-experience-without-throwing-out-everything-youve-already-built.md)

 Article · 6 min AI Sep 10, 2026 

### [How to Build an AI-First Experience Without Throwing Out Everything You've Already Built](/insights/how-build-ai-first-experience-without-throwing-out-everything-youve-already-built.md)

Users now expect a direct answer, not a list of links to click through. Here's how organizations can layer an AI-First experience onto their existing website or app, in weeks rather than years.

[Andrew Douglas](/people/andrew-douglas.md) Article 

[![What Becomes Possible When AI Can Read All the Data](https://cdn.sanity.io/images/ey850001/production/c28ab0bd26753421ee42937e13adc7a7f19b47f0-1296x510.jpg?w=640&auto=format)](/insights/what-becomes-possible-when-ai-can-read-all-data.md)

 Article · 4 min AI Sep 09, 2026 

### [What Becomes Possible When AI Can Read All the Data](/insights/what-becomes-possible-when-ai-can-read-all-data.md)

Most of the world's data has never been analyzed, only sampled. AI changes that. How AI-ready data platforms unlock questions no one could ask before.

[Appnovation](/people/appnovation.md) Article 

## Get the thinking,  
*before everyone else.*

One considered email a month. New essays, field notes from live engagements, and the occasional strong opinion. No noise.
