How to Create a QR Code (Step-by-Step Guide)
How to Create a QR Code in 2026 (Free Step-by-Step Guide)
QR codes are everywhere — restaurant menus, product packaging, event tickets, business cards, billboards. Over 2.9 billion people worldwide scan QR codes regularly, and the market is projected to hit $33 billion by 2030.
But here's what most people don't realize: creating a QR code takes less than 60 seconds. You don't need design skills, coding knowledge, or expensive software.
This guide walks you through everything — from creating your first basic QR code to building branded, trackable codes for your business.
What Is a QR Code?
A QR (Quick Response) code is a two-dimensional barcode that stores information in a grid of black and white squares. Unlike traditional barcodes that hold a single string of numbers, QR codes can store URLs, text, phone numbers, Wi-Fi credentials, and more.
Every modern smartphone can scan a QR code using the built-in camera app. No separate scanner app is needed — just point your camera at the code, and it reads instantly.
What Can a QR Code Store?
Here are the most common content types:
- Website URL — The most popular use. Direct scanners to any web page.
- Plain text — Display a message without requiring internet access.
- vCard — Share your contact details. One scan saves your name, phone, email, and company.
- Wi-Fi credentials — Let guests connect to your network without typing a password.
- Email — Pre-fill a "compose email" window with your address, subject, and body.
- SMS — Pre-fill a text message to your phone number.
- PDF or file — Link directly to a downloadable document.
- App download — Send users to your iOS or Android app listing.
Static vs. Dynamic QR Codes: Which Do You Need?
Before you create a code, you need to make one decision: static or dynamic.
Static QR Codes
A static QR code encodes data directly into its pattern. The URL or text is baked into the squares themselves.
Pros:
- Free to create (no subscription needed)
- Works forever — no server dependency
- Scans instantly, even offline for text/vCard types
Cons:
- Cannot be edited after creation — the data is permanent
- No scan tracking or analytics
- Longer URLs create denser (harder-to-scan) patterns
Best for: Permanent information like Wi-Fi passwords, contact cards, and URLs you'll never change.
Dynamic QR Codes
A dynamic QR code doesn't store your final URL directly. Instead, it encodes a short redirect link. When someone scans it, the redirect sends them to your actual destination.
Pros:
- Edit the destination URL anytime — even after printing
- Track every scan (total scans, locations, devices, times)
- Shorter encoded URL = cleaner, easier-to-scan pattern
- Supports A/B testing and campaign rotation
Cons:
- Requires an active account (codes stop working if you cancel)
- Depends on the redirect server being online
Best for: Marketing campaigns, menus, product packaging — anything that might change or needs tracking.
How to Create a QR Code: Step-by-Step
Here's the process from start to finish. We'll use a URL code as the example, but the steps apply to any content type.
Step 1: Choose a QR Code Generator
Pick a generator that supports the features you need. Key things to look for:
- Static and dynamic support — Some free tools only offer static codes.
- Analytics dashboard — Essential if you're running campaigns.
- Custom branding — Logo placement, color customization, and frame options.
- Download formats — PNG for digital, SVG for print.
- Bulk generation — If you need codes for multiple products or locations.
Step 2: Select Your Content Type
Most generators offer a menu of content types: URL, text, vCard, Wi-Fi, email, SMS, PDF, and more.
For this example, select URL — the most common type.
Step 3: Enter Your Data
Paste the URL you want scanners to visit. For example:
https://yoursite.com/spring-sale
Pro tip: Use a clean, descriptive URL. Avoid URLs with long query strings or tracking parameters — they create denser QR patterns that are harder to scan from a distance.
Step 4: Choose Static or Dynamic
If you're testing or creating a personal code, static is fine. For anything business-related, go dynamic — you'll thank yourself later when you need to update the link or check scan counts.
Step 5: Customize Your Design
Default QR codes are functional but generic. Customization makes them stand out:
- Colors — Change the foreground and background colors to match your brand. Keep high contrast — dark modules on a light background scan best.
- Logo — Add your company logo to the center. QR codes have built-in error correction (up to 30% of the pattern can be obscured), so logos don't affect scannability.
- Corners — Round the corner modules for a modern, softer look.
- Frame — Add a border with a call-to-action text like "Scan Me," "View Menu," or "Get Offer."
Step 6: Test Your Code
This step is critical. Before downloading and distributing your code:
- Scan it with at least two different smartphones (one iOS, one Android).
- Test at different distances — hold the phone 6 inches away, then 2 feet away.
- If you customized colors, test the code on a screen AND printed on paper.
- Verify the destination URL loads correctly.
Step 7: Download and Distribute
Choose your file format:
- PNG — Best for digital use (websites, emails, social media). Choose at least 1000×1000 pixels for clarity.
- SVG — Best for print. Vector format scales to any size without losing quality — billboards, business cards, everything in between.
- PDF — Convenient for sending to a print shop.
Best Practices for QR Codes That Get Scanned
Creating a QR code is easy. Getting people to actually scan it requires some thought.
1. Always Add a Call to Action
A naked QR code sitting on a poster tells people nothing. Add context:
- ❌ [QR code with no text]
- ✅ "Scan for 20% off your first order"
- ✅ "Scan to view the full menu"
- ✅ "Scan to download the app"
People scan when they know what they're going to get.
2. Size Matters — Bigger Is Better
The minimum readable size depends on scan distance:
| Scan Distance | Minimum QR Code Size |
|---|---|
| 6 inches (phone in hand) | 0.8 × 0.8 inches (2 × 2 cm) |
| 3 feet (table tent, shelf tag) | 1.2 × 1.2 inches (3 × 3 cm) |
| 10 feet (poster, sign) | 4 × 4 inches (10 × 10 cm) |
| 30+ feet (billboard) | 12 × 12 inches (30 × 30 cm) |
General rule: the QR code should be at least 1/10th of the expected scan distance.
3. Maintain High Contrast
Dark modules on a light background. That's the rule. Avoid:
- Light gray on white
- Dark blue on black
- Gradient backgrounds behind the code
- Transparent or semi-transparent overlays
If your brand colors are low-contrast, use them for the frame and CTA text instead.
4. Don't Put QR Codes on Moving Surfaces
Sounds obvious, but people still put QR codes on:
- Moving vehicles (buses, cars)
- Video screens with short display times
- Rotating digital signage
Your audience needs 2–3 seconds of steady focus to scan. If the code is moving, they can't lock on.
5. Link to Mobile-Optimized Pages
100% of QR code scans happen on mobile devices. If your landing page isn't mobile-friendly, you'll lose the visitor immediately. Check that:
- The page loads in under 3 seconds on mobile
- Text is readable without pinching/zooming
- CTAs are thumb-friendly (at least 44×44 pixels)
- No horizontal scrolling
6. Use Dynamic Codes for Anything Printed
If a QR code is going on physical materials (flyers, packaging, menus, signs), always use a dynamic code. You cannot recall printed materials, but you can change where the code redirects.
This one habit will save you from reprinting costs and wasted materials.
Common QR Code Mistakes to Avoid
Inverting colors. White modules on a dark background can work, but many older phones struggle with inverted codes. Stick to dark-on-light.
Over-customizing. Heavy design elements — intricate patterns, too many colors, oversized logos — can break scannability. Always test after customizing.
Forgetting to test on paper. A code that scans perfectly on your screen might fail on a glossy printed surface due to reflections. Test on the actual material.
Linking to desktop-only pages. Every QR scan is a mobile scan. Link to responsive or mobile-specific pages.
No tracking. If you're spending money to print and distribute QR codes, you need to know if they're working. Use dynamic codes and check your analytics weekly.
QR Code Use Cases by Industry
Restaurants
- Digital menus at each table (update in real time)
- Direct links to online ordering
- Feedback forms post-meal
Retail
- Product information and reviews
- Loyalty program enrollment
- Contactless payments
Real Estate
- Property listings on yard signs
- Virtual tour links on flyers
- Agent contact vCards
Events
- Digital tickets and check-in
- Schedule and venue maps
- Speaker bios and session feedback
Education
- Links to supplementary materials and videos
- Assignment submission portals
- Student resource hubs
What's Next?
You've created your QR code. Now what?
- Track performance — Check your analytics dashboard weekly to see which codes get the most scans.
- A/B test placements — Try different locations, sizes, and calls-to-action to find what drives the most engagement.
- Scale up — Once you've validated that QR codes work for your use case, use bulk generation to create codes for every product, location, or campaign.
Ready to create your first QR code? Try our free QR code generator → — no sign-up required for static codes.
Related Tools
QR codes work best when the page behind the scan is already built to convert. If you sell on Etsy, Etsy Listing Optimizer can help you tighten titles, tags, and descriptions with AI so the traffic from packaging inserts, product cards, or in-person promos lands on listings that are easier to find and easier to buy from.
Ready to create your first QR code?
Generate trackable, customizable QR codes in seconds. Free to start — no credit card required.