Title: CS2FS Converter
Author: Folla Ky
Published: <strong>October 30, 2026</strong>
Last modified: October 30, 2026

---

Search plugins

![](https://ps.w.org/cs2fs-converter/assets/banner-772x250.png?rev=3775238)

![](https://ps.w.org/cs2fs-converter/assets/icon-256x256.png?rev=3775238)

# CS2FS Converter

 By [Folla Ky](https://profiles.wordpress.org/follaky/)

[Download](https://downloads.wordpress.org/plugin/cs2fs-converter.1.1.zip)

 * [Details](https://wordpress.org/plugins/cs2fs-converter/#description)
 * [Reviews](https://wordpress.org/plugins/cs2fs-converter/#reviews)
 *  [Installation](https://wordpress.org/plugins/cs2fs-converter/#installation)
 * [Development](https://wordpress.org/plugins/cs2fs-converter/#developers)

 [Support](https://wordpress.org/support/plugin/cs2fs-converter/)

## Description

Moving from Code Snippets to Fluent Snippets? This plugin copies your snippets across,
puts each one in the right place, and tells you which ones need a look before you
switch them on.

It started as a Python script of mine. This is the same idea, inside WordPress.

**How it works**

 1. Go to Tools > CS2FS Converter. You’ll see all your snippets, what each one becomes
    in Fluent Snippets, and any notes.
 2. Untick the ones you don’t want and click Generate. You get a JSON file to keep 
    as a backup.
 3. Open Fluent Snippets and click “Import local”. Done.

Everything arrives as a draft, so nothing runs twice while Code Snippets is still
active. When you’re ready, deactivate Code Snippets and publish the snippets you
need.

**What carries over**

 * The code, name, description, tags and priority.
 * The right type and location for every kind of snippet: PHP, CSS, JavaScript, 
   and HTML for the head, body or footer.
 * Which snippets were active, so you know what to publish.

**What needs a look**

The converter flags these, both on the list and after the import:

 * Snippets with a condition (Code Snippets 4). Fluent Snippets has its own conditions,
   so set them up again there.
 * Single-use snippets. Fluent Snippets has no “run once”, so a published one runs
   on every page load.
 * Content snippets. Pages using `[code_snippet]` need the Fluent Snippets shortcode
   instead.

Snippets in the trash are left out.

Once you’ve moved everything, delete this plugin. You only need it once.

**Where each snippet goes**

 * Run everywhere: PHP, everywhere
 * Only run in the admin: PHP, admin only
 * Only run on the site front-end: PHP, everywhere, with a check that stops it in
   the admin
 * Only run once: PHP, everywhere (flagged)
 * Content (shortcode): PHP + HTML, shortcode (flagged)
 * Head, body and footer content: PHP + HTML in wp_head, wp_body_open or wp_footer
 * Admin and site CSS: CSS in admin_head or wp_head
 * Head and footer JavaScript: JS in wp_head or wp_footer

You can still change the type of any snippet on the list before exporting.

## Installation

 1. Install the plugin from Plugins > Add New, or upload the ZIP there.
 2. Activate it.
 3. Go to Tools > CS2FS Converter.

You need Code Snippets (free or Pro) with your snippets in it, and Fluent Snippets
installed for the import.

## FAQ

### Does it change my Code Snippets?

No. It only reads them. Your snippets stay in Code Snippets until you delete them
yourself.

### Why are the imported snippets drafts?

So the same code doesn’t run twice. Two copies of a function in both plugins can
take a site down. Deactivate Code Snippets first, then publish in Fluent Snippets.

### Where is the export file saved?

You download it, and a copy goes to `wp-content/uploads/cs2fs_export/` for the “
Import local” button. That folder is blocked from the web on Apache and the files
get random names. On Nginx, block the folder in your server config or delete the
files after importing.

### My snippet starts with a namespace. Anything to watch?

Yes, if it was a front-end only snippet. The converter adds a short admin check 
at the top of the code, and PHP needs `namespace` to come first. Move the check 
below it after importing.

### Does it work on multisite?

It converts each site’s own snippets. Network-wide snippets aren’t read.

### Is this an official Code Snippets or Fluent Snippets plugin?

No. It’s an independent tool by Folla Ky and isn’t affiliated with either plugin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CS2FS Converter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Folla Ky ](https://profiles.wordpress.org/follaky/)

[Translate “CS2FS Converter” into your language.](https://translate.wordpress.org/projects/wp-plugins/cs2fs-converter)

### Interested in development?

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

## Changelog

#### 1.1

 * Every kind of snippet now gets the right type and location. Before, head, body
   and footer HTML and admin CSS came in as PHP, and everything ran in the footer.
 * Tags and priority carry over. Trashed snippets and Code Snippets 4 condition 
   rows are skipped.
 * Snippets that were active, had a condition, run once or are shortcodes are flagged.
 * The code is read on the server instead of being sent through the form.
 * The saved export gets a random file name and is blocked from the web.
 * Translations come from translate.wordpress.org; the plugin no longer bundles 
   its own.
 * Works on PHP 7.4. Needs WordPress 6.2 or newer.

#### 1.0

 * First release.

## Meta

 *  Version **1.1**
 *  Last updated **12 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [code-snippets](https://wordpress.org/plugins/tags/code-snippets/)[export](https://wordpress.org/plugins/tags/export/)
   [import](https://wordpress.org/plugins/tags/import/)[migration](https://wordpress.org/plugins/tags/migration/)
 *  [Advanced View](https://wordpress.org/plugins/cs2fs-converter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cs2fs-converter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cs2fs-converter/reviews/)

## Contributors

 *   [ Folla Ky ](https://profiles.wordpress.org/follaky/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cs2fs-converter/)