What Is a QR Code and How to Generate One Free Online in Seconds

May 6, 20265 min read

Generate QR codes free online in seconds. Covers what QR codes store, common uses (links, WiFi, contacts), PNG vs SVG output, and how to use CoditTools QR generator.

QR codes are on restaurant menus, product packaging, business cards, event posters, and storefronts. Generating one for a link, contact card, or WiFi network is something most people need to do at some point, and it doesn't require any specialized software. A browser-based QR code generator handles it in a few seconds.

CoditTools has a free QR code generator that creates downloadable QR codes in PNG and SVG formats. You enter the content you want to encode, the tool generates the code, and you download it. No account, no expiration on the code, no logo watermark in the output.

What QR codes actually store

A QR code is a two-dimensional barcode that stores data as a pattern of black and white squares. When a smartphone camera scans it, it reads the encoded data and the phone acts on it: opening a URL, saving a contact, connecting to WiFi, or displaying text.

QR codes can encode different data types depending on what you need. A URL is the most common: scan the code, browser opens the link. A vCard-formatted string stores a contact (name, phone, email) and prompts the scanner to save it. A WiFi string stores network name, password, and encryption type so the scanner can connect without typing credentials. Plain text just displays the content. Email addresses can open a compose window with the address pre-filled.

The capacity of a QR code depends on the data type and error correction level. URLs and short strings work at the lowest density settings, which produce simpler codes that scan reliably even at small sizes. Long text strings produce denser codes that need to be printed larger to scan well.

How to generate a QR code on CoditTools

  1. Open the QR code generator tool.
  2. Select the data type: URL, text, contact, WiFi, or email.
  3. Enter the content to encode. For a URL, paste the link. For WiFi, enter the network name, password, and encryption type.
  4. Choose the output format: PNG for general use, SVG for print or situations where you need to scale the code to any size.
  5. Generate the code and download the file.

Before using the code anywhere, scan it yourself with your phone to verify it encodes the correct content and works as expected. A QR code printed on 500 menus that points to the wrong URL is an expensive mistake to correct.

PNG vs SVG: when to use which

PNG is a raster format: it's made of pixels. A PNG QR code looks sharp at its native resolution but becomes pixelated when scaled up significantly. For web use (embedding on a webpage or in a document for digital display) and for print at small to medium sizes, PNG works well. Use a large enough pixel size, at least 400x400 pixels for web and 1000x1000 or larger for print.

SVG is a vector format: it's made of mathematical shapes that scale to any size without losing quality. For print use where the QR code might appear at different sizes across different materials (business cards, posters, packaging), SVG is the better choice. You can scale it to 2 inches or 2 feet and it will remain crisp.

If you're not sure which to use: SVG for print, PNG for web. When in doubt, download both and use whichever your production workflow needs.

Common mistakes when creating QR codes

Not testing before printing. Every QR code should be scanned and verified before it goes on any physical material. Check that the link resolves, the contact saves correctly, the WiFi connection works.

Generating a code for a URL that changes. If you generate a QR code for a specific product page URL and that URL changes (the product is renamed, the site is restructured), the existing QR codes all become broken. For long-term use, consider a URL shortener or redirect that you control, so you can update the destination without regenerating the code.

Using a QR code that's too small to scan reliably. Dense QR codes with long URLs need to be a minimum size to scan well. As a rough rule: don't print a QR code smaller than 2 cm x 2 cm (about 0.8 inches square). On digital displays, 200x200 pixels minimum. Test it at the intended display size before finalizing.

What to do next

If you also need barcodes (EAN-13, Code 128, or similar), CoditTools has a barcode generator in the same category for linear barcode formats used in retail and inventory contexts.

For image-related utilities around your QR code file, including compression or format conversion, the image tools category has you covered.

Generate once, test before you print, and use SVG if the size might change.

Try the tools mentioned in this post - all free, no signup.

Browser-based. No watermarks. No account needed.

Browse All Tools