> ## 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.

# ConvertDictionaryToString - ComfyUI Built-in Node Documentation

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

This node converts a dictionary (a collection of key-value pairs) into a text string in JSON format. You can control the indentation level to make the output more readable or compact.

## Inputs

| Parameter    | Description                                                                 | Data Type | Required | Range  |
| ------------ | --------------------------------------------------------------------------- | --------- | -------- | ------ |
| `dictionary` | The dictionary to convert to a string                                       | DICT      | Yes      | -      |
| `indent`     | Spaces per indent level. 0 produces compact single-line string (default: 2) | INT       | No       | 0 to 8 |

## Outputs

| Output Name | Description                                         | Data Type |
| ----------- | --------------------------------------------------- | --------- |
| `STRING`    | The dictionary converted to a JSON-formatted string | STRING    |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ConvertDictionaryToString/en.md)

***

**Source fingerprint (SHA-256):** `ae4e9889d5347acfc69166bac66f2ba63f5cd37dafab25a9e0aff6bfe7381219`
