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

# PreviewAny - ComfyUI Built-in Node Documentation

> PreviewAny converts any input value into readable text so you can inspect it.

PreviewAny converts any input value into readable text so you can inspect it. Strings pass through unchanged, numbers and booleans become plain text, and other data types are serialized to JSON when possible (falling back to their plain string form if serialization fails). The resulting text is shown in the user interface and also returned as a string output for further processing.

## Inputs

| Parameter | Description                                                                                         | Data Type | Required | Range         |
| --------- | --------------------------------------------------------------------------------------------------- | --------- | -------- | ------------- |
| `source`  | Accepts any input data type for preview display. If no value is provided, the preview shows 'None'. | ANY       | Yes      | Any data type |

**Conversion behavior**

* Values of type STRING are shown exactly as provided.
* Values of type INT, FLOAT, or BOOLEAN are converted to plain text.
* Any other non-empty value is converted to JSON text with an indent of 4 spaces; if that conversion fails, the node falls back to the value's plain text form. If that also fails, the preview shows the message 'source exists, but could not be serialized.'
* If no value is connected or the value is empty, the preview shows 'None'.

## Outputs

| Output Name | Description                                                                                      | Data Type |
| ----------- | ------------------------------------------------------------------------------------------------ | --------- |
| `result`    | The input value converted to text format. The same text is also displayed in the user interface. | 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/PreviewAny/en.md)

***

**Source fingerprint (SHA-256):** `66b5283b2d7d43e679c0bc6cdcad54c92539a986763333972e722b39c7963be8`
