---
layout: page
title: "To String"
node_type: "nodetool.text.ToString"
namespace: "nodetool.text"
---

**Type:** `nodetool.text.ToString`

**Namespace:** `nodetool.text`

## Description

Converts any input value to its string representation.
    text, string, convert, repr, str, cast

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| value | `any` | The value to convert to string. | `` |
| mode | `enum` | Conversion mode: 'str' for normal string, 'repr' for JSON-quoted representation. | `str` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

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