# to_title

> Documentation index: http://docs.tenzir.com/llms.txt

Converts a string to title case.

```tql
to_title(x:string) -> string
```

## Description

The `to_title` function converts all words in `x` to title case.

## Examples

### Convert a string to title case

```tql
from {x: "hello world".to_title()}
```

```tql
{x: "Hello World"}
```

## See Also

* [`capitalize`](http://docs.tenzir.com/reference/functions/capitalize.md)
* [`is_title`](http://docs.tenzir.com/reference/functions/is_title.md)
* [`to_lower`](http://docs.tenzir.com/reference/functions/to_lower.md)
* [`to_upper`](http://docs.tenzir.com/reference/functions/to_upper.md)
* [Manipulate strings](http://docs.tenzir.com/guides/transformation/manipulate-strings.md)