QR Code Generator
Create QR codes for text, URLs, and more. Optionally add a logo.
Enter details to generate your QR Code.
What This Tool Does
A QR code packs text — a URL, a message, contact details, whatever you give it — into a scannable square pattern that any phone camera can read back instantly. This tool generates one from whatever you type in, lets you style it with your own colors and an optional logo, and gives you a downloadable image at the end.
How to Use It
Type or paste the text or URL you want encoded, then optionally set a Foreground Color, Background Color, and Size in pixels. You can also drag an image into the Optional Logo area to have it embedded in the center of the code — the generator automatically sizes the logo to about a quarter of the code's width and height so it doesn't overwhelm the pattern. Click Generate and a download link appears under the finished code.
The Formula
QR generation runs on easyqrcodejs, a real QR-encoding library that renders directly to a canvas element in your browser, which is then exported as a downloadable PNG. This tool sets the error-correction level to High (the strongest of the four standard QR levels), meaning the code can still scan correctly even if roughly 30% of it is damaged, obscured, or covered by a logo — which is exactly why adding a logo on top of the pattern doesn't normally break scannability. A 10-pixel quiet zone (blank border) is added around the edge automatically too, since QR readers rely on that clear margin to find the code's boundaries in the first place.
A Worked Example
Enter a URL like https://smartutilitieshub.com with the default black foreground, white background, and 256×256 size, and the tool produces a QR code that any phone camera decodes straight back to that exact URL — the same round-trip guarantee applies no matter what text you put in, from a short word up to a full paragraph, since the encoding process is entirely mechanical and reversible. Increase the size to 1024 and the same code scans identically; only the pixel dimensions of the exported image change, not the underlying data it represents.
FAQ
- Is the QR code generator free?
- Yes, it's completely free with no watermarks, no sign-up, and no limits on usage.
- What can I encode in a QR code?
- This tool encodes whatever text you enter — a URL or plain text box, not a dedicated builder. You can still produce an email, phone number, SMS, or vCard QR code by typing the correctly formatted text yourself (e.g. 'mailto:you@example.com' or 'tel:+15551234567'), since the QR code itself just stores the text you give it.
- Can I customize the QR code colors?
- Yes, you can change the foreground and background colors of your QR code to match your brand.