---
title: "Save Text File"
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/savetextfile
markdown: https://docs.nodetool.ai/nodes/nodetool/text/savetextfile.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/text/savetextfile.md
---

# Save Text File

**Type:** `nodetool.text.SaveTextFile`

**Namespace:** `nodetool.text`

## Description

Saves input text to a file in the assets folder.
    text, save, file

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| folder | `str` | Path to the output folder. | `` |
| name | `str` |          Name of the output file.         You can use time and date variables to create unique names:         %Y - Year         %m - Month         %d - Day         %H - Hour         %M - Minute         %S - Second          | `%Y-%m-%d-%H-%M-%S.txt` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `text` |  |

## Related Nodes

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