Contact
Import & export / Export entries
  1. Home
  2. Database for Contact Form 7
  3. Import & export
  4. Export entries
Import & export

Export entries

2 min readUpdated Nov 3, 2026

There are two ways: the Export as CSV button on the Entries screen, and the Import / Export tab.

From the Entries screen

Export as CSV downloads exactly what you are looking at: the selected form, your search, date range and filters, with the columns in the order you arranged them. The arrow next to it opens the options:

Export options on the Entries screen
Export options on the Entries screen
  • Format: CSV, Excel (XLSX) or JSON.
  • CSV delimiter: comma, semicolon, tab or pipe.
  • Columns: The columns shown in the table (your arrangement) or All columns.
  • Include notes (needs the edit permission).
  • Export exports every matching entry; Export selected exports only the rows you ticked.

From the Import / Export tab

The Import / Export tab
The Import / Export tab

Choose a form (or all forms), a format, a delimiter, a date range and the columns, then Download export.

Filtering by files

Attachments on the Import / Export tab (and More filters on the Entries screen) offers All records, With file and Without file. It checks the stored file records, so entries whose files were removed are counted correctly, and the page count follows the filter. The Custom date range shows from and to side by side, stacked on small screens.

What is in the file

  • The columns follow the table. Form fields are written as Label (field-name), for example Your Email (your-email), so the file can be imported again without guessing.
  • System columns: Entry ID, Form, Browser, Operating system, Device, Source URL, Screen, IP address, User agent, Submitted (UTC), Updated (UTC), whichever are in your layout. Read and Starred are always added at the end.
  • The IP address column is exactly the stored address (full, unless you turned on shortening) and is only present for people allowed to see IP addresses.
  • Times are in UTC and say so in the heading.

The formats

FormatGood to know
CSVUTF-8 (with an optional byte-order mark so Excel shows accents correctly). Multi-line messages and quotes are handled. Cells starting with =, +, - or @ get an apostrophe in front so a spreadsheet cannot run them as formulas (the import removes it again).
XLSXA real Excel workbook (not a renamed CSV), with a bold, frozen header row. Needs the PHP zip extension.
JSONDocumented schema nbwpas-fem-entries, version 1: forms, fields, the column order and entries with their original timestamps, read/starred state and device, browser, operating system, screen, source and IP data. Lists stay lists. No server paths, links or file contents.

Files are never included, only their names. Exports are streamed in batches, so even 100,000 entries do not exhaust memory (about 5 seconds for CSV on a typical server).