> For the complete documentation index, see [llms.txt](https://guide.docmaker.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.docmaker.co/features/create-pdf-from-docx-template/build-your-docx-template/qr-codes.md).

# 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="/files/cDh9IMBqNaltXVNErWim" alt="" data-size="original"> |

&#x20;
