Google has switched off the QR codes of its Chart API. The address chart.googleapis.com now returns an error, and spreadsheets, emails and web pages that used it show empty images. One changed address fixes it: free, without a key and without an account.
The most common old formula looked like this:
=IMAGE("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&ENCODEURL(A2))
Replace it with this formula and copy it down as usual:
=IMAGE("https://event.pics/qr.png?size=150&data="&ENCODEURL(A2))
In an image tag, only the address changes:
<img src="https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=https%3A%2F%2Fexample.com">
<img src="https://event.pics/qr.png?size=200&data=https%3A%2F%2Fexample.com">
Every Google Chart QR parameter has an equivalent. Put data= last when you join the address together in a formula.
| Google Charts | EventPics | Note |
|---|---|---|
cht=qr | qr.png or qr.svg | The path says it is a QR code. SVG stays sharp in print. |
chs=300x300 | size=300 | Codes are always square, so one number is enough. 100 to 3000 pixels. |
chl=… | data=… | Text or link, URL encoded, up to 1200 characters. |
chld=H|4 | ecl=H&margin=4 | Error correction L, M, Q or H and the border in modules. Default here: Q and 4. |
choe=UTF-8 | not needed | The text is always encoded as UTF-8. |
fg=c1272d, dots=dots, design=heart.All parameters are listed in the API documentation.
Google has switched off the QR codes of its Chart API. Every request to chart.googleapis.com/chart with cht=qr now returns an error page instead of an image, so the IMAGE formula stays empty. Replacing the address as shown above brings the codes back.
Yes. A printed QR code contains the link itself, nothing on Google's side. Only creating new images stopped working.
Yes. No key, no sign up and no fixed daily limit. The same input always returns the same picture, which stays cached.
No. We do not log query strings and do not keep what you encode.
Create the codes once in the QR code generator and download them as PNG or SVG. Those files work without any internet service.
Prefer to click? The QR code generator creates the same codes with a live preview, your logo and a download as PNG or SVG.
Open the QR code generator