The fastest way to make a QR code from a link
The simplest route is to use a free QR code generator website. Go to a site like QR Code Generator (qr-code-generator.com), Qr-server.com, or the-qr-code-generator.com, paste your URL into the text field, and download the image. Most sites generate the code instantly and let you save it as PNG or SVG without signing up or paying. The QR code works immediately — you do not need to wait for anything to process.
If you need the code embedded in a document or want to generate codes repeatedly, a dedicated tool or library saves time. Developers often use command-line tools like qrencode or programming libraries (Python's qrcode module, Node.js's qrcode package, or Java's ZXing library) to automate the process. Non-developers can use Google Sheets, which has a built-in QRCODE function that turns a URL into a code in a single cell.
Key Takeaways
- Free online QR code generators like QR Code Generator or Qr-server.com turn any URL into a downloadable image in seconds without signing up.
- Google Sheets has a QRCODE function that generates codes directly in a spreadsheet cell, useful if you need to create many codes at once.
- Command-line tools like qrencode and programming libraries let developers automate QR code generation as part of a larger workflow.
- Downloaded QR codes work immediately and do not expire, so you can print or share them without worrying about time limits.
Using a web-based QR code generator
Web generators are the no-setup option. Open QR Code Generator, Qr-server.com, or a similar site in your browser, paste your link into the input field, and the code appears on screen. Most sites show the code as you type, so you see the result before you download. Right-click the image and select "Save image as" to download it to your computer as PNG, JPG, or SVG.
These sites usually offer optional customization: you can change the size, add a logo in the center, or adjust the error correction level (which determines how much of the code can be damaged and still scan). For most uses, the default settings work fine. The code is static — once generated, it points to the same URL forever and does not require any server or account to keep working.
If you generate codes regularly, bookmark your preferred generator. Some sites let you create an account to save your codes, but this is optional and not necessary for basic use.
Generating QR codes in Google Sheets
If you have a list of URLs and need to turn them all into QR codes at once, Google Sheets is faster than a web generator. Open a new or existing spreadsheet, put your URLs in column A, and in cell B1 type =QRCODE(A1). Press Enter, and a QR code appears in B1 that links to the URL in A1. Copy the formula down to fill the rest of column B, and Sheets generates a code for each URL automatically.
The QRCODE function accepts a size parameter if you want to control how large the code appears in the cell. For example, =QRCODE(A1, 2) makes a larger code. You can then download the spreadsheet as a PDF or image file, or copy individual codes and paste them into documents or presentations.
Using command-line tools for automation
If you write code or work in a terminal, qrencode is a lightweight command-line tool that generates QR codes from URLs. Install it (on macOS via Homebrew with brew install qrencode, on Linux via your package manager, or on Windows via Chocolatey), then run qrencode -o output.png "https://example.com" to create a PNG file. The tool is fast and produces high-quality codes suitable for printing or web use.
For developers building applications, programming libraries are more flexible. Python's qrcode module (installed via pip) lets you generate codes in a script and customize size, error correction, and output format. Node.js has the qrcode package for JavaScript projects. Java developers can use the ZXing library. These libraries integrate QR code generation into larger workflows — for example, generating a code each time a user creates a new account or generates a shareable link.
Choosing the right file format for your QR code
Most generators offer PNG, JPG, and SVG formats. PNG is the standard choice: it compresses well, works on any device, and maintains sharp edges when printed or displayed on screen. Use PNG unless you have a specific reason not to. JPG is smaller in file size but can introduce blurriness around the code's edges, making it harder to scan — avoid it for QR codes. SVG is a vector format that scales to any size without losing quality, useful if you need to print the code very large or resize it repeatedly.
For most uses, download as PNG at the default size offered by the generator. If you are printing the code on a poster or billboard, SVG lets you enlarge it without pixelation. If you are embedding the code in a web page and want the smallest possible file, PNG is still the better choice.
Customizing your QR code
Many generators let you add a logo, change colors, or adjust the error correction level. A logo placed in the center of the code can make it more recognizable but reduces the amount of damage the code can withstand and still scan. If you add a logo, test the code with your phone before printing or sharing — not all scanners handle logos well.
Color customization (changing the black and white to other colors) is cosmetic and does not affect how the code works, as long as there is enough contrast between the foreground and background. A light background with dark foreground always works best. Error correction level determines how much of the code can be obscured or damaged and still scan: higher levels (L, M, Q, H) allow more damage but make the code larger. For most purposes, the default level is fine.
Testing your QR code before sharing
After you download or generate a QR code, test it with your phone before printing or sharing widely. Open your phone's camera app or a QR code scanner app, point it at the code, and tap the notification that appears. The link should open in your browser. If it does not scan, the code may be too small, the contrast may be too low, or the image may be corrupted. Try regenerating it or adjusting the size and contrast.
If you customized the code with a logo or unusual colors, test it with multiple phones and scanner apps — some older apps may have trouble with heavily customized codes. For critical uses (printed materials, marketing campaigns), test the code in the actual environment where it will be scanned (outdoors, indoors, on different backgrounds) to make sure it works reliably.
Frequently Asked Questions
Do QR codes expire?
No. A QR code is just an image that encodes a URL. Once generated, it points to that URL forever. If the URL itself goes offline or changes, the code will not work, but the code itself never expires. You can print a QR code today and it will still work in five years.
Can I change where a QR code points after I create it?
Not directly. A QR code is static — the URL is baked into the image. If you need to change the destination, generate a new code. Some services offer "dynamic" QR codes that redirect through their server, letting you change the destination without regenerating the code, but these require an account and are not free.
What size should I make my QR code?
Larger is better for scanning reliability. A code that is at least one inch by one inch (2.5 cm) works well for most phones. If the code will be scanned from far away or in poor lighting, make it larger. Test the code at the actual size and distance where it will be used before printing or publishing.
Can I use a QR code generator offline?
Web generators require internet. If you need to work offline, download qrencode or use a programming library. Both work without an internet connection and generate codes locally on your computer.
Is it safe to use free QR code generators?
Yes. Free generators create a static image file that encodes your URL directly — they do not track scans or collect data about who uses the code. The image is yours to use however you want. Avoid services that require you to create an account or sign in unless you specifically want features like scan tracking.