ToolMint
more5 min readMay 15, 2026

How to Create a QR Code for Free Online – URL, Text & Custom Colors

QR codes are one of the most practical tools for bridging physical and digital content — business cards, product packaging, event flyers, restaurant menus, and classroom handouts all benefit from QR codes that link to digital content. Creating one is free and takes under a minute. This guide covers the full process: what to encode, how to customize, which format to download, and how to make sure your QR code will actually scan reliably.

What You Can Encode in a QR Code

QR codes can encode any text as bytes, which means they work for: • URLs (most common): https://yourwebsite.com — the phone's camera app opens the link directly • Plain text: instructions, notes, or a short message the scanner will read • Email: mailto:email@example.com — opens the email app with the address pre-filled • Phone: tel:+919876543210 — dials the number when scanned • SMS: smsto:+91XXXXXXXXXX:Your message — opens SMS with number and text pre-filled • WiFi: WIFI:S:NetworkName;T:WPA;P:Password;; — connects to a WiFi network when scanned (works on Android and recent iOS) • vCard: structured contact information For business use, a URL is almost always the right choice because it is the most universally supported and gives you control over the destination — you can change the linked page content without reprinting the QR code.

Color Customization and Contrast Rules

QR codes are readable as long as there is sufficient contrast between the dark modules (foreground) and the light modules (background). The standard is black on white, but you can use any dark color on a light background. The critical rules are: 1. Foreground must be significantly darker than background — a contrast ratio of at least 4:1 is recommended 2. Never invert: light foreground on dark background fails on many scanning apps 3. The three finder pattern squares (corner squares) must remain clearly visible — they are how the scanner finds the code's orientation 4. Test every custom-color QR code by scanning it yourself on two different devices before printing For branded QR codes, dark brand color on white usually works well. Light brand color on white will likely fail. If your brand's primary color is light, use it as the background with a dark neutral foreground.

PNG vs SVG – Which to Download for Your Use Case

The format you download determines how the QR code looks at different sizes. PNG is a raster format — pixels are fixed. Download PNG when: • Adding to a website, social media post, email, or presentation • The QR code will be displayed at roughly the same size as generated • The recipient platform only accepts raster images SVG is a vector format — scales to any size perfectly. Download SVG when: • Printing business cards, flyers, posters, or product labels • Sending to a designer who will embed it in a layout • You need the QR code at a very large size (banners, signage) For print, SVG at 1cm Ɨ 1cm minimum size is the practical lower limit for reliable scanning — smaller than that and many phone cameras struggle to focus on the individual modules.

Try the tools mentioned in this guide

Frequently Asked Questions

How do I create a QR code for a website URL?
Open the ToolMint QR Code Generator, paste your URL into the input field, optionally customize colors, then download as PNG or SVG. The QR code is generated instantly.
Does the QR code expire?
No. A static QR code (one that encodes the URL directly) never expires as long as the destination URL remains active. If you delete or change the URL the QR points to, the QR code becomes a dead link — the code itself is permanent.
What is the minimum size to print a QR code?
The minimum recommended print size is 2cm Ɨ 2cm (about 0.8 inches) for a standard QR code. Smaller than 1cm risks scan failure. Use SVG format for print to ensure crisp edges at any size.
Can I add a logo to the middle of the QR code?
The ToolMint generator does not add logos to QR codes. You can add a small logo in a design tool (Figma, Illustrator) after downloading the SVG — QR codes with up to 30% center coverage still scan due to error correction.

Related Guides