Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

The snippet plugin that can't take your site down.

Write PHP, CSS, JavaScript and HTML in the editor behind VS Code, and choose exactly where each snippet runs. If one ever breaks, Snipfire switches it off before your visitors notice.

Or download the free version from WordPress.org, every importer included. Needs WordPress 6.5+ and PHP 8.1+.

Switch in two clicks. Keep every snippet and every shortcode.

Snipfire finds the snippets in your current plugin and brings them across switched off, so importing changes nothing on your site. When you're ready, switch over: each snippet is turned off there, turned on here, and your site is test-loaded in between.

  • Your old plugin doesn't even need to be active.
  • Anything that can't be matched exactly is marked Check first and keeps running where it is until you've looked at it.
  • Old shortcodes like [wpcode] and [code_snippet] keep working, even after you delete the old plugin.

Import from

  • WPCode
  • Code Snippets
  • FluentSnippets
  • Header Footer Code Manager
  • Simple Custom CSS & JS
  • Post Snippets
  • Woody Code Snippets
  • Customizer "Additional CSS"
  • WPCodeBox (beta)

See what comes across from each plugin

Four checkpoints between a typo and a white screen.

A bad snippet in most plugins takes the whole site with it. Here it gets caught, switched off, and pointed out to you, usually before a single visitor sees a thing.

  1. Before you save

    Every PHP snippet is syntax-checked, and Snipfire warns you before you declare a function or class that already exists: the classic "Cannot redeclare" white screen.

  2. When you switch it on

    Snipfire test-loads your site first. If the page crashes, the snippet is switched straight back off.

  3. While your site runs

    Errors and fatal errors, even ones thrown later from a hook, switch the snippet off automatically and record the exact line.

  4. If all else fails

    Safe mode, from a secret link or one line in wp-config.php, gets you back in. The Snipfire editor never runs your snippets, so you can always fix them.

Zero database queries to load your snippets.

Snippets are stored as plain files, plus one compiled index that PHP keeps in its cache. Loading them costs one cached file read. Nothing waits on the database.

  • CSS and JavaScript can be served as minified static files that browsers cache too.
  • Edits take effect immediately, even on hosts with aggressive PHP caching.
  • Plain files are easy to back up, compare and inspect. Uninstalling keeps them unless you say otherwise.

Run each snippet exactly where it belongs.

Show a banner only to visitors from your Facebook ad. Load a script only on checkout. Schedule a promo for Black Friday week and let it switch itself off. Combine rules into groups, and a snippet runs when any group fully matches.

  • UTM and query parameters
  • Cookies
  • Date range and time of day
  • Day of week
  • Dev, staging or live site
  • Another plugin is active
  • User role and logged-in state
  • URL, post type, page and term
  • Mobile or desktop
  • WooCommerce pages
  • Cart total, cart contents and past ordersPro
  • Visitor country, language and referrerPro

Snipfire also tells you when a rule can't work where you've put it, such as a page-type rule on a hook that fires before WordPress knows which page it's on.

Everything else in the box.

Whether you build sites, look after dozens of them, or run a store, here's what you get beyond the editor.

For developers

WordPress autocomplete
6,800+ functions and 2,500+ hooks, with signatures, hover docs and parameter hints.
Emmet, Prettier and live error checks
Problems are marked in the editor as you type, before you save.
WP-CLI and a REST API
Automate imports, deploys and CI, starting with wp snipfire list.
Revisions
Side-by-side diffs and one-click restore. 10 versions per snippet free, 50 on Pro.
SCSS and LESS Pro
Compiled on save, with shared partials.
Testing mode Pro
Run a snippet only for admins or through a preview link, then go live in one click.
Visual hook finder Pro
See where each WordPress and WooCommerce hook fires on the page. Click one to put a snippet there.

For agencies

Git sync Agency plan
Two-way sync with GitHub or GitLab, for one folder or the whole library, with conflicts you settle in one click.
Team access and activity log Pro
Choose per role who can view snippets, edit CSS, JS and HTML, or do everything. See who changed what and when.
Folders, tags and bulk actions
Drag and drop, search by hook or tag, and switch many snippets on with one test load.
Cloud library Coming soon
Save snippets to your library and pull them onto any site.
Agency dashboard Coming soon
Push a snippet to many sites, see which version runs where, and roll back remotely.

For stores and EU sites

WooCommerce rules
Shop, product, cart and checkout pages for free. Cart total, cart contents, past purchases and paid orders on Pro.
Scripts that wait for consent Pro
Tag a tracking snippet as statistics or marketing and it runs the moment the visitor agrees. Works with Complianz, CookieYes, Cookiebot, Borlabs, the WP Consent API and Google Consent Mode v2.
Country, language and referrer rules Pro
Language rules work with WPML and Polylang.
In Greek, with more languages coming
Every screen is translated into Greek, and each person sees their own profile language.

On the roadmap

  • Built-in scheduler with a run log
  • Per-snippet performance profiler
  • Encrypted secrets vault for API keys
  • Settings forms your clients can edit
  • A starter snippet library inside the plugin
  • German, French, Italian and Spanish
See the roadmap

No famous quotes yet. Here's how we test it instead.

Snipfire is new, so we won't show you testimonials we don't have. We'll show you what we checked.

We imported from WPCode, Code Snippets, FluentSnippets, Header Footer Code Manager and Simple Custom CSS & JS on a real test site. The site's output was identical before importing, after switching over, and after the old plugins were switched off.

  • Over 650 automated checks cover the engine, the editor, every importer, Git sync and the command line.
  • Every check runs on PHP 8.1, the oldest version we support.

Using it on a real site? Tell us how it went. We'll read every message.

How Snipfire compares with WPCodeBox.

WPCodeBox is a mature, well-made plugin, and we respect it. These are the places where we do things differently.

Snipfire compared with WPCodeBox 2
Feature Snipfire WPCodeBox 2
Free version Yes, on WordPress.org No
Import from other snippet plugins Yes, from 8 plugins, with one-click switch over None
Where snippets are stored by default Files, zero database queries Database
WP-CLI commands Yes, free None documented
Git sync Yes, on the Agency plan None documented
Tracking scripts that wait for cookie consent Yes, on Pro None documented
Testing mode (run only for you) Yes, on Pro No dedicated mode

Where WPCodeBox is ahead today: it has an AI assistant with an MCP server, and it can export snippets as a standalone functionality plugin. Both are on our roadmap.

Based on wpcodebox.com and its documentation, checked 24 September 2026. Spotted something out of date? Tell us and we'll fix it.

Full comparison, including WPCode and Code Snippets

Start free. Upgrade when a site needs more.

The free plugin does the everyday work. Pro adds the power tools, and Agency adds Git sync. Every plan comes with a 30-day refund, no questions asked.

Early-bird lifetime

Pro on unlimited sites, paid once with no renewals. Only for the first 200 buyers, and only for a limited time. Git sync stays on the Agency plan.

Pro 1 site

$39 a year

Every Pro feature

  • SCSS and LESS with partials
  • Scripts that wait for cookie consent
  • Testing mode and the visual hook finder
  • Team access and an activity log
  • WooCommerce cart, country and language rules
  • 50 versions of history per snippet

Pro Unlimited sites

$79 a year

Every Pro feature, on every site

  • Pays for itself from the third site
  • One licence for all your clients' sites

Agency Unlimited sites

$149 a year

14-day free trial, no card needed

Everything in Pro, plus

  • Git sync with GitHub and GitLab

Free on WordPress.org

  • The full editor with WordPress autocomplete
  • Crash protection, test loads and safe mode
  • Every importer, with one-click switch over
  • Everyday conditions, WP-CLI and the REST API
Download free

Prices in US dollars. Taxes are worked out at checkout. Payments, licences and invoices are handled by Freemius, our reseller. Local development sites don't count towards your site limit. Compare with other plugins

Questions people ask before switching.

Will switching from my current plugin break my site?

No. Importing changes nothing: copies arrive switched off. Switching over turns each snippet off in the old plugin and on in Snipfire, then test-loads your site. Anything Snipfire can't match exactly is left running in your old plugin until you've checked it.

Do my old shortcodes still work?

Yes. [wpcode], [code_snippet], [fluent_snippet] and [hfcm] keep working, even after you delete the old plugin.

What's free, and what does Pro add?

The free plugin has the full editor, crash protection, every importer, everyday conditions, WP-CLI and the REST API. Pro adds SCSS and LESS, scripts that wait for cookie consent, testing mode, the hook finder, team access with an activity log, and WooCommerce cart, country and language rules. Agency adds Git sync.

Can I try it before I pay?

Yes, three ways: use the free plugin, start the 14-day Agency trial without a card, or buy and ask for a refund within 30 days, no questions asked.

What happens if a snippet has an error?

Syntax errors are caught before you save. If a snippet breaks the site while it runs, it's switched off automatically and you see the exact line. Safe mode always gets you back in.

Does it slow my site down?

No. Snippets load from one cached file, with no database queries.

Does it work with my theme or page builder?

Yes, with any theme and any builder, including Bricks, Oxygen, Breakdance and Elementor.

What do I need to run it?

WordPress 6.5 or newer and PHP 8.1 or newer. Pro is an add-on that runs alongside the free plugin.

What happens to my snippets if I uninstall?

Your snippet files stay on the server unless you choose to delete them. They're your code.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.