Free QR Code Generator With Logo, Colors, and PNG, SVG, or PDF Export

A QR code is a two-dimensional barcode that stores text in a square grid of modules. Point a smartphone camera at it and the phone opens a website, displays a message, or hands off whatever you encoded, with no special app required. That simple exchange is why QR codes moved from a novelty to everyday packaging, signage, receipts, tickets, and menus.
The free generator below builds a plain code and, for web addresses, a second code with the site’s icon in the middle. You can change colors, check contrast as you go, drop in your own logo, set the quiet-zone margin and error correction, append UTM campaign parameters, and download PNG, SVG, JPG, WebP, or PDF. I’d strongly recommend adding UTM parameters so you can attribute visits to the code. You can build those here, or with our campaign URL builder if you want the tagged link first.
QR Code Generator with Logo and SVG v1.3.1Last Update: Nov 21, 2026
Pick what the code should do, fill in the details, and click Generate. Codes that open a web page also get a second version with that site’s icon in the middle.
Applies to the plain code. The icon or logo code is locked to H.
This type doesn’t open a website, so there’s no site icon. Upload your own logo under Advanced options to get a second code with it in the middle.
Show encoded content
How to Use the QR Code Generator
Enter a URL or any other text and click Generate QR Code. The field accepts a website, a plain message, contact details, Wi-Fi credentials, or anything else you want the scan to contain. Content is encoded in UTF-8 byte mode, and the limit is 2,000 bytes. Shorter content produces a simpler, easier-to-scan code, so a short landing page URL will always outperform a long, parameter-heavy one stuffed into the square.
Every generation produces a plain QR code on the left. If you entered a web address that starts with http:// or https://, the tool also looks up the site’s icon and draws a second code with that icon in the center. The lookup only runs for public websites. If no usable icon is found, the site is down, or the lookup doesn’t finish, the plain code still works and you can upload your own logo under Advanced options.
Each preview shows the error correction level and the final pixel size. A built-in scan test then tries to read the rendered code in your browser. A pass is a good sign. If the logo version fails, use the plain code or try a simpler logo and more contrast.
Colors, Contrast, and Logo Options
Open Advanced options to style the code. You can pick a code color and a background color with a color picker or a hex value. Previews change as you adjust the colors, and a live readout shows the contrast ratio.
Scanners need at least 4.5:1 contrast between the modules and the background, including the quiet zone. If the pair falls below that, downloads are paused until you fix the colors. A one-click control can restore a passing palette. If you choose a light code color on a light background, the tool switches the background to a dark shade of that hue automatically, aiming for a comfortable 7:1 ratio and settling for 4.5:1 when the hue can’t get there.
Light-on-dark codes can fail on some older readers, even when the contrast number looks fine. The tool flags that and still lets you use the inverted pair if you want it. For most print and packaging work, a dark code on a light background remains the safest choice.
Check Transparent background when you need the code to sit on a colored page, a photo, or a slide without a white box around it. Transparency is available for PNG and SVG downloads. JPG and PDF flatten the background, and WebP follows the raster path without a transparent option in this tool.
To brand the second code, upload your own logo under Your own logo. The file can be PNG, JPG, GIF, WebP, or SVG, up to 2 MB. It is read in your browser and never uploaded to our server, so you can use a mark you wouldn’t want sitting on someone else’s computer. Click Remove logo to go back to the site icon, or to hide the second card if you weren’t encoding a URL. The logo sits on a rounded pad in the center, and the logo version of the code is always built at error correction level H so the hidden modules can still be recovered.
Margin, Size, Error Correction, and File Types
The margin slider sets the quiet zone around the code, from 2 to 10 modules. The default of 4 is the standard. Most scanners will accept 2, but a little extra padding helps when the code is placed near other artwork or trimmed in print.
Image size applies to PNG, JPG, and WebP downloads: 300, 600, 1,000, or 2,000 pixels. The export snaps down to whole pixels per module so the edges stay crisp. SVG and PDF are vector, so they scale to any size regardless of that setting. After you generate a code, pick a file type and the download buttons on both cards change to match.
| Format | Type | Best For | Notes |
|---|---|---|---|
| PNG | Raster | Web, email, and general use | Supports a transparent background |
| SVG | Vector | Print and design files that must scale | Supports a transparent background |
| JPG | Raster | When a JPEG file is required | No transparency; a logo pad is flattened onto white |
| WebP | Raster | Modern web pages | Unavailable in some browsers |
| Vector | A one-page, print-ready file | Scales to any size |
Error correction is the recovery capacity built into the code. A higher level lets the code scan when it is scuffed, curved, or partly covered by a logo, at the cost of a denser pattern. The setting applies to the plain code. The icon or logo code is locked to H, because a centered mark hides a share of the modules and needs about 30% recovery. If the payload is too long to fit at level H, only the plain code is offered.
| Level | Recovery | Best For |
|---|---|---|
| L, Low | About 7% | Short, clean print with no logo |
| M, Medium | About 15% | The default for the plain code |
| Q, Quartile | About 25% | Codes that may get scuffed or partly covered |
| H, High | About 30% | Required when a logo or site icon sits in the center |
Use Reset advanced options to return colors, transparency, logo, margin, size, and error correction to their defaults without clearing the text you already entered.
Track Scans With UTM Parameters
A QR code that points at a bare homepage tells you almost nothing after the scan. Check Add UTM tracking parameters to append campaign tags to the link before it is encoded, so scans of this code are attributed as a campaign in Google Analytics and any other tool that reads standard UTM fields. This requires a complete URL, including https://.
- Source is required and defaults to QR Code. Use it to name the origin of the traffic, such as a magazine, a trade show, or packaging.
- Medium names the channel, such as qr, print, or packaging.
- Campaign identifies the promotion, such as a spring sale or a product launch. I recommend filling this in every time.
- Term captures a keyword or phrase when you want to distinguish search-style variants.
- Content separates two versions of the same campaign, such as a poster versus a shelf talker.
- ID is an optional campaign identifier if your analytics setup uses one.
The tags are written into the URL inside the code itself. This is a static code, not a redirect you can edit later. If you may need to change the destination after the code is printed, encode a short URL you control and keep the UTM tags on that destination.
Why QR Codes Still Matter
Smartphone cameras have been able to scan QR codes for years, and on-device AI now recognizes them even faster in camera and visual-search tools. The adoption question is largely settled. The work that remains is on your side of the scan: a code people can actually read, a destination that matches the moment, and a link you can measure.
In a survey of 1,000 U.S. consumers, 74% said they were likely to scan a QR code during Black Friday and Cyber Monday, including 33% who were very likely and 41% who were likely. Scannability was the biggest issue consumers faced in retail settings (35%), followed by slow load times (27%), broken links (26%), and expired offers (22%). For 56% of shoppers, a promotional offer was the top expectation when scanning.
Uniqode, survey of 1,000 U.S. consumers and more than 200 marketing leaders, published by PR Newswire, August 20, 2025
In a nationally representative survey of 1,000 U.S. consumers conducted in October 2025, 75% said they scan QR codes for more information, ahead of discounts and payments, and 71% said QR codes are genuinely helpful in their daily lives. Among 524 U.S. marketers who use or have used QR codes, 98% reported a positive impact.
Uniqode, surveys of 1,000 U.S. consumers (October 2025) and 524 U.S. marketers
Juniper Research found that the value of QR code payments will grow by 50% globally from $5.4 trillion in 2025, a total the February 2025 study said would exceed $8 trillion by 2029.
Juniper Research, QR Code Payments to Exceed $8tn by 2029, press release, February 10, 2025
In QRStuff platform data, only 3.9% of external destinations in the creation-weighted sample carried visible campaign tracking parameters. Among high-scan links, visible campaign tracking was 3.2 times higher. Among reviewed external destinations in the first quarter of 2025, 82.7% were deep pages and 11.8% were homepages, and 97.7% used HTTPS.
QRStuff, The QRStuff State of QR Codes Report 2026
That measurement gap is the easiest one to close. If you are already asking someone to take out a phone, send them to a specific, mobile-friendly page and tag the URL so you can see which poster, package, or handout produced the visit.
How QR Codes Work
A QR code is a matrix of dark and light modules. Three square finder patterns, one in each corner except the lower right, tell the camera where the code is and how it is oriented. Timing patterns, the alternating rows and columns that run between those finders, set the module size. Larger codes also include alignment patterns so the camera can still read the grid when the surface is curved or the shot is taken at an angle.
The data you enter is converted to bytes and laid into the grid with error correction codewords alongside it. That is why a logo can sit in the center, or a printed code can survive a scuff, without the scan failing, as long as the damage stays within the recovery level you chose. The generator on this page handles that encoding on the server, then draws and exports the code in your browser so color, margin, and logo changes preview instantly.
When a camera reads the code, it locates the finder patterns, samples the modules, and reconstructs the original bytes. If those bytes are a URL, the phone offers to open it. If they are plain text, contact data, or Wi-Fi credentials, the phone displays or uses that payload instead. The code has no idea whether anyone scanned it. Tracking happens only if the destination records the visit, which is why UTM tags or a short URL you control matter so much.
Practical Ways to Use QR Codes
The best uses give someone standing in a physical place a reason to continue on their phone. Send them to the thing that helps right now, not a generic homepage.
- Packaging and products: Link a package to ingredients, instructions, warranty registration, or a how-to video. Retailers are also moving toward 2D codes at the shelf and checkout, so a well-made code on pack has a longer life than a one-week promotion.
- Print, direct mail, and out-of-home: Put a tracked URL on a magazine ad, a postcard, a billboard people can actually reach, or a leave-behind. Use the Content UTM field to tell a poster from a flyer.
- Retail and promotions: Send shoppers to a mobile offer, a product page, or a loyalty signup. Make the offer obvious beside the code, and don’t let it expire while the sign is still on the floor.
- Restaurants and hospitality: Menus, waitlists, Wi-Fi access, and payment pages all work when the landing experience is fast on a phone.
- Events and venues: Tickets, session surveys, booth follow-up pages, and speaker materials are easier to hand off as a scan than as a typed URL.
- Payments: QR payments are already everyday infrastructure in many markets, and the global value of those transactions is still growing. For a marketer, the adjacent lesson is simple: if the scan is meant to pay or check out, the destination has to be immediate and trustworthy.
- Contact details and Wi-Fi: The generator encodes whatever text you paste, so a vCard payload or a Wi-Fi configuration string works the same way a URL does. There is no separate form for those types, so paste the finished payload and test the scan before you print.
- App downloads and support: Send a customer to the right store listing, a troubleshooting article, or a parts diagram instead of asking them to search.
QR Code Best Practices
One of my favorite bits about QR codes still comes from Scott Stratten. It is an oldie, but a goodie, and it has aged better than most of the early hype.
Use these practices with the generator above, then test the download on a phone before anything goes to print.
- Keep the payload short. A short, specific landing page produces a simpler code than a long URL. If you need many parameters, use a short URL you control and put the tags on the destination.
- Tag the link. Add UTM parameters, or encode a short URL with those parameters already in place, so you can see which placement drove the visit.
- Send people somewhere useful. Deep pages outperform homepages. Match the destination to the context: a menu, an offer, a product fact, a form, not a brand welcome screen.
- Make the landing page mobile-first. Almost every scan happens on a phone. The page should load quickly, read clearly, and work with a thumb.
- Put a clear call to action beside the code. A short CTA such as Scan for the menu or Scan to get the offer tells people why the effort is worth it.
- Test before you print. Use the built-in scan test, then scan the downloaded file with more than one phone, in the size and lighting you expect in the real world.
- Protect contrast and padding. Stay at or above 4.5:1, prefer a dark code on a light background, and leave a quiet zone of at least 4 modules unless you have tested a tighter margin. A practical print rule is that the scanning distance is about ten times the width of the code.
- Use a logo only when it still scans. Level H is applied automatically on the logo version. If the scan test fails, simplify the mark or ship the plain code.
- Use HTTPS. Encode secure HTTPS URLs so the phone doesn’t warn people on the way to your page.
- Place the code where a person can actually scan it. Eye level on a package, a table tent, or a poster someone can walk up to will beat a billboard, a moving vehicle, or a screen that flashes past.
- Plan for the life of the placement. A static code cannot change destinations after it is printed. If the offer may expire or the URL may move, encode a short URL you can update. Remove or cover expired codes so people aren’t sent to a dead end.
QR codes are no longer a gimmick, and they aren’t a strategy on their own. They’re a bridge from a physical moment to a digital action. Make the square easy to scan, make the destination worth the lift, and tag the link so you know which moments actually worked.
Generate a Free QR Code Any text up to 2,000 bytes, including a website URL, a plain message, contact details, or a Wi-Fi configuration string. Shorter payloads produce simpler, easier-to-scan codes. The left card is always a plain code. If you entered a web address that starts with http:// or https://, the tool also looks up the site’s icon and builds a second code with that icon in the center, using error correction level H. If no icon is found, the plain code still works and you can upload your own logo. Yes. Under Advanced options, upload a PNG, JPG, GIF, WebP, or SVG file up to 2 MB. The image stays in your browser and is never sent to our server. The logo version is always built at error correction level H. If the built-in scan test fails, use a simpler mark or the plain code. Medium (about 15%) is the default for the plain code and is a solid starting point. Use a higher level if the printed code may get scuffed or partly covered. The code with a site icon or logo is locked to High (about 30%), because the mark hides some of the modules. Use SVG or PDF when the code will be printed or needs to scale. Use PNG for most web and email needs, especially if you want a transparent background. Choose JPG only when a JPEG file is required, and WebP for modern web pages if your browser supports saving it. You should add them whenever the code opens a website you want to measure. The tool can append source, medium, campaign, term, content, and ID to a complete https:// URL before it is encoded, so scans appear as a campaign in Google Analytics and other analytics tools. Downloads turn off when the code color and background contrast falls below 4.5:1, because many scanners will not read a low-contrast code. Adjust the colors, or use the control that restores a passing palette, and the buttons come back. Not with the code itself. This generator creates a static QR code, so the text you encode is baked into the pattern. If you may need to change the destination later, encode a short URL you control and update that URL when the campaign changes.Frequently Asked Questions
What Can I Put in a QR Code?
Why Do I See Two QR Codes After I Generate?
Can I Put My Logo in the QR Code?
What Error Correction Level Should I Use?
Which File Format Should I Download?
Do I Need UTM Parameters on a QR Code?
Why Are the Download Buttons Paused?
Can I Change the Destination After the Code Is Printed?






