> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SaveText - ComfyUI Built-in Node Documentation

> Complete documentation for the SaveText node in ComfyUI. Learn its inputs, outputs, parameters and usage.

Save Textノードは、テキストコンテンツを出力ディレクトリ内のファイルに書き込みます。.txt、.md、または.json形式での保存をサポートしており、有効なJSONが提供された場合は自動的にJSONのプリティプリントを処理します。

## 入力

| パラメータ             | 説明                               | データ型   | 必須  | 範囲                                |
| ----------------- | -------------------------------- | ------ | --- | --------------------------------- |
| `text`            | ファイルに保存するテキストコンテンツ               | STRING | はい  | -                                 |
| `filename_prefix` | 出力ファイル名のプレフィックス（デフォルト："ComfyUI"） | STRING | いいえ | -                                 |
| `format`          | テキストを保存するファイル形式（デフォルト："txt"）     | STRING | いいえ | `"txt"`<br />`"md"`<br />`"json"` |

## 出力

| 出力名    | 説明                    | データ型   |
| ------ | --------------------- | ------ |
| `text` | ファイルに保存された元のテキストコンテンツ | STRING |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SaveText/ja.md)

***

**Source fingerprint (SHA-256):** `5644d143f415773115b38d7af6d9afea20c9eadef2cea836b0384c15e0dcba6a`
