> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Text

The **Text** function converts values to text strings (or [WKT](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) format when converting geography data).

This function isn't compatible with all data platform connections. To check if your connection supports it, see [Supported data platforms and feature compatibility](/docs/region-warehouse-and-feature-support#supported-data-platforms-and-feature-compatibility).

## Syntax

```
Text(input)
```

Function arguments:

<dl>
  <dt>
    input
  </dt>

  <dd>
    (required) The text, date, geography, or number data that must be converted to text
  </dd>

  <dd>
    Sigma converts dates to text as a full ISO date-timestamp.
  </dd>
</dl>

## Notes

* On connections that support geography, the **Text** function can be used to convert valid geography data to [Well-known text](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) (WKT) format. For more information, see the second example in [examples](#examples).

## Example

```
Text(1)
```

Converts the number `1` to text, and returns `1` as text data.

```
Text(MakePoint(179, 90))
```

Converts the geography point (179, 90) to WKT, and returns `POINT(179 90)` as text data.

## Related resources

* [MonthName](/docs/monthname)
* [WeekdayName](/docs/weekdayname)