How to Create a QR Code: A Complete Step-by-Step Guide
Creating a QR code is one of the easiest ways to connect physical materials with digital information. Whether you want customers to visit your website, guests to connect to Wi-Fi, or someone to open an email draft, a QR code can make the process as simple as scanning an image.
You don’t need programming skills or expensive software to make one. With an online QR code generator, you can enter your information, customize the appearance, and save a scannable code within minutes.
This guide explains how to create a QR code for free, including step-by-step instructions for websites, Wi-Fi networks, text, and email. You’ll also learn how to choose the right file format, avoid scanning problems, and use QR codes safely.
How to Create a QR Code in 5 Easy Steps
To create a QR code, open a QR code generator, choose the type of information you want to share, enter your details, generate the code, and download it as an image. Test the finished code with a smartphone before sharing or printing it.
Follow these five steps:
- Choose a QR code generator. Open a browser-based tool that supports the type of QR code you need.
- Select the content type. Choose a website URL, plain text, Wi-Fi network, or email.
- Enter your information. Add the website address, message, or other required details.
- Generate and customize the QR code. Select suitable colors, dimensions, and error correction settings.
- Download and test. Save the code as a PNG or SVG file and scan it with a smartphone.
For example, you can use a QR code to share your business website without asking visitors to type a long URL.

What Is a QR Code and How Does It Work?
A QR code, short for Quick Response code, is a two-dimensional barcode that stores information in a pattern of dark and light squares.
Unlike traditional one-dimensional barcodes, QR codes encode information across two dimensions. Their distinctive corner patterns help scanners recognize the code’s position and orientation.
QR codes were developed by DENSO WAVE in 1994 for industrial applications and are now widely used for websites, product information, digital menus, tickets, and other purposes.
According to DENSO’s explanation of QR code technology, QR codes use position-detection patterns and error correction to support reliable reading.
What Happens When Someone Scans a QR Code?
The process depends on the information encoded.
For a website QR code, a compatible scanner typically:
- Detects the QR code through a camera or scanning application.
- Decodes the information stored in its pattern.
- Recognizes that the content is a website address.
- Offers the user an option to open that website.
Other QR codes may contain text, Wi-Fi configuration information, or an email link.
A QR code does not need an internet connection to be decoded. However, opening a website or accessing online content usually requires connectivity.
How to Make a QR Code for a Website
A website QR code lets people open a webpage by scanning an image instead of typing the address manually.
It can be useful for business cards, posters, packaging, brochures, restaurant menus, and event materials.
Step 1: Copy Your Website URL
Open the webpage you want to share and copy its complete address.
For example:
Use the final, publicly accessible destination rather than a temporary preview link.
Step 2: Select the Website or URL Option
Open a QR code generator and select its URL or website option.
This tells the generator that the information should be treated as a web address.
Step 3: Paste the Website Address
Enter the complete URL into the input field.
Check that:
- The address is spelled correctly.
- It begins with
https://when the destination supports HTTPS. - The page is publicly accessible.
- The destination works on mobile devices.
Step 4: Generate the QR Code
Click the generator’s creation button.
The tool encodes the URL into a scannable pattern. You can then adjust available appearance settings.
Step 5: Download and Test
Download the generated QR code and scan it using a smartphone.
Confirm that the code opens the correct webpage before including it in printed or digital materials.
Practical tip: Use a short, stable URL whenever possible. Shorter encoded content can produce a less complex QR pattern, making it easier to reproduce clearly at smaller sizes.
How to Create a QR Code for Wi-Fi
A Wi-Fi QR code can help guests connect to a wireless network without manually typing the network name and password.
This is particularly useful in offices, cafés, hotels, guesthouses, and homes.
Step 1: Find Your Wi-Fi Details
You will generally need:
- Network name (SSID): The name displayed in the available Wi-Fi networks list.
- Security type: The supported authentication setting, such as WPA/WPA2 or an open network.
- Password: The password used to connect, if applicable.
- Hidden network setting: Whether the network is hidden.
Step 2: Choose the Wi-Fi QR Code Option
Select Wi-Fi from your generator’s available content types.
Step 3: Enter the Network Information
Type the SSID, select the appropriate security setting, and enter the password.
Be careful with uppercase and lowercase characters. Wi-Fi credentials must match the actual network configuration.
Step 4: Generate and Test
Generate the code and scan it with a compatible phone.
The device may offer to join the network. The exact behavior depends on the phone, operating system, and network configuration.
Is a Wi-Fi QR Code Secure?
A Wi-Fi QR code containing a password is not a secure way to hide that password.
The network credentials are encoded in the QR code and may be recovered by someone who scans or decodes it.
For guest access, consider using a separate guest network instead of exposing your primary network credentials.
How to Create a QR Code for Text
A text QR code stores a short message directly inside the code.
Unlike a website QR code, the message does not require a webpage to exist.
You might use a text QR code for:
- Short instructions.
- Product reference information.
- Event details.
- Identification labels.
- Simple informational messages.
Steps to Generate a Text QR Code
- Open a QR code generator.
- Choose the Text option.
- Enter the message you want to encode.
- Generate the QR code.
- Download and scan it to verify the message.
For example, a text QR code might contain:
Welcome to our event! Please visit the registration desk for assistance.
Keep the message concise. Adding more data generally increases the number of modules needed to encode it, which can make the finished QR code denser.
How to Create a QR Code for Email
An email QR code can help users start a message to a specified email address.
Depending on the generator, it may support a recipient, subject line, and message body.
Step 1: Select the Email Option
Choose Email from the available QR code types.
Step 2: Enter the Email Details
For example:
| Field | Example |
|---|---|
| Recipient | contact@huntlix.com |
| Subject | General Inquiry |
| Message | Hello, I would like to learn more. |
Step 3: Generate the QR Code
The generator encodes the email information into a format that compatible devices can recognize.
Step 4: Test the Result
Scan the code and check whether it opens an email application with the intended details.
Important: An email QR code does not send an email automatically. The user must review and send the message.
What Types of QR Codes Can You Create?
Different QR code types are useful for different tasks.
| QR Code Type | Information Stored | Common Use |
|---|---|---|
| Website URL | Web address | Business websites, landing pages |
| Wi-Fi | Network configuration | Guest network access |
| Plain Text | Text message | Instructions and labels |
| Email address and optional fields | Contact and support inquiries | |
| Contact Card | Contact details | Digital business cards |
| Phone | Telephone number | Call requests |
| SMS | Number and optional message | Text-message initiation |
| Location | Coordinates or map link | Directions and meeting points |
Not every QR code generator supports every format.
For example, a generator that supports URL, Wi-Fi, Text, and Email does not automatically support contact cards, phone calls, or location-specific QR formats.
Choose a tool based on the type of information you actually need to share.
Static vs. Dynamic QR Codes: What’s the Difference?
Before creating a QR code, it’s helpful to understand whether you need a static or dynamic code.
Static QR Codes
A static QR code contains the actual information being shared.
For a website QR code, that usually means the destination URL is encoded directly into the QR pattern.
Once generated, the encoded content cannot be changed without creating another QR code.
Static QR codes are useful for:
- Permanent website links.
- Short text messages.
- Wi-Fi access information.
- Email contact links.
Dynamic QR Codes
A dynamic QR code typically contains a redirect URL controlled by a QR code management service.
The service can change the final destination without changing the printed QR pattern.
Some services also offer scan analytics or campaign management, depending on their features and subscription plans.
| Feature | Static QR Code | Dynamic QR Code |
|---|---|---|
| Encoded information | Direct content or URL | Usually a managed redirect URL |
| Change final destination | Not directly | Often supported |
| Third-party redirect service | Not inherently required | Usually required |
| Scan analytics | Not built in | May be available |
| Ongoing service dependency | Not necessarily | Often |
| Best for | Stable information | Managed campaigns |
A static QR code pointing to a URL you control can still lead to updated webpage content. You can change that webpage while keeping its URL unchanged.
For simple QR code creation, static QR codes are often sufficient. Dynamic codes become useful when destination management or tracking is genuinely necessary.
How to Customize a QR Code Without Making It Difficult to Scan
QR code customization can help match the design of a poster, website, or marketing material. However, readability should come before appearance.
Choose High-Contrast Colors
Dark modules on a light background are a reliable starting point.
A traditional black-and-white QR code is usually the safest choice, although other high-contrast combinations may work.
Avoid combinations where the foreground and background are too similar.
Preserve the Quiet Zone
A quiet zone is the clear margin around the QR code that separates it from surrounding content.
Standard QR codes require a quiet zone four modules wide on each side.
Removing this space can make scanning less reliable.
Avoid Excessive Decoration
Placing large graphics over the QR pattern or changing important recognition patterns can interfere with decoding.
DENSO WAVE specifically cautions that overlaying illustrations or deforming QR codes may reduce scanning performance.
See its official QR code FAQ for technical guidance.
Choose the Right Error Correction Level
QR codes include error correction, which helps recover information when portions of the code are damaged or obscured.
The four standard levels are:
| Level | Approximate Error Correction Capability |
|---|---|
| L | 7% |
| M | 15% |
| Q | 25% |
| H | 30% |
These percentages describe approximate codeword recovery capability, not a guarantee that the same percentage of any arbitrary image can be removed.
Higher correction levels require more redundancy and can increase QR code complexity for the same data.
For ordinary use, Level M is often a reasonable starting point. Test the final design rather than assuming any correction setting guarantees successful scanning.
The correction levels are documented by DENSO WAVE.
PNG vs. SVG: Which QR Code Format Should You Download?
QR code generators commonly offer image downloads in raster or vector formats.
Choosing the right format helps preserve readability.
| Feature | PNG | SVG |
|---|---|---|
| Image type | Raster | Vector |
| Best for | Websites, social media, documents | Print layouts, scalable graphics |
| Enlarging | Can become pixelated | Scales without pixelation |
| Editing | Supported by image editors | Supported by vector editors |
| Browser support | Broad | Broad in modern browsers |
When to Choose PNG
PNG is a practical option for:
- Website content.
- Email signatures.
- Presentations.
- Social media graphics.
- Documents where the final size is known.
Export at a resolution appropriate for the intended display or print size.
When to Choose SVG
SVG is useful when the QR code needs to remain sharp at different sizes.
Consider SVG for:
- Posters.
- Business cards.
- Product packaging.
- Large-format printing.
- Professional graphic design workflows.
Recommendation: Choose SVG when you need flexible scaling and your design software supports it. Choose PNG when you need a widely compatible image file at a defined size.
How Big Should a QR Code Be for Printing?
There is no single physical size that works for every QR code.
The appropriate size depends on the encoded data, QR pattern complexity, printing quality, scanning distance, lighting, and the camera used.
For small printed materials, a QR code around 2 × 2 cm may be a practical starting point for a simple URL, but it is not a universal minimum or guarantee.
For posters or signs intended to be scanned from farther away, the code needs to be larger.
QR Code Printing Checklist
Before printing:
- Keep the QR code square and undistorted.
- Maintain the quiet zone around the pattern.
- Use strong contrast.
- Avoid blurry or low-resolution exports.
- Keep the destination URL short when practical.
- Print a sample at the intended physical size.
- Test with multiple phones under realistic conditions.
For professional printing, vector output can help preserve sharp edges.
How to Scan a QR Code on iPhone or Android
Most modern smartphones provide QR code scanning through the built-in camera or a supported scanning feature.
On an iPhone
- Open the Camera app.
- Point the camera at the QR code.
- Wait for the link or action prompt to appear.
- Review the destination before opening it.
On an Android Phone
- Open the Camera app or an available QR scanning feature.
- Point it toward the QR code.
- Wait for the device to recognize the code.
- Review the displayed link or action.
Some Android devices use Google Lens or a separate QR scanner shortcut.
The exact steps vary by manufacturer, operating system version, and device settings.
Why Is My QR Code Not Working?
If your QR code won’t scan, the problem may involve the image, encoded information, or scanning environment.
1. The QR Code Is Too Small
A very small code can be difficult for a camera to resolve, especially if it contains a lot of information.
Solution: Increase its displayed or printed size and test again.
2. The Colors Have Poor Contrast
Similar foreground and background colors can make the pattern difficult to distinguish.
Solution: Use dark modules on a light background.
3. The QR Code Is Blurry
Resizing a small raster image too much can blur module edges.
Solution: Export a larger PNG or use SVG for scalable designs.
4. The Quiet Zone Is Missing
Text, borders, or graphics too close to the QR code can interfere with recognition.
Solution: Restore the clear margin around the entire code.
5. The Encoded URL Is Incorrect
A QR code may scan successfully but still open the wrong webpage or a broken link.
Solution: Check the original URL, including spelling, protocol, and path.
6. The Printed Surface Is Damaged
Scratches, folds, glare, and distorted printing may interfere with scanning.
Solution: Use a clean print, suitable material, and a well-positioned code.
7. The Destination Is Unavailable
A QR code can be valid even when the linked website is offline or inaccessible.
Solution: Open the URL manually to confirm the destination works.
Are QR Codes Safe to Use?
QR codes are a convenient way to share information, but they do not automatically verify whether a website or action is trustworthy.
A malicious QR code can direct users to a phishing page that imitates a legitimate website.
The U.S. Federal Trade Commission warns that scammers may replace legitimate QR codes with fraudulent ones, including on public parking equipment.
According to the FTC’s QR code safety guidance, users should inspect the destination URL before opening unfamiliar links.
QR Code Safety Best Practices
- Preview the destination URL before opening it.
- Check for misspelled domains or suspicious redirects.
- Avoid entering passwords or payment details on unfamiliar websites.
- Be cautious of unexpected QR codes in emails, messages, or public spaces.
- Keep your phone and browser updated.
- Verify payment requests through trusted channels.
For businesses, periodically inspect printed QR codes in public locations to ensure they have not been replaced or covered.
Practical Ways to Use QR Codes
QR codes can help connect offline and online experiences.
Business Cards
Link to your website, portfolio, or contact page so people can access your information without typing a URL.
Restaurant Menus
Place a QR code on a table that opens a mobile-friendly menu.
Use a stable webpage address so the menu can be updated without necessarily replacing the code.
Product Packaging
Link customers to setup instructions, product details, warranty information, or support resources.
Events
Provide access to schedules, registration pages, venue information, or digital resources.
Guest Wi-Fi
Display a Wi-Fi QR code in a reception area or guest room for convenient network access.
Educational Materials
Link printed worksheets, presentations, or classroom posters to supporting digital resources.
Customer Support
Create a QR code that opens a support webpage or prepares an email inquiry.
The best QR code is one that solves a clear problem for the person scanning it.
Common QR Code Mistakes to Avoid
A QR code should be easy to scan, lead to the intended information, and remain useful after publication.
Avoid these mistakes:
- Using a temporary destination: Choose a URL you expect to maintain.
- Printing without testing: Always test a physical sample.
- Encoding unnecessarily long information: Keep content concise when possible.
- Using weak color contrast: Prioritize readability over decoration.
- Removing the quiet zone: Preserve the clear border.
- Assuming every QR code is editable: Understand the difference between static and managed dynamic codes.
- Sharing sensitive information: Don’t encode private credentials in publicly accessible codes.
- Forgetting the user experience: Make sure the destination is mobile-friendly and relevant.
A short label such as “Scan to View Menu” or “Scan for Instructions” can also help users understand what to expect.
Frequently Asked Questions About Creating QR Codes
Can I create a QR code for free?
Yes. Free QR code generators can create static codes for website URLs, text, Wi-Fi networks, and other supported content types. Some services charge for dynamic redirects, analytics, or advanced management features.
How do I create a QR code for a link?
Copy the website URL, select the URL option in a QR code generator, paste the address, generate the QR code, and download it. Scan the result to confirm that it opens the correct webpage.
Can I create a QR code without signing up?
Yes. Some browser-based QR code generators allow you to create and download static QR codes without creating an account.
Do QR codes expire?
A standard static QR code does not have a built-in expiration date. However, a linked webpage may become unavailable, and a managed dynamic QR code may depend on the service that controls its redirect.
Can I change a QR code after creating it?
You cannot change the information directly encoded in a static QR code without generating a new pattern. Dynamic QR code services may allow you to update the final destination while keeping the same printed code.
Can I make a QR code for Wi-Fi?
Yes. A Wi-Fi QR code can encode a network name, security setting, and password. Compatible devices may offer to join the network after scanning it.
Can I create a QR code for a PDF?
Yes. One common method is to upload the PDF to a publicly accessible location and generate a QR code for its URL. The PDF must remain accessible for the link to work.
Can I put my logo inside a QR code?
Some generators support logo overlays. However, placing a logo over the code can interfere with scanning. Keep important patterns unobstructed, use appropriate error correction, and test the finished design thoroughly.
What is the best QR code format for printing?
SVG is often preferable for professional printing because it scales without losing sharpness. A sufficiently high-resolution PNG can also work well.
Do I need internet access to scan a QR code?
A QR scanner can decode information stored directly in a QR code without internet access. Opening a website or downloading online content normally requires a network connection.
Conclusion: Create a QR Code That Works
Learning how to create a QR code is straightforward, but making one that works reliably requires a little attention to detail.
Start with the information you want to share, select the appropriate QR code type, and generate a clear, high-contrast image. Download it in a suitable format and test it before distributing it.
For website links, Wi-Fi access, short messages, and email inquiries, a simple static QR code is often all you need.
Ready to create your own QR code? Use a QR code generator to turn your information into a scannable image, then download and test it before sharing.
