Liquid Email Preview
or blocks.
Liquid Template
Email Preview
Complete Liquid Template Reference
Master email personalization with this comprehensive guide to Liquid templating syntax. Click any example to add it to your template above.
Jump to section
Variables & Output
Output dynamic content using double curly braces. Variables can be simple values or nested objects.
String Filters
Transform text with filters. Chain multiple filters together using the pipe (|) character.
Number Filters
Format numbers for currency, percentages, and mathematical operations.
Conditional Logic (if/elsif/else)
Show different content based on subscriber data. This is the core of email personalization.
Comparison Operators
Compare values in your conditionals using these operators.
Logical Operators (and/or)
Combine multiple conditions for complex personalization logic.
Case/When Statements
A cleaner alternative to multiple elsif statements when comparing against many values.
Variables: Assign & Capture
Create reusable variables and capture blocks of content for later use.
Loops (for)
Iterate over arrays to display lists of items, products, or any repeated content.
Array Filters
Manipulate arrays to get first/last items, sort, filter, and more.
Date Filters
Format dates and times for personalized, timely content.
%Y - 4-digit year (2024)%y - 2-digit year (24)%B - Full month (January)%b - Short month (Jan)%m - Month number (01-12)%d - Day of month (01-31)%A - Full weekday (Monday)%a - Short weekday (Mon)%H - Hour 24h (00-23)%I - Hour 12h (01-12)%M - Minutes (00-59)%p - AM/PMWhitespace Control
Control extra whitespace and newlines in your output using hyphens in your tags.
Real-World Email Examples
Complete, ready-to-use email personalization templates.