Exporting a CSV
How to export a CSV from Excel or Google Sheets.
products.csv
namecategorypricestock
Wireless Headphoneselectronics79.99142
USB-C Hubelectronics34.9989
Laptop Standoffice49.00201
+ 844 more rows
GET/v1/apis/products200 OK
{
"data": [{ "name": "Wireless Headphones" … }],
"total": 847,
"page": 1,
"limit": 25
}
How to export CSV from Excel
- Open your spreadsheet in Microsoft Excel.
- Go to File → Save As (on Mac: File → Export).
- Choose the file format CSV (Comma delimited) (*.csv).
- Click Save. Your CSV file is ready to upload.
If Excel asks whether to keep the current format, click Keep Current Format. Only the active sheet is exported — make sure your data is on the active sheet before saving.
How to export CSV from Google Sheets
- Open your spreadsheet in Google Sheets.
- Go to File → Download.
- Choose Comma-separated values (.csv). The file downloads immediately.
Google Sheets exports the currently active sheet as UTF-8 by default — no encoding changes needed. If your spreadsheet has multiple sheets, export each one separately. For the full workflow, see Google Sheets to API.
Quick troubleshooting
- Wrong delimiter — API Butler expects comma-separated values. If you exported with semicolons or tabs, re-export and choose the CSV (Comma) format.
- Missing header row — The first row becomes your column names in the API. Make sure it contains meaningful headers, not data.
- Encoding issues — In Excel, choose CSV UTF-8 (Comma delimited) if that option is available. Google Sheets exports UTF-8 automatically.
- Multiple sheets — Only the active sheet is exported. Duplicate data to one sheet first if needed.
Next steps
Once you have your CSV file, upload it on the home page to generate your API in seconds. Before uploading, check the CSV format requirements to make sure your file is structured correctly. New to API Butler? See the getting started guide.