Tips and Tricks

How to Make a QR Code for a Link: A Simple Guide

how to make a qr code for a link
how to make a qr code for a link at a glance

Learning how to make a qr code for a link takes about two minutes once you know where the button hides, and it saves your audience from typing a long web address by hand. A QR code, which stands for Quick Response code, is a square pattern of black and white modules, which are the small squares that make up the pattern, that a phone camera can read in a second. When you point a phone camera at a QR code that holds a link, the phone shows a preview of that link, and one tap opens the page in a browser. Restaurants use QR codes for menus, shops use them for product pages, event organizers use them for tickets, and small businesses use them on cards, flyers, and posters, because a code bridges a printed page and a website without a long address that nobody wants to type.

This guide covers the safe way to make a QR code for a link, step by step, with no jargon left unexplained and no risky shortcut. You will learn what a QR code actually holds, how to create one with your browser built in share feature, which is the share menu already inside browsers like Chrome and Edge, how to use a reputable generator when your browser lacks the feature, how to choose between a static code and a dynamic code, how to test the code before you print it, how to size it for print, and how to warn your own audience about QR scams. The images in this guide show diagrams and checklists only, not a real scannable code, so nothing in this article can send you to a wrong page by accident. That choice is deliberate: a guide about safe codes should not itself become a source of confusion.

One principle runs through the whole guide: the link inside the code matters far more than the code design. A beautiful code that points to a wrong, broken, or malicious page is worse than a plain code that points to the right page, because people trust the pattern without reading the link behind it. Before you create any code, confirm the exact link, including every letter after the domain name, test that link in a browser yourself, and shorten it only through a service you trust, if you shorten it at all. A code is only as trustworthy as the link it hides, and since the link hides inside a pattern most people cannot read by eye, your testing habit is the trust.

What a QR Code for a Link Actually Holds

A QR code for a link holds text, and that text is the web address itself, stored as a pattern a camera can decode quickly. The pattern includes three large squares in three corners, which help the camera find the code and work out its rotation, plus smaller squares that encode the address, plus error correction data, which is extra information that lets a phone read the code even if part of it is smudged or covered. Error correction explains why a code still scans when a logo sits in its center or when a corner is slightly damaged, though heavy damage still breaks it, and a code printed too small or on a wrinkled surface can fail even with error correction. The QR code encyclopedia entry explains the history and technical design in full for readers who want depth, but everyday users need only the practical point: the code is a machine readable copy of a link, nothing more and nothing less.

What a QR Code for a Link Actually Holds

That simplicity has a safety consequence that shapes the rest of this guide: anyone who can print a code can point it anywhere, including to a fake login page, a scam shop, or a malware download. A QR code gives no visual clue about its destination to a human eye, because the pattern looks similar whether it holds a restaurant menu or a phishing page, which is a fake page built to steal passwords. Phone cameras help by showing a link preview before you open it, and that preview is your main defense, because it turns a blind pattern into a readable address you can judge. Always read the preview, check that the domain name matches the business or person who shared the code, and stop if the preview looks odd, shortened beyond recognition, or different from what the sign promised.

Make a QR Code With Your Browser Share Feature

The easiest safe method for most people is the share feature already inside their browser, because it needs no new account, no new website, and no trust in a third party generator. Open the page you want to share in your browser on a computer, and check that the address in the address bar is exactly the page you want, not a search result page or a homepage that looks similar. Click the share button, which in many browsers sits near the address bar or in the main menu, and look for an option labeled create QR code, QR code, or share as QR code, because the exact label varies by browser and version. When you choose it, the browser shows a QR code for the current page, plus a download button that saves the code as an image file you can print or share.

Make a QR Code With Your Browser Share Feature

On a phone, the same idea works through the phone browser share menu, though the steps differ slightly by phone and browser. Open the page in your phone browser, tap the share icon, and look for a QR code option in the share sheet, which is the panel of sharing choices your phone shows. If your phone browser lacks a QR code option, you can still create the code on a computer and send the image to your phone, or use a reputable generator, covered in the next section, rather than installing a random QR app that demands access to your contacts or photos. A QR app that asks for permissions unrelated to making a code, such as access to your messages or call history, deserves refusal, because making a code needs no such access.

Use a Reputable Generator When Your Browser Lacks the Feature

If your browser lacks a built in QR code option, use a reputable generator, which is a website or tool with a long public history, clear privacy terms, and no demand for unnecessary personal details. A well known example is the QR Code Generator site, which many businesses use for basic static codes, and you can find it through a search for its name, but treat any generator, including a well known one, with the same checks in this section, because fame alone does not guarantee that a given page is genuine. Check that the generator site uses a secure connection, which browsers show as a padlock icon, read its privacy terms for what happens to links you enter, and avoid any generator that requires an account, a payment, or a software download just to make a basic static code, because basic static codes are a simple service that should not need those things.

Use a Reputable Generator When Your Browser Lacks the Feature

Enter the link carefully, character by character, and use the copy and paste function from your browser address bar rather than typing a long address by hand, because one wrong letter creates a code for a different page, or for a page that does not exist. After the generator shows the code, check the link it displays beside the code, if it shows one, and compare it with your intended link before you download anything. Download the code in a high resolution format, such as PNG, which is an image format that stays sharp when printed, rather than a small low resolution image that blurs on a poster. Avoid generators that stamp their own advertising or a different link onto your code, because a code should point only where you intend, with no surprise destination hidden inside it.

Static Versus Dynamic Codes: Choose the Right Type

A static QR code stores your link directly inside the pattern, so the code itself holds the address, and anyone who scans it goes straight to that address without passing through a third party service. Static codes cost nothing from most tools, they never expire on their own, and they cannot be edited after creation, which is both their strength and their limit: a static code for a page that moves or closes will send scanners to a dead page forever, unless you keep that page alive or redirect it, which means sending visitors from an old address to a new one automatically. Use a static code when the link is stable, such as a homepage, a permanent menu page, or a product page you control and plan to keep, because stability plus simplicity is the safest combination.

Static Versus Dynamic Codes: Choose the Right Type

A dynamic QR code stores a short redirect link inside the pattern, and that redirect link points to a service that then sends the scanner to your real link, which you can change later without reprinting the code. Dynamic codes suit posters, packaging, and signs that you cannot easily reprint, because you can fix a changed link behind the scenes, and they can also count scans, which helps a business learn how many people used a poster. The trade off is dependence: if the dynamic provider closes, changes its terms, or suffers an outage, your codes can break or point elsewhere, and the provider can see scan data, including rough location and device details, depending on its terms. Use a dynamic code only from a provider you trust, with a paid or long term plan you intend to keep, and keep a list of every dynamic code you printed, so you can update or replace them if the provider ever fails.

Test Your QR Code Before You Print or Share It

Testing is the step that separates a professional QR code from an embarrassing one, and it takes less than a minute, so never skip it. Scan the code yourself with your own phone, using the normal camera app, and read the link preview carefully before you tap it, checking that the domain name and the page path match your intended link exactly. Tap through to the page, and confirm it loads, looks right on a phone screen, and shows the content you promised, because a link that works on a computer may load slowly or awkwardly on a phone, and most scanners use phones. Ask a colleague or friend to scan the code on a different phone, because a second device catches problems your phone hides, such as a code that scans only at a certain angle or only in bright light.

Test Your QR Code Before You Print or Share It

Test the code at the size and on the material you plan to use, because a code that scans on a bright computer screen may fail on a printed poster, especially if the print is small, glossy, or wrinkled. Print one test copy at the final size, place it where the real code will sit, and scan it from the distance a real visitor will stand at, such as arm length for a business card and a few steps back for a poster. Check the code in the lighting of the real location, because dim restaurant light, outdoor glare, and curved surfaces all make scanning harder. If the test scan feels slow or needs several tries, make the code larger, increase the contrast, or simplify the design, because a code that frustrates a tester will frustrate every visitor after it.

If the linked page itself refuses to load on a phone during testing, our guide on fixing pages that will not open covers the browser and device checks that solve many such failures before you blame the code.

Print Size, Contrast, and Placement That Actually Scan

Print size is the most common reason a well made QR code fails in the real world, because a code that looks fine on screen can shrink into an unreadable blur on paper. As a practical rule, print the code at least 2 centimeters, about 0.8 inches, across for a business card or a flyer held at arm length, and larger for anything viewed from farther away, such as a poster on a wall or a sign in a shop window. The farther the scanning distance, the larger the code must be, roughly in proportion: a code scanned from two meters away needs to be about ten times larger than a code scanned from twenty centimeters away, though exact needs vary with camera quality and lighting. When in doubt, print larger, because a large code that scans easily beats a stylish small code that nobody can use.

Print Size, Contrast, and Placement That Actually Scan

Contrast and quiet space matter as much as size. Print the code in dark squares on a light background, ideally black on white, because phone cameras read contrast, which is the difference in brightness between the dark squares and the light background, and low contrast codes, such as light gray on white or a code over a busy photo, often fail. Leave a clear margin, called a quiet zone, around all four sides of the code, at least as wide as four small squares, with no text, logos, or patterns inside that margin, because the camera needs that clean border to find the code edges. Avoid placing a code on a curved bottle, a wrinkled fabric, or a glossy surface that reflects light directly into the camera, because curves and glare distort the pattern and break the scan, even when the code itself is perfect.

Do Not Scan Unknown QR Codes: Warnings for Your Audience

If you publish a QR code, you also take on a small duty to warn your audience about QR scams, because the same technology that helps your customers can harm them in other hands. Tell your audience, in the same flyer or post where the code appears, to check the link preview before opening it, and to expect your domain name in that preview, so a preview showing a different domain becomes an instant warning. That single sentence protects your audience from sticker scams, where a scammer places a fake code sticker over a real code on a poster, a parking meter, or a restaurant table, so scanners reach a fake payment or login page instead of the real one. Reading the preview is the same skill search google or type a url teaches for reading a domain before you trust a page. Businesses that print codes should check their printed codes regularly, and replace any code that looks tampered with, because a tampered code harms customers and the business reputation together.

Do Not Scan Unknown QR Codes: Warnings for Your Audience

Teach the warning signs that matter most for scanning. Never enter a password, a bank detail, or a payment card number on a page reached only through a QR code unless you fully trust the source and you expected a login, because a QR code can lead anywhere, and a login page reached that way deserves extra suspicion. Never download an app or a file just because a QR code page asks you to, because app stores, not QR pages, are the safe place to get apps. Never trust a QR code on an unsolicited flyer, a random social media image, or a sticker in a public place without checking the preview and the context, because public codes are the easiest for scammers to replace. If a scanned page asks for urgent payment, a gift card, or a code from your authenticator app, close it at once, because those demands are scam markers in any context. Scammers reuse the same tricks across channels, from fake QR stickers to calls that spoof a 404 area code.

Scanning safety sits inside wider device safety, so read our guide on keeping malware off your computer, and for teams that publish many public materials, our support and maintenance service page describes how structured support keeps those materials checked over time.

Common QR Code Mistakes, and How to Avoid Them

The most common QR mistake is linking to a page that looks poor on a phone, because most scans happen on phones, yet many code makers test only on a computer. Always open the linked page on a phone, check that text is readable without zooming, check that buttons are tappable, and check that the page loads quickly on a mobile connection, because a slow page loses scanners who already took the trouble to scan. The second mistake is linking to a homepage when a specific page would serve better, such as linking to a shop homepage instead of the product page the flyer advertises, which forces scanners to search again for what the flyer promised. Link to the exact page, not to a general homepage, unless the flyer itself is general.

Common QR Code Mistakes, and How to Avoid Them

The third mistake is over designing the code, with colors, logos, and patterns that look attractive but break scanning. A code with a large logo in the center, low contrast colors, or rounded squares that merge together may scan on a high end phone in bright light and fail everywhere else, so keep design modest: dark on light, a small logo at most, and a test on several phones before you print. The fourth mistake is printing a code once and forgetting it, while the linked page moves, closes, or changes ownership, so a code that worked in spring sends visitors to a stranger page by autumn. Review printed codes at least twice a year, and sooner for event codes, because a code lives as long as its printed surface lives, which can be years for a sign or a package.

Use caseBest code typeWhy
Homepage or permanent pageStaticSimple, direct, no middleman
Poster you cannot reprintDynamic, trusted provider onlyLink can change without reprinting
Digital flyer you can resendStaticMake a new code when the link changes
Event page with a fixed dateStatic, with a post event redirect plannedVisitors after the event still reach a useful page

Conclusion

How to make a qr code for a link comes down to a short safe routine: confirm the exact link, create the code with your browser share feature or a reputable generator, choose static for stable links and dynamic only from a provider you trust for links that may change, and test the code yourself on two phones and in print before anyone else sees it. Print the code large enough, dark on light, with a quiet margin around it and a label that says what scanning it does, plus the plain address as a fallback, so every visitor can reach the page, with or without a scanner. Warn your audience to check the link preview before opening any code, never to enter passwords or payment details from an unknown code, and never to scan a code that looks tampered with, because a code hides its destination from the human eye, and the preview is the only check that matters. Follow that routine, and a QR code becomes what it should be: a quick, trusted bridge from paper to page, not a gamble.

how to make a qr code for a link key takeaways

Frequently Asked Questions

How do I make a QR code for a link for free?

Open the page in your browser, use the browser share menu, and choose the create QR code option where your browser offers it, then download the code image. You can also use a well known QR generator, but always test the code yourself before you print or share it.

Should I use a static or dynamic QR code for a link?

Use a static code when the link will never change, because it is simple and free from most tools. Use a dynamic code only from a provider you trust when you may need to change the link later, because dynamic codes route through that provider's service.

Is it safe to scan a QR code I find in public?

Not always. Check the link preview your phone shows before you open it, never enter passwords or payment details from a scanned code unless you trust the source fully, and do not scan codes on stickers placed over official signs, because scammers replace real codes with fake ones.

Written by Amir Iqbal

Senior AI Systems Architect and Lead Technical Reviewer

Amir Iqbal is a senior AI systems architect at Esaholic who designs resilient systems and reviews guides for practical, testable detail.

View Amir Iqbal on the team page

Reviewed by Umar Abbas

Founder, Principal AI Architect and Operator

Umar Abbas is the founder of Esaholic and a principal AI architect who designs reliable large scale AI systems for regulated industries.

View Umar Abbas on the team page

Relevant blogs

Back to all blog guides · Back to Tips and Tricks guides