
By Max
CSV Export/Import for Strapi - Bulk export/import content to CSV. Supports text, numbers, relations. Safe updates only. One-click in admin panel.
released April 13, 2025
npm install export-import-strapi5-pluginnpm install export-import-strapi5-pluginAdd to ./config/plugins.js:
module.exports = ({ env }) => ({
'export-import-strapi5-plugin': {
enabled: true,
config: {
entities: {
'api::product.product': {
fields: [
'category.name',
'brand.name',
'name',
'slug',
'price',
'sale',
'hit',
'available',
'popularity',
],
},
// Add other content types as needed
},
},
},
});entities: Object containing content type configurations
"api::product.product")fields: Array of fields to include in export/import
documentID - it's automatically included| Type | Import Handling | Example |
|---|---|---|
| Integer | Convert to integer | "42" → 42 |
| BigInteger | Convert to integer | "1234567890" → ... |
| Float | Convert to float | "3.14" → 3.14 |
| Decimal | Convert to float | "99.99" → 99.99 |
| Boolean | Convert 'true'/'false' to boolean | "true" → true |
| String/Text | Trim whitespace | " text " → "text" |
Record Identification:
documentIDRelationship Handling:
category.name)For api::product.product:
documentID,category.name,brand.name,name,slug,price,sale,hit,available,popularity
1,Electronics,Sony,TV,sony-tv,999.99,true,true,true,5
2,Electronics,Samsung,Phone,samsung-phone,799.99,false,true,true,8After installation:
Note: Always back up your data before performing imports
undefinedShare your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
