Free & Open Source

Write a template once.
Generate content forever.

The home of spintax. Learn the syntax, create AI-assisted content templates, and generate unique variants at near-zero cost.

Key Features

GTW-compatible engine for template-based dynamic content.

Enumerations

{a|b|c} — randomly pick one option from the list. Full nesting support for complex variant trees.

Permutations

[<config>a|b|c] — pick N elements, shuffle, and join with custom separators and connectors.

Variables

%var% — global, local (#set), and shortcode-level variable scopes with clean inheritance.

Nested Templates

Embed templates within templates via #include. Circular reference detection keeps your site safe.

Object Cache

Rendered output cached via WP Object Cache API. Redis and Memcached ready out of the box.

Cron Regeneration

Optional scheduled cache refresh per template. Set TTL overrides and let WordPress cron keep content fresh.

Spintax Syntax

GTW-compatible markup that turns a single template into thousands of unique variants.

Template
#set %city% = {London|Berlin|Tokyo|New York}

Welcome to %city%!

We offer [<minsize=2;maxsize=3;sep=", ";lastsep=" and ">
  fast delivery|free returns|24/7 support|
  price matching|expert advice].

{Our team|The crew|We} {will|can} help you
{find the perfect|choose the right|pick the best}
solution for your needs.
Possible output
Welcome to Berlin!

We offer free returns, expert advice and 24/7 support.

The crew can help you pick the best
solution for your needs.

How It Works

From AI draft to live site in three steps.

1

Draft with AI

Ask ChatGPT, Claude, or any AI to create a spintax template from your brief.

2

Validate & Preview

Paste into the plugin editor. Syntax validation catches errors. Live preview shows real output.

3

Publish & Cache

Embed via [spintax] shortcode. The engine renders unique variants. Cache keeps it fast.

Free WordPress Plugin

Already know spintax? Install the free plugin to render templates on your WordPress site.

WordPress 6.2+ PHP 8.0+ GPL-2.0
Download on GitHub WordPress.org pending review

Open Source

Spintax is free software under the GPL-2.0 license. No external services, no tracking, no data leaves your server. All content generation happens locally on your WordPress installation.

View on GitHub