View Settings: Allow Export: Exporting entries as CSV or TSV from GravityView

When exporting entries, only the fields configured in the View will be shown. If a user can not see a field by accessing the View, they will not be able to access it by CSV export.

In View Settings, click on the tab named "Permissions" and check the box named "Allow Export"

Screenshot of the Permissions tab with an arrow pointing to the Allow Export option

To export all entries in a View (not just one page), check the "Show all in CSV" checkbox

Arrow pointing to the setting

Update the View

The Update button

Go to the View

A link that says View on Website

To export the View as CSV, add "/csv/" to the end of the URL

The URL before:

The URL after: csv/

To export the View as TSV, add "/tsv/" to the end of the URL

The URL before:

The URL after: tsv/

When accessed, a file will be downloaded with the entries

Web browser download icon
The file's name will be the name of the View by default. Developers can modify the file name by using this code.

Click "Add Widget" in the Multiple Entries Layout tab then click the widget named "Custom Content"

A list of fields in GravityView with an arrow pointing to the Custom Content field

Click the gear icon to edit the Custom Content widget settings

An arrow pointing to the gear icon next to the field label The Custom Content text editor containing an HTML anchor linkIn this example, we’re using the following HTML to add the /csv/ to the View URL.
<a href="">Download as CSV</a>

We checked the box to "Automatically add paragraphs to content" to give the link more space.

Save the View

The Update button

Now the link appears in the View. Clicking it will download the entries as CSV.

A link that says Down as CSV

If the page shows Error 404 when trying to download a CSV file

  • Go to your site's Dashboard
  • Click on the Settings menu
  • Click on the "Permalinks" link in the Settings menu
  • Do not make any changes, just click the "Save Changes" button
You will only need to do this once, not when you configure a View.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us