Title: Simple CSV Exporter
Author: Toro_Unit (Hiroshi Urabe)
Published: <strong>December 11, 2020</strong>
Last modified: November 29, 2024

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/simple-csv-exporter.svg)

# Simple CSV Exporter

 By [Toro_Unit (Hiroshi Urabe)](https://profiles.wordpress.org/toro_unit/)

[Download](https://downloads.wordpress.org/plugin/simple-csv-exporter.3.0.2.zip)

 * [Details](https://test.wordpress.org/plugins/simple-csv-exporter/#description)
 * [Reviews](https://test.wordpress.org/plugins/simple-csv-exporter/#reviews)
 * [Development](https://test.wordpress.org/plugins/simple-csv-exporter/#developers)

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

## Description

Simple CSV Exporter. Exported CSV can be imported with [Really Simple CSV Importer](https://ja.wordpress.org/plugins/really-simple-csv-importer/).

When you select a post type, the posts will be exported.

Github Repo: [https://github.com/hamworks/simple-csv-exporter](https://github.com/hamworks/simple-csv-exporter)

#### Customize the data to be exported

Customize for column.

    ```
    use HAMWORKS\WP\Simple_CSV_Exporter\Data_Builder;
    add_action( 'simple_csv_exporter_created_data_builder', 
        function ( Data_Builder $data ) {
            // Remove column.
            $data->append_drop_column( 'page_template' );
            // Add custom field column.
            $data->append_meta_key( 'my_meta_key' );
        }
    );
    ```

Customize posts for export.

    ```
    add_action( 'simple_csv_exporter_data_builder_for_wp_posts_pre_get_posts', 
        function ( WP_Query $query ) {
            $query->set( 'order', 'ASC' );
        }
    );
    ```

Data filter for metadata.

    ```
    add_filter( 'simple_csv_exporter_data_builder_for_wp_posts_get_post_meta_fields',
        function ( array $fields ) {
            foreach (
                array(
                    'your_flag',
                ) as $key
            ) {
                if ( isset( $fields[ $key ] ) ) {
                    $fields[ $key ] = ! empty( $fields[ $key ] ) ? 'TRUE' : 'FALSE';
                }
            }
            return $fields;
        }
    );
    ```

Data filter for post.

    ```
    add_filter(
        'simple_csv_exporter_data_builder_for_wp_posts_row_data',
        function ( $row_data, $post ) {
            $row_data['permalink'] = get_permalink( $post );
            unset( $row_data['comment_status'] );
            return $row_data;
        },
        10,
        2
    );
    ```

## Reviews

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

### 󠀁[Does exactly what it says in the title!](https://wordpress.org/support/topic/does-exactly-what-it-says-in-the-title/)󠁿

 [Aurovrata Venet](https://profiles.wordpress.org/aurovrata/) April 21, 2025

Simplicity is the key to a powerful tool. This is the sister plugin of Really Simple
CSV Importer, and both do a remarkable job of manipulating post data in and out 
of the DB. The one thing missing is the ability to export other types of data, users,
taxonomies, attachment meta-data…it would be a real complete swiss-army knife with
the ability to also export these other data types. This way you can batch fix missing
pieces of meta-data in your DB by simply sorting through it in a google sheet

 [ Read all 1 review ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)
 *   [ hamworks ](https://profiles.wordpress.org/hamworks/)

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

### Interested in development?

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

## Changelog

#### 3.0.0

 * Add support UTF-8 with BOM.
 * Refactor code.

#### 2.2.0

 * Add `simple_csv_exporter_data_builder_for_wp_posts_get_the_terms_field` filter.

#### 2.1.7

 * Fix taxonomy export.

#### 2.1.0

 * Rename hooks.
 * Add `simple_csv_exporter_data_builder_for_wp_posts_row_data` filter.

#### 2.0.1

 * Tested on WP 6.0
 * Drop support WP 5.7 and PHP 7.3

#### 2.0.0

 * Use PHP-DI.
 * Refactoring.

#### 1.1.0

 * Refactoring release.

#### 1.0.0

 * first release.

#### 0.0.1

 * internal release.

## Meta

 *  Version **3.0.2**
 *  Last updated **1 year ago**
 *  Active installations **300+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-csv-exporter/)
 * Tags
 * [csv](https://test.wordpress.org/plugins/tags/csv/)[export](https://test.wordpress.org/plugins/tags/export/)
 *  [Advanced View](https://test.wordpress.org/plugins/simple-csv-exporter/advanced/)

## Ratings

 5 out of 5 stars.

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

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

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

## Contributors

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)
 *   [ hamworks ](https://profiles.wordpress.org/hamworks/)

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/torounit)