You cannot generate a QR code natively inside Excel—there is no built-in QR function or button. The practical way is to use Excel to build the link (for example with =HYPERLINK() or by concatenating a URL), then create the QR code with a free online generator or a QR add-in, and paste the image back into your sheet. This guide walks through the reliable method using an online generator, plus how to keep the QR code linked to a cell so it updates when the URL changes.
What You'll Need
- Excel for Windows, Mac, or the web (the steps below work in all three; menu labels can differ slightly by version and region).
- A working internet connection and a browser for the QR generator.
- The URL you want to encode—type it into a cell first so you can copy it exactly.
- Optional: a free QR add-in from the Microsoft add-in store if you prefer to stay inside Excel.
Step-by-Step
- Put the link in a cell. Click a cell (say A2) and type or paste the full URL, including
https://. Press Enter. Keeping the URL in its own cell makes it easy to copy and to update later. - Copy the URL. Select the cell and press Ctrl+C (Windows) or Command+C (Mac). If the URL is built with a formula, copy the cell, then use Paste Special > Values into a temporary cell so you copy the plain text, not the formula.
- Open a QR code generator. In your browser, go to a reputable free generator. Avoid sites that ask you to create an account or that add a redirect layer unless you specifically want a trackable code.
- Choose the URL/website option. Most generators have tabs for URL, text, email, Wi-Fi, etc. Select the URL or website type.
- Paste the link and generate. Paste into the input field, confirm the preview shows the correct address, then click the generate button.
- Download the image. Save it as PNG (best for screens) or SVG (best for printing). Give it a clear filename like
qr-product-page.png. - Insert the image into Excel. Back in your sheet, go to Insert > Pictures (on Mac: Insert > Picture) and choose the downloaded file. Resize by dragging a corner handle—hold Shift to keep the proportions.
- Anchor the image to the cell (optional but recommended). Right-click the image, choose Size and Properties, and select "Move and size with cells." Now the QR code stays with its row when you sort or insert rows.
- Add a label. In the cell next to the image, type what the code points to, e.g. "Scan for product page." This helps anyone printing the sheet.
- Test before sharing. Scan the on-screen code with your phone camera. If it opens the wrong page, the URL was mistyped or the generator added a prefix—fix the source cell and regenerate.
Common Mistakes
- Encoding a formula instead of the result. If you copy a cell containing
=HYPERLINK(...), you may paste the formula text. Use Paste Special > Values first. - Missing the protocol. A URL without
https://may not open correctly. Always include it. - Using a low-resolution image. A small PNG scaled up in Excel looks blurry when printed. Download the largest size offered, or use SVG.
- Stretching the image unevenly. Dragging a side handle distorts the code and can make it unscannable. Always drag a corner.
- Assuming the QR updates automatically. A static QR code is a picture of the URL at the moment you generated it. Changing the cell later does not change the image.
- Trusting redirect-based "dynamic" codes for permanent links. These depend on the provider staying in business; if the service shuts down, the code stops working.
Tips
- Keep the URL short. Long URLs produce denser codes that are harder to scan from a distance or on a small printout.
- Leave a white margin (quiet zone) around the code—at least four modules wide—so scanners can lock on.
- Print at least 2 cm × 2 cm (about 0.8 in) for close-range scanning; larger for posters.
- If you need many codes, generate them one at a time from a list of URLs in a column; batch generators exist but check they are reputable before uploading a list.
- Store the source URL in a hidden or separate column so the visible sheet stays clean but the link is documented.
- For internal use, consider a QR add-in from the official Microsoft add-in store so generation happens inside Excel without uploading URLs to a third-party site.
Troubleshooting
The code will not scan. Check the image is not stretched, blurred, or too small. Re-download at a higher resolution and reinsert. Test with a second phone or a different scanner app.
It scans but opens the wrong page. The URL in the generator had a typo or a trailing space. Copy the cell again, paste into a plain text editor to inspect it, then regenerate.
The image disappears when I sort or filter. The picture was inserted as a floating object. Set it to "Move and size with cells" as in step 8.
Excel blocks the add-in. Check File > Options > Trust Center > Trust Center Settings > Add-ins and confirm add-ins are not disabled. Only install add-ins from the official Microsoft store.
If that did not work: restart Excel, update it, and try a different browser for the generator. If the add-in still fails, fall back to the online generator method—it is the most reliable approach.
Frequently Asked Questions
Can Excel make a QR code without any add-in?
No. Excel has no built-in QR generator. You must use an external generator or an add-in from the Microsoft add-in store.
Will the QR code update if I change the URL in the cell?
No. A static QR code is an image of the URL at the time it was created. You must regenerate the image and replace it in the sheet.
Is it safe to paste my link into an online QR generator?
For public URLs, generally yes, but avoid pasting links containing passwords, tokens, or private data. Prefer a generator that does not require an account and check its privacy policy.
What image format is best for printing?
SVG or a high-resolution PNG. SVG scales without blur; PNG is fine if you download the largest size available.
Can I make a QR code that points to a file on my computer?
Only if the file is hosted online with a public URL. A local file path will not work for anyone scanning the code on a phone.
Why does my QR code look different from the preview?
Resizing in Excel can distort it. Reinsert the original file and resize by dragging a corner handle while holding Shift.