Narrative Generator

Generate thousands of unique, deterministic HTML paragraphs from your CSV data. Use variable interpolation, spintax, and conditional logic to build high-quality programmatic SEO content at scale.

1. Write your template

Use {column_name} for variables, {word1|word2|word3} for spintax.

Logic Blocks (optional)

Syntax Reference

FeatureSyntaxExample
Variable{column_name}The {product_name} costs ${price}
Spintax{opt1|opt2|opt3}A {great|fantastic|superb} product
ConditionComparison operators{price} > 1000
BooleanAND, OR, NOT{price} > 100 AND {stock} > 0
Equality==, !={category} == "Electronics"

2. Upload your data

Upload a CSV file with column headers that match your template variables, or use dummy data to preview.

📁 Drop CSV file here or click to browse
Supports .csv files up to 50MB

3. Generate

Generating narratives…

🧬 Deterministic Output

Same data always produces the same output. Spintax is resolved using a stable hash of each row — no randomness, fully reproducible.

📊 Information Gain

Every generation run checks uniqueness via token-level Jaccard distance. If variance is too low, you'll get a warning to add more variables or logic.

🔒 Safe Expression Eval

Conditions are parsed into an AST (Abstract Syntax Tree) and evaluated safely — no eval(), no injection risk. Supports math, comparisons, and boolean logic.