# $field->toQrCode()

Turns the field value into an QR code object

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/methods.php#L267>

****

```php
$field->toQrCode(): Kirby\Image\QrCode|null
```

## Return types

`Kirby\Image\QrCode` or `null`

This method modifies the existing `$field` object it is applied to and returns it again.