WordPress/WooCommerce: “Sorry, this file type is not permitted for security reasons” for CSV
Why WordPress blocks your CSV upload and what to check in the file itself.
The message you see
Sorry, this file type is not permitted for security reasons.Fastest fix
Upload the file and see exactly which rows cause the problem. Free, and the file stays in your browser.
Why this happens
- The file's content doesn't match its .csv extension (e.g. it's actually an Excel file renamed).
- A security plugin or host restricts which file types can be uploaded.
How to fix it
- 1Export a real CSV (UTF-8) instead of renaming an .xlsx file.
- 2Upload through the WooCommerce product importer, not the media library.
- 3If it still fails, ask your host which upload types are allowed.
Related guides
WooCommerce
WooCommerce product import: “Invalid or duplicated SKU.”
HubSpotHubSpot import error: “Make sure each column with data has a header”
ShopifyShopify CSV import: “Illegal quoting on line …”
Still stuck? Ask SheetFix Support