# QR codes

### How to transform any text/ URL into QR code image with docMaker <a href="#how-to-transform-any-text-url-into-qr-code-image-with-docmaker" id="how-to-transform-any-text-url-into-qr-code-image-with-docmaker"></a>

With docMaker you can convert any text string or webpage URL into a QR code.

In order to do that, you simply need to add “.toQRCode” to your dynamic data, like this:

&#x20;

```plaintext
{ “myURL.toQRCode” : “https://espn.com”  }
```

Copy

&#x20;

The trick for the QR codes feature is that in your template you have to use an image tag (starting with %)  like this :

&#x20;

| **Template**                                                                                                    |                                                                                        | Result                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>{%myURL}                                                           </p><p>                              </p> | <p><span data-gb-custom-inline data-tag="emoji" data-code="27a1">➡️</span></p><p> </p> | <img src="https://3610933556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtICyn0rKkxEa2DzPEdWY%2Fuploads%2Fbk1ZCJfTkDDKyZltzgLa%2Fimage.png?alt=media&#x26;token=fbc2a014-726a-4eba-8b69-bef0dbde4a0c" alt="" data-size="original"> |

&#x20;
