Enter a template mask with {option1|option2} blocks (including empty options like {truck|} and nested groups up to 5 levels deep). All combinations are generated locally in your browser.
A mask-based combination generator (often called Spintax) lets you write a single sentence or template containing inline variation groups wrapped in curly braces {...} and separated by vertical pipes |. Instead of maintaining separate word lists in multiple columns like the classic Word Combinations tool, you embed choices directly inside natural text - and even nest sub-choices inside existing branches.
{Jane|Mike} expands to two variants: Jane and Mike.{truck|} or {|very }fast - produces both the word and an empty string. With Collapse extra spaces enabled, I'm a {truck|} driver cleanly becomes I'm a truck driver and I'm a driver without awkward double spaces.{...} block inside another branch, for example {drive|drink coffee with {milk|sugar}}. This produces three outcomes: drive, drink coffee with milk, and drink coffee with sugar.\{, \}, \|) if you need literal braces or pipes in your output text.Because each additional {a|b} group multiplies the total number of combinations, deeply nested or overly long masks can grow exponentially (for example, twenty {a|b} blocks produce over 1,000,000 strings). To keep your browser fast and responsive, this generator enforces two client-side guardrails:
{...} levels are rejected with a clear error message.{Free|Fast|Online} {JSON|XML} {Formatter|Validator}) before picking the strongest phrasing.https://{dev|staging|prod}.example.com/{api|admin}) without writing a loop in Python or Bash.{ must have a matching }. If your text contains a literal brace (like JSON), escape it as \{ and \}.