Title: CSV Import and Exporter
Author: Masahiro NAKASHIMA
Published: <strong>1 มิถุนายน 2023</strong>
Last modified: 26 มิถุนายน 2025

---

Search plugins

![](https://ps.w.org/csv-import-and-exporter/assets/banner-772x250.png?rev=2919946)

![](https://ps.w.org/csv-import-and-exporter/assets/icon-128x128.png?rev=2919946)

# CSV Import and Exporter

 By [Masahiro NAKASHIMA](https://profiles.wordpress.org/kanakogi/)

[Download](https://downloads.wordpress.org/plugin/csv-import-and-exporter.1.0.1.zip)

 * [Details](https://th.wordpress.org/plugins/csv-import-and-exporter/#description)
 * [Reviews](https://th.wordpress.org/plugins/csv-import-and-exporter/#reviews)
 *  [Installation](https://th.wordpress.org/plugins/csv-import-and-exporter/#installation)
 * [Development](https://th.wordpress.org/plugins/csv-import-and-exporter/#developers)

 [Support](https://wordpress.org/support/plugin/csv-import-and-exporter/)

## Description

You can export posts in CSV format for each post type.
 It is compatible with posts’
custom fields and custom taxonomies. It is also possible to set the number or date
range of posts to download.

### How to customize export post data

This plugin has below filters.

 * wp_csv_exporter_post_name
 * wp_csv_exporter_post_title
 * wp_csv_exporter_post_content
 * wp_csv_exporter_post_excerpt
 * wp_csv_exporter_post_status
 * wp_csv_exporter_post_author
 * wp_csv_exporter_post_date
 * wp_csv_exporter_post_modified
 * wp_csv_exporter_thumbnail_url
 * wp_csv_exporter_post_tags
 * wp_csv_exporter_post_category
 * wp_csv_exporter_tax_{taxonomy}
 * wp_csv_exporter_{custom_field_key}

#### wp_csv_exporter_post_name

Parameters:

 * `$post_name` – (required) post slug
 * `$post_id` – (int) post id

Example:

    ```
    add_filter( 'wp_csv_exporter_post_name', 'wp_csv_exporter_post_name_filter', 10, 3 );
    function wp_csv_exporter_post_name_filter( $post_name, $post_id  ) {
        return $post_name;
    }
    ```

#### wp_csv_exporter_post_title

Parameters:

 * `$post_title` – (required) post title
 * `$post_id` – (int) post id

Example:

    ```
    add_filter( 'wp_csv_exporter_post_title', 'wp_csv_exporter_post_title_filter', 10, 3 );
    function wp_csv_exporter_post_title_filter( $post_title, $post_id  ) {
        $post_title = $post_id . ':' . $post_title;
        return $post_title;
    }
    ```

#### wp_csv_exporter_post_content

Parameters:

 * `$post_content` – (required) post content
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_excerpt

Parameters:

 * `$post_excerpt` – (required) post excerpt
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_status

Parameters:

 * `$post_status` – (required) post status
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_author

Parameters:

 * `$post_author` – (required) post author
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_date

Parameters:

 * `$post_date` – (required) post date
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_modified

Parameters:

 * `$post_modified` – (required) post modified date
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_thumbnail_url

Parameters:

 * `$post_thumbnail_url` – (required) post thumbnail_url
 * `$post_id` – (int) post id

#### wp_csv_exporter_post_tags

Parameters:

 * `$post_tags` – (array)(required) post tags
 * `$post_id` – (int) post id

Example:

    ```
    add_filter( 'wp_csv_exporter_post_tags', 'wp_csv_exporter_post_tags_filter', 10, 3 );
    function wp_csv_exporter_post_tags_filter( $post_tags, $post_id  ) {
        $_post_tags = array();
        foreach ( $post_tags as $key => $tag ) {
            $_post_tags[] = 'Tag:'.$tag;
        }
        return $_post_tags;
    }
    ```

#### wp_csv_exporter_category

Parameters:

 * `$category` – (array)(required) post category
 * `$post_id` – (int) post id

Example:

    ```
    add_filter( 'wp_csv_exporter_category', 'wp_csv_exporter_category_filter', 10, 3 );
    function wp_csv_exporter_post_category_filter( $category, $post_id  ) {
        $_category = array();
        foreach ( $category as $key => $value ) {
            $_category[] = 'Category:'.$value;
        }
        return $_category;
    }
    ```

#### wp_csv_exporter_tax_{taxonomy}

Parameters:

 * `$term_values` – (array)(required) post taxonomy
 * `$post_id` – (int) post id

Example: taxonomy = “dogs”

    ```
    add_filter( 'wp_csv_exporter_tax_dogs', 'wp_csv_exporter_tax_dogs_filter', 10, 3 );
    function wp_csv_exporter_tax_dogs_filter( $term_values, $post_id ) {
        $_term_values = array();
        foreach ( $term_values as $key => $term_value ) {
            $_term_values[] = 'Dog:'.$term_value;
        }
        return $_term_values;
    }
    ```

#### wp_csv_exporter_{custom_field_key}

Parameters:

 * `$field` – (required) post custom field
 * `$post_id` – (int) post id

Example: custom field key = “price”

    ```
    add_filter( 'wp_csv_exporter_price', 'wp_csv_exporter_price_filter', 10, 3 );
    function wp_csv_exporter_price_filter( $field, $post_id ) {
        return 'Price:'.$field;
    }
    ```

## Screenshots

 * [[
 * `/assets/screenshot-1.png`
 * [[
 * `/assets/screenshot-2.png`

## Installation

 1. Upload the entire `wp-csv-import-exporter` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. The control panel of WP CSV Exporter is in ‘Tools > CSV Export’ & ‘Tools > CSV 
    Import’.

## Reviews

![](https://secure.gravatar.com/avatar/925252eb83897db996b99ee43a622d6c96f95210d14ef4c7f21f599b9f1accbc?
s=60&d=retro&r=g)

### 󠀁[Very helfull to export](https://wordpress.org/support/topic/very-helfull-to-export/)󠁿

 [vb078](https://profiles.wordpress.org/vb078/) 3 มีนาคม 2024

finds all my fields !

![](https://secure.gravatar.com/avatar/372b78145a0850c5aa63b9d053bd26b78ccfb216c8530dc1ae9771c4f941ffc9?
s=60&d=retro&r=g)

### 󠀁[useless in a free version](https://wordpress.org/support/topic/useless-in-a-free-version/)󠁿

 [wpdude777](https://profiles.wordpress.org/wpdude777/) 15 มกราคม 2024

it is not possible to export custom taxonomies. useless

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/)

## Contributors & Developers

“CSV Import and Exporter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Masahiro NAKASHIMA ](https://profiles.wordpress.org/kanakogi/)

[Translate “CSV Import and Exporter” into your language.](https://translate.wordpress.org/projects/wp-plugins/csv-import-and-exporter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/csv-import-and-exporter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/csv-import-and-exporter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/csv-import-and-exporter/)
by [RSS](https://plugins.trac.wordpress.org/log/csv-import-and-exporter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

**1.0.0 – April 14, 2023**
 Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **10 เดือน ago**
 *  Active installations **900+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/csv-import-and-exporter/)
 * Tags
 * [csv](https://th.wordpress.org/plugins/tags/csv/)[custom post](https://th.wordpress.org/plugins/tags/custom-post/)
   [export](https://th.wordpress.org/plugins/tags/export/)[extract](https://th.wordpress.org/plugins/tags/extract/)
   [import](https://th.wordpress.org/plugins/tags/import/)
 *  [Advanced View](https://th.wordpress.org/plugins/csv-import-and-exporter/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/csv-import-and-exporter/reviews/)

## Contributors

 *   [ Masahiro NAKASHIMA ](https://profiles.wordpress.org/kanakogi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/csv-import-and-exporter/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.amazon.co.jp/registry/wishlist/2TUGZOYJW8T4T/?_encoding=UTF8&camp=247&creative=7399&linkCode=ur2&tag=wpccc-22)