This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP CSV to Database – Insert CSV file content into WordPress database


WP CSV to Database plugin allows you to insert CSV file content into WordPress database. You can selectively insert data into a particular database table.

You can also export any WordPress database table content to a CSV file using this plugin.

Useful when you want to bulk upload data from your CSV file (example: product details) to the WordPress database in one go.

Bulk data import from CSV (Microsoft Excel) file. Bulk data export from your database to CSV file

For detailed documentation please visit the CSV to DB Plugin page


Access the plugin’s UI in the WordPres dashboard under the “Settings -> WP CSV/DB” menu after installation. Read the “Guide” tab for instructions.


  • Go to the Add New plugins screen in your WordPress admin area
  • Click the upload tab
  • Browse for the plugin file (
  • Click Install Now and then activate the plugin


  1. Can this plugin be used to bulk upload product details for the WP eStore plugin? Yes
  2. Can this plugin be used to dump data into any WordPress database table? Yes.


March 1, 2019 1 reply
1. no option to choose csv dialect. You have to have "," delimeter 2. No data conversion options. You want an empty field to be null instead of zero (or "")? Can't do it with this plugin. 3. no flexibility. csv table must have EXACTLY the same number of columns than the DB table in EXACTLY the same order. No header matching or column skipping. 4. Dubious errors. Clicking "Import to DB" I get "problem with database query" error because of duplicate entry. Clicking again I get instead "Starting row value exceeds the number of entries being updated to the database from the .csv file". Clicking "Reload table preview" I get afterwards again the first error when I try to import. So which of the two shall I believe? It finally worked with the "update" checkbox (but only after clicking the "table preview" directly before), even though there was nothing to update but an empty table to be filled. Conclusion: Usage of this plugin is highly error prone because depending on your external data structure you might easily mess up the columns. The upload form seems to have some bugs. Not knowing what's under the hood, I'm afraid using this plugin on live data might destroy a lot in the worst case. The idea is of this plugin is nice, but I'll probably end up writing my own python script instead of using this plugin.
January 25, 2019 1 reply
This is one of the best CSV importers I've found. I created a couple of new tables for a client and I needed a way to import CSV content into these tables. I tried a number of other components, but they only worked for stock items (posts, pages, comments, etc). This component does that and more. It will import data into your custom tables and it doesn't so cleanly and easily. This has saved me hours of coding and it has a clean, simple interface that will not overburden my clients with jargon. If you're looking to import CSV files regularly or just to populate data from the get go, this is the one you're looking for.
November 19, 2018 1 reply
Very good! Works like a charm and saves a lot of time. Thank you for making this awesome plugin!
July 19, 2018 2 replies
Current version doesn't support files with escape characters. you can add this features by adding following line in main.php file: $row = array_map(function($v) { return esc_sql($v) ;}, $row) ; Add this just line After this comment: //If. csv column count matches db column count
Read all 9 reviews

Contributors & Developers

“WP CSV to Database – Insert CSV file content into WordPress database” is open source software. The following people have contributed to this plugin.




  • Updated the plugin to be compatible with PHP7+


  • The jquery UI css file is loaded over the same protocol as the site.


  • Added support for files with escape chars. Thanks to @alexuidian


  • Updated the code to address the “This is not a valid .csv file extension” error. Thanks to @sirhaver.


  • Fixed an issue with the export to CSV function.


  • WordPress 4.1 compatibility


  • Complete new revamped architecture for this plugin. It is now a lot more user friendly and has more features.

1.8 and before

  • The old versions with old architecture can be downloaded using the following link