Map Extract
Free tool

Spintax checker, counter and previewer

Write or paste a message with {Hi|Hello} style alternatives. The checker points to any brace that is missing or out of place by line and column, counts how many versions the text can produce, shows several random versions next to each other and exports up to 500 of them.

Runs in your browser. Nothing you enter is uploaded.

Checking a spun message

  1. Paste your copy

    Put alternatives in curly braces separated by a pipe, such as {I noticed|I saw}. Groups can sit inside other groups. Leave merge tags in double braces, like {{first_name}}, and they are kept as they are.

  2. Read the problems list first

    Errors (a brace that never closes, or a closing brace with no partner) stop previews until fixed. Warnings point out empty options, groups with only one choice and stray pipes. Below the list, your text is repeated with each problem character highlighted.

  3. Look at the four figures

    Combinations is the exact number of choice paths. Different texts counts truly distinct outputs when there are 500 or fewer. Spin groups and deepest nesting tell you how complicated the copy has become.

  4. Read the previews aloud

    Pick 2, 4 or 8 previews and press Shuffle previews for a fresh set. Every version should read as something you would happily send; if one sounds odd, fix the group that produced it.

  5. Export a sample

    Set how many variants you want (1 to 500), then Download CSV. Each row has the variant number, the text, its word count and its character count, with no repeats.

A stockist enquiry with 1,728 versions

This short note to a gift shop has ten spin groups, one of them nested (your {shop|studio} inside a choice with the shop). The checker found no problems and counted 1,728 combinations. Because that is more than 500, it does not list them all to count exact duplicates.

Two of the previews it produced are shown below. The merge tag survived untouched in both, ready for a sending tool to fill in.

Input
{Hi|Hello|Morning} {{first_name}},

{I noticed|I saw|I came across} {your {shop|studio}|the shop} on {Google Maps|the high street} and {wondered|thought I would ask} whether you {stock|sell} {local|handmade} {cards|prints}.

{Thanks|Cheers},
Sam
Result
Combinations: 1,728   Spin groups: 10   Deepest nesting: 2

Morning {{first_name}},
I saw your studio on the high street and thought I would ask whether you sell handmade prints.
Thanks,
Sam

Hello {{first_name}},
I came across your shop on Google Maps and wondered whether you sell handmade cards.
Thanks,
Sam

Two mistakes the checker catches

Here the writer used single braces for a merge field and forgot to close a group. The checker gives a warning at line 1, column 12 (the single-brace field has no pipe, so it would never change; it suggests writing it in double braces) and an error at line 1, column 26, where the {I saw group opens and is never closed. The inner Maps group is fine, which is why the error points at the outer brace.

Input
{Hi|Hello} {first_name}, {I saw|I noticed your shop on {Google Maps|Bing Maps}.
Result
Line 1, column 12: {first_name} has no | so it is not spun. If it is a merge field, write {{first_name}}
Line 1, column 26: Opening brace { is never closed

Spintax terms

Spin group
A pair of braces holding two or more options separated by |. One option is chosen each time the text is rendered.
Nesting
A group inside an option of another group, such as {your {shop|studio}|the shop}. Useful, but every extra level makes the copy harder to proofread.
Empty option
Nothing between two pipes, as in {really ||very }. It means "sometimes print nothing here". Allowed, so it is a warning rather than an error.
Merge tag
A field such as {{first_name}} that your sending tool replaces per recipient. Written in double braces with no pipe, it is left alone by this checker.

How the count is worked out

Plain text multiplies nothing. A group contributes the sum of what its options can produce, and groups side by side multiply. So {a|b|c} {x|y} gives 3 x 2 = 6, while {a|{b|c}|d} gives 1 + 2 + 1 = 4, not 3. The counter uses whole-number arithmetic with no upper limit, so a long template with thirty five-way groups is reported exactly rather than as infinity.

Previews are picked fairly across those paths. If one option hides a nested group with three choices, it is chosen three times as often as a plain sibling, so each finished version is equally likely. That matters when you are checking a sample: a lopsided picker would show you the same branch again and again and hide a clumsy one.

Combinations are not the same as different messages. {Hi|Hello|Hi} has three paths but only two outputs, which is why the tool counts distinct texts separately when the total is small enough to list.

Questions people ask

What is spintax?

Spintax is a way of writing alternatives inside one message: words or phrases in curly braces separated by a pipe, such as {Hi|Hello}. A sending tool picks one option from each group for every email, so recipients get slightly different wording. Groups can be nested to vary whole phrases as well as single words.

How do I check spintax for errors?

Paste it into the checker. It reports every unclosed opening brace and every closing brace without a partner, with the line and column, and highlights the character in a copy of your text. It also warns about empty options, single-option groups and pipes outside braces, which are often mistakes but sometimes intended.

How many variations does my spintax make?

Multiply the option counts of groups that sit side by side, and add the counts of options inside a group. The checker does this exactly, even for very large numbers, and shows the result as combinations. When there are 500 or fewer it also counts distinct texts, since repeated options can produce identical messages.

Will spintax break my {{first_name}} merge tags?

Not here. Anything in double braces made of letters, digits, spaces, dots, dashes and underscores is treated as literal text and passes through every variant untouched. A single-brace field such as {first_name} is flagged, because most spintax tools would treat it as a one-option group.

Does spintax improve cold email deliverability?

Not on its own. Mailbox providers weigh authentication, sending reputation, complaint rates and engagement far more than small wording changes. Spintax helps a series of messages read less like a template to the people receiving them, which can help replies, but it does not replace a clean list and a properly set up domain.

Can I export the variations?

Yes. Choose a number from 1 to 500 and download a CSV of that many distinct random versions, each with its word and character count. If the text can produce fewer versions than you asked for, you get all of them.

Where your data goes

Parsing, counting and previews all happen in this browser tab. Your copy is not uploaded, saved or shared, and the random choices use your browser's own random number generator. The CSV is created locally when you click download.

Checked against the tool on

Top