Spintax playground
Write a template, declare variables, and generate variants. Errors are underlined in place. Everything runs in your browser — nothing is sent to a server.
Random: every Generate builds a fresh set of texts. Switch to Repeatable to pin a set you can share or reproduce in code.
Repeatable: the same seed gives the same variants, here and behind a share link. Variant 1 is exactly what render(template, { seed }) from @spintax/core returns, so you can carry it into your code.
Variables
Define variables used by %name% references in the template. Structured mode is friendlier for casual use; raw mode accepts the canonical #set / #def syntax (with spintax inside values allowed). #set re-rolls its value at every reference; #def rolls once and holds.
Output
- Press Generate to render variants. Leftover markers in the output are underlined — usually that means a variable is missing.