Links or texts in column A, a QR code for every row in column B. Free, without an API key and without an add-on: the formula loads each picture straight from the EventPics QR code API.
| A | B | |
|---|---|---|
| 1 | Link | QR code |
| 2 | https://event.pics | ![]() |
| 3 | https://example.com/menu | ![]() |
| 4 | Table 1 | ![]() |
Put your links or texts in column A, starting in A2. Then type this into B2:
=IMAGE("https://event.pics/qr.png?data="&ENCODEURL(A2))
ENCODEURL makes sure that links with ?, & or spaces arrive in full.
Options go in front of data=, and data= always comes last. A heart shaped QR code:
=IMAGE("https://event.pics/qr.png?design=heart&data="&ENCODEURL(A2))
design=heart | a real heart shaped QR code, readable thanks to the strongest error correction |
fg=c1272d | colour of the code, as a hex value without # |
bg=transparent | no background, for coloured paper or a coloured cell |
size=1000 | picture size in pixels, 100 to 3000. The cell scales it down, a larger picture prints sharper |
margin=2 | empty border around the code in squares, 4 by default |
Several options are joined with &:
=IMAGE("https://event.pics/qr.png?design=heart&fg=c1272d&size=1000&data="&ENCODEURL(A2))
All options are listed in the QR code API documentation.
Excel has the same IMAGE function in Microsoft 365 and Excel 2024. In an English Excel the formula is identical to Google Sheets:
=IMAGE("https://event.pics/qr.png?data="&ENCODEURL(A2))
ENCODEURL only exists in Excel for Windows. On a Mac and in Excel for the web, leave it out:
=IMAGE("https://event.pics/qr.png?data="&A2)
That works for plain links. Texts with spaces, & or # need ENCODEURL, so use Google Sheets or Excel for Windows for those.
Excel 2021 and older have no IMAGE function. There, create the codes in the QR code generator and insert them as pictures.
Yes. No key, no sign up and no fixed daily limit. The same input always gives the same picture, which stays cached, so large sheets load quickly. A rate limit only stops automated mass requests.
No. The code contains your link directly, there is no redirect in between. Printed codes keep working even if the sheet is deleted.
No. We do not log query strings and do not keep what you encode.
Neither has a formula that loads pictures from a web address. Create the codes in the QR code generator and insert them as pictures.
Yes, print the sheet as usual. Make the rows taller for larger codes and add size=1000 so the picture stays sharp.
Prefer to click? The QR code generator does the same with a live preview, your logo and a download as PNG or SVG.
Open the QR code generator