Powerful Template Manager
Create, manage, and render dynamic templates with ease. Build XML, JSON, CSV, and text outputs using powerful templating with custom functions and real-time testing.
Use template syntax with custom functions for data manipulation and formatting.
Provide JSON data to define your template's expected structure.
Live testing environment with real-time output and debugging.
Access templates through REST API with your API key.
Built with rich syntax for loops, conditionals, and data manipulation. Create dynamic content with ease using industry-standard templating.
Generate XML, JSON, CSV, plain text, and custom formats. Perfect for reports, configurations, emails, and data transformation workflows.
Extended with powerful custom functions for math operations, string formatting, date manipulation, and more. Includes byte formatting, duration parsing, and array operations.
Test your templates instantly with sample data. See real-time output and debug template logic before deploying to production.
Full REST API with authentication support. Integrate template rendering into your applications with simple HTTP calls and flexible data formats.
Secure user authentication with API keys, usage tracking, and template sharing. Organize templates by category and manage access control.
<customer-report>
<header>
<title>{{ title | string.upcase }}</title>
<generated>{{ date.now | date.to_string "%Y-%m-%d" }}</generated>
</header>
<customers>
{% for customer in customers %}
<customer id="{{ customer.id }}">
<name>{{ customer.name }}</name>
<email>{{ customer.email }}</email>
<total>{{ customer.orders | fn_math_sum "amount" | math.format "C" }}</total>
</customer>
{% endfor %}
</customers>
<summary>
<total-customers>{{ customers | array.size }}</total-customers>
<total-revenue>{{ customers | array.map "orders" | array.flatten | fn_math_sum "amount" | math.format "C" }}</total-revenue>
</summary>
</customer-report>
curl -X POST "https://api.loro.com/api/templates/[ID]/render" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"title": "Monthly Sales Report",
"customers": [
{
"id": "C001",
"name": "John Doe",
"email": "john@example.com",
"orders": [
{"amount": 150.00},
{"amount": 75.50}
]
}
]
}'
Render a template with provided data and get the formatted output.
Get all templates available to your account, including shared system templates.
fn_math_sum
, fn_math_average
- Perform calculations on arrays and collections.
fn_thousands_separator
, fn_pad_left
, fn_pad_right
, string.default
- Advanced string formatting.
array.where
, array.flatten
- Filter and manipulate arrays with powerful operations.
fn_format_duration
, fn_format_bytes
- Human-readable formatting for time and file sizes.
fn_include
- Include and render other templates within your templates for modularity.
fn_random
, fn_guid
- Generate random data and unique identifiers for testing and production.
Start free and scale as you grow
All plans include unlimited templates, full API access, and email support
View detailed pricing comparison →Join developers using loro to streamline their template workflows