> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec-b886298.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ConvertArrayToString - ComfyUI Built-in Node Documentation

> The Convert Array to String node takes an array (list) of items and converts it into a formatted JSON string.

The Convert Array to String node takes an array (list) of items and converts it into a formatted JSON string. This is useful when you need to serialize array data for display, logging, or passing to other systems that expect string input.

## Inputs

| Parameter | Description                                                                 | Data Type | Required | Range  |
| --------- | --------------------------------------------------------------------------- | --------- | -------- | ------ |
| `array`   | The array to convert to a JSON string                                       | ARRAY     | 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 array 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/ConvertArrayToString/en.md)

***

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