Spintax generator (expand all variations)

Handy for drafting several versions of a greeting, an ad or a headline and picking the one you like.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter spintax text.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Each group {a|b|c} means pick one of its options. Number of versions = the product of the option counts of all groups; nested groups are expanded from the inside. Duplicate versions are removed.

Example

Result: All versions: مرحبا بك في متجرنا مرحبا بكم في متجرنا أهلا بك في متجرنا أهلا بكم في متجرنا; Versions: 4.

{مرحبا|أهلا} {بك|بكم} في متجرنا
مرحبا بك في متجرنا
مرحبا بكم في متجرنا
أهلا بك في متجرنا
أهلا بكم في متجرنا

Limits and caveats

  • Up to 5,000 versions at a time.
  • It does not check grammar, so options that do not fit together can produce awkward sentences.
  • The characters {, } and | cannot be used as plain text inside a template.

Questions about this tool

What is spintax?

A way to write alternatives inside curly braces separated by a pipe, such as {Good morning|Good evening}, so one template gives several texts.

Can I put a group inside a group?

Yes. For example {I {love|like}|We enjoy} tea gives three versions.

How do I make a word optional?

Leave one option empty, as in {very |}nice, to get a version with the word and one without.