How to Create a QR Code for a Link (URL) — Step-by-Step Guide
Creating a QR code for a website link takes seconds. Here's how to do it for free — plus tips on shortening URLs, testing codes, and choosing the right size for printing.
How to Create a QR Code for Any Link
The most common use of QR codes is linking to a URL — a website, social media profile, Google Maps location, YouTube video, or document. Here's how to create one in three steps:
- Open our free QR Code Generator
- Paste your URL in the text field (e.g.,
https://yourwebsite.com) - Click Generate QR Code and download the image
That's it. The QR code is created instantly in your browser — no account, no sign-up, no watermarks.
What Types of Links Work?
Any valid URL works. Here are common examples:
- Website:
https://yourwebsite.com - Social media: Instagram, Facebook, Twitter/X, LinkedIn, TikTok profile URLs
- Google Maps: Share a location link from Google Maps
- YouTube: Link to a video or channel
- Google Drive / Dropbox: Share links to documents, PDFs, or folders
- App store: Link directly to your app on Google Play or the App Store
- Payment: PayPal.me, Venmo, or other payment links
- Calendar event: Google Calendar event links
Tips for Better URL QR Codes
1. Use HTTPS
Always use https:// links (not http://). Modern browsers warn users about insecure HTTP sites, and some phones may block them entirely.
2. Shorten Long URLs
Longer URLs create denser QR codes with more modules, which means the code needs to be printed larger to remain scannable. If your URL has lots of query parameters (e.g., UTM tracking tags), use a URL shortener first.
For example, instead of:
https://example.com/products/category/item?utm_source=flyer&utm_medium=print&utm_campaign=spring2026
Use: https://bit.ly/spring26
This makes the QR code simpler, smaller, and more reliable to scan.
3. Test Before Printing
Always scan your QR code with 2–3 different phones before printing. Check that:
- The link opens correctly
- The destination page is mobile-friendly
- The page loads quickly
- There are no redirect chains that could break
4. Consider a Dynamic QR Code
If there's any chance you'll need to change the destination URL later (e.g., a seasonal promotion), consider using a dynamic QR code service. This lets you update where the code points without reprinting. Our generator creates static codes, which are permanent and free — best for stable links.
Printing Your QR Code
- Minimum size: 2 × 2 cm for close-range scanning (business cards, flyers)
- Poster size: At least 5 × 5 cm for scanning from 50 cm+
- Resolution: Download at the highest resolution available. Our tool generates high-res PNGs
- Quiet zone: Leave a white border around the QR code (at least 4 modules wide)
- Contrast: Dark code on light background. Don't invert or place on busy backgrounds
Common Mistakes
- Encoding a shortened URL from a service that might shut down: Stick with reliable shorteners, or better yet, use your own domain
- Forgetting the https://: Some QR code readers may not recognize bare domains like
example.comwithout the protocol prefix - Linking to a page that requires login: If the destination needs authentication, the QR code is useless for most scanners
- Not tracking scans: Add UTM parameters to your URL before generating the QR code if you want to track engagement in Google Analytics