---
title: BYTESIZE
url: https://www.tines.com/docs/formulas/functions/bytesize/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# BYTESIZE

*[View on tines.com](https://www.tines.com/docs/formulas/functions/bytesize/)*

Counts the number of bytes in a string.

**Categories:** Text

## Syntax

```
BYTESIZE(string)
```

## Examples

### Example 1

Formula:

```
BYTESIZE("hello")
```

Output:

```json
5
```

### Example 2

Formula:

```
BYTESIZE("😊👍")
```

Output:

```json
8
```

### Example 3

Formula:

```
BYTESIZE("São Paulo")
```

Output:

```json
10
```
