---
title: "Template"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/text/template
markdown: https://docs.nodetool.ai/nodes/nodetool/text/template.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/template.md
---

# Template

**Type:** `nodetool.text.Template`

**Namespace:** `nodetool.text`

## Description

Uses template syntax to format strings with variables. Supports {{ variable }} and {variable} patterns.
    text, template, formatting, format, combine, concatenate, variable, replace

    Use cases:
    - Generating personalized messages
    - Creating parameterized queries
    - Formatting text with variable inputs

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| string | `str` | Template string with {{ variable }} or {variable} placeholders. | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](./) namespace.
