Sample CSV files
Download a sample CSV file to test an import, a spreadsheet, a database load or a data script. Each file has a header row and made-up data, from 100 rows up to 10,000.
| File | Rows | Columns | Size |
|---|---|---|---|
| customers-100.csv | 100 | Customer details (10 columns) | 8 KB |
| customers-1000.csv | 1,000 | Customer details (10 columns) | 84 KB |
| customers-10000.csv | 10,000 | Customer details (10 columns) | 858 KB |
| customers-with-empty-values.csv | 100 | Customer details with some empty cells | 8 KB |
| products-100.csv | 100 | Products (6 columns) | 5 KB |
| sales-1000.csv | 1,000 | Sales by date and region (8 columns) | 54 KB |
Sample CSV file format
These are the first lines of customers-100.csv:
id,first_name,last_name,email,phone,city,state,zip,signup_date,active
1,Kai,Ellis,[email protected],555-0183,Franklin,TN,37064,2025-04-07,true
2,Ana,Moreno,[email protected],555-0127,Greenville,SC,29601,2026-03-05,true
3,Carla,Rossi,[email protected],555-0107,Franklin,TN,37064,2025-08-17,true
4,Tariq,Baker,[email protected],555-0174,Ashland,KY,41101,2025-02-17,true
5,Diego,Jensen,[email protected],555-0118,Franklin,TN,37064,2025-11-12,true
And of sales-1000.csv, which has numbers to sum and dates to group by:
id,date,region,product,category,units,unit_price,total
1,2025-07-12,South,USB-C cable,Electronics,12,8.99,107.88
2,2025-02-13,South,Wireless mouse,Electronics,2,19.99,39.98
3,2025-04-18,West,USB-C cable,Electronics,17,8.99,152.83
4,2025-09-07,West,Notebook,Stationery,15,4.50,67.50
5,2025-10-21,South,Yoga mat,Outdoor,16,27.50,440.00
- Header: the first row names the columns, in lower case with underscores.
- Separator: commas. Values that contain a comma are wrapped in double quotes, as the CSV standard (RFC 4180) describes.
- Encoding: UTF-8 with no byte order mark, and a line feed at the end of each row.
- Dates: ISO 8601, such as
2025-03-14, so they sort as text. - Money: two decimal places with no currency sign.
Ways to use a sample CSV
- Test an upload or import screen, including its row limit and how it reports errors.
- Check how an app handles missing values with
customers-with-empty-values.csv. - Practise pivot tables, charts and formulas in Excel or Google Sheets with
sales-1000.csv. - Load a test table in a database, or try a script in pandas or R.
- Time a parser or an import on 10,000 rows.
All names and emails are made up, and every email uses the reserved example.com domain. For the same kind of data in JSON, see the sample JSON files.
Frequently asked questions
Where can I download a sample CSV file?
Download any file from the table on this page. They are free for tests, demos and teaching, with no account.
Is there a large sample CSV file?
Yes. customers-10000.csv has 10,000 rows of customer data.
Do the sample CSV files have a header row?
Yes. The first row of every file names the columns.
Can I open the sample CSV files in Excel?
Yes. They use commas and UTF-8, which Excel, Google Sheets and Numbers open directly.
Is there a sample CSV with empty values?
Yes. customers-with-empty-values.csv has some empty phone, city, ZIP and date cells, for testing how an import handles missing data.