How to Create a QR Code for Free (URLs, WiFi, Contact Cards)
What Is a QR Code and How Does It Work?
A QR code (Quick Response code) is a two-dimensional barcode that encodes data — typically a URL, text, or contact information — in a matrix of black and white squares. Any smartphone camera can scan a QR code in under a second, opening the encoded content instantly. QR codes can store up to 4,296 alphanumeric characters and are designed with redundancy: even if 30% of the code is obscured or damaged, scanners can still decode it correctly.
The 5 Most Useful QR Code Types
1. URL QR Code (Most Common)
Encodes a website link. When scanned, the phone opens the URL in its default browser. Perfect for business cards, flyers, restaurant menus, product packaging, and event posters. Always use HTTPS links and a URL shortener if your URL is very long (shorter URLs = denser, easier-to-scan QR code).
2. WiFi QR Code
Encodes your WiFi network name (SSID) and password. When scanned, Android and iOS devices offer to join the network automatically — no typing required. Ideal for cafés, hotels, Airbnbs, conference rooms, and offices. Format: WIFI:T:WPA;S:NetworkName;P:Password;;
3. vCard QR Code (Contact Card)
Encodes a full contact card — name, phone, email, company, website, and address. When scanned, the phone offers to save the contact directly to the address book. The modern replacement for the physical business card.
4. Plain Text QR Code
Encodes any text up to 4,296 characters. Useful for encoding instructions, confirmations, tracking codes, or serial numbers that need to be readable without internet access.
5. Phone Number QR Code
Encodes a phone number. When scanned, the phone app opens with the number pre-dialed. Perfect for customer service posters, clinic waiting rooms, or any physical location where you want customers to call instantly.
Step-by-Step: Create a URL QR Code with DCPIXEL
- Go to DCPIXEL's free QR Code Generator
- Select the type: URL
- Paste your link (e.g.,
https://yourwebsite.com/menu) - The QR code previews instantly — no button press needed
- Click Download PNG — you get a clean, high-resolution PNG with no watermark
- Place the PNG in your design (flyer, poster, business card) and print
QR Code Best Practices for Print
- Minimum print size: 2 × 2 cm (0.8 × 0.8 inches) for reliable scanning. Smaller QR codes are harder to scan from a distance or in low light.
- High contrast is critical: Always use dark code on a light background. Never print QR codes in light gray on white — they become unscannable.
- Add a call-to-action: Include text like "Scan to view menu" or "Scan to connect" near the QR code. Users scan more when they understand the payoff.
- Test before printing: Always scan the QR code with multiple phones (iPhone and Android) before going to print.
- Keep URLs short: Long URLs create complex QR codes that are harder to scan. Use a URL shortener for URLs longer than 50 characters.
Do QR Codes Expire?
QR codes generated by DCPIXEL never expire. A static QR code is just an encoded image — it has no server-side dependency. The URL encoded inside it will continue to work for as long as the destination URL remains active. Be aware that some third-party "dynamic QR code" services do expire codes when you stop paying their subscription — DCPIXEL generates standard static QR codes with no such limitation.
Privacy: Why QR Codes Generated Locally Matter
Many QR code generators require creating an account and store your encoded URLs on their servers. This means a company knows every link you're promoting — potentially your internal tools, private pages, or business data. DCPIXEL generates QR codes entirely in your browser. The encoded URL or data is never sent to any server, and we have no record of what you encoded.
Ready to create yours? Generate a free QR code now — no watermark, no expiry, no account.
Written by Dalto
Dalto is the founder of DCOUTLIER and creator of DCPIXEL. He specializes in browser performance, WebAssembly, and privacy-first web development.
Try Our Free Tools
Experience client-side processing with DCPIXEL — no data collection, no limits.
