# How do I add a QR code to a page or PDF?

> There is no QR component. Add an image whose address is a QR image service with your link in it, for example in an HTML component that shows a record value.

Source: https://tadabase.com/docs/faq/how-do-i-add-a-qr-code  
Status: Verified Nov 22, 2026. Checked against the current product

There is no built-in QR code component. Add an image whose address is a QR image service with your link in it, for example `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=` followed by the link. The old Google Charts QR address (`chart.googleapis.com/chart?cht=qr`) no longer works.

## A QR code for each record

1. **Store the link** Keep the link the code should open in a field of the record, for example a Text or Link field.
2. **Add an HTML component** On a details page or a Detail PDF Page, add an **HTML** component.
3. **Insert the image** Type an image tag with the field's raw value in the address, for example `<img src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data={!!QR Link!!}">`. If the link holds `?` or `&`, store it URL-encoded.

A PDF can't hold a QR code of its own address, because that address exists only after the PDF is made. Point the code to a page in your app that shows the record and its saved PDF instead. See [HTML component](https://tadabase.com/docs/pages/html).
