Spintax expander
Write {Hi|Hello|Hey} style variations, check the braces, count every variation, and preview wording. Or paste a list of phrases and get the spintax.
Use {a|b} for options. {{name}} is a variable and is left as it is. Spaces inside braces are literal.
With a seed, the same text and seed always give the same previews.
5 previews
Hello {{first_name}}, short question about {{company}}.
Hey {{first_name}}, quick question about {{company}}.
Hi {{first_name}}, quick question about {{company}}.
Hello {{first_name}}, quick question about {{company}}.
Hey {{first_name}}, short question about {{company}}.Runs in your browser. Nothing you type is sent to us.
How it works
- A group like {Hi|Hello} picks one option. Groups can nest up to 8 levels, and a nested group counts inside the option that holds it.
- The variation count is exact: options inside a group add, adjacent groups multiply. It is shown in full up to 1e15 and in scientific notation above that.
- Errors point to the line and column of an unclosed brace, a stray closing brace or a bar outside a group. Warnings flag an empty alternative such as {a||b}, where one version has a blank, and an option that starts or ends with a space, because spaces inside braces are literal.
- {{first_name}} with double braces is a personalization variable and passes through untouched. A backslash escapes the next character, for example \{ or \|.
- Five previews are drawn at random, and Re-roll draws five more. With a seed, the same text and seed always give the same previews, so a lead keeps the same wording across retries.
- Build mode turns one phrase per line into a single {a|b|c} group, trimming blanks and repeats and escaping braces, bars and backslashes.
Limits
- Everything runs in your browser. The text you type is never sent anywhere.
- Text is limited to 20,000 characters.
- The count is the number of combinations the spintax can produce. Two combinations can read the same, so the number of different texts can be lower.
- Previews are distinct where the text allows it. A text with fewer variations than previews shows only the ones that exist.
- This does not check that your copy is good, only that the syntax is valid.
- No account is needed and no mail is sent.