How to Create a QR Code: Step-by-Step Guide

A QR code encodes text, a URL, Wi-Fi credentials, or contact information into a scannable square barcode. The QR Code Generator creates high-resolution QR codes directly in your browser β€” no account or server upload required. This guide covers when QR codes are useful, how to create and print them, and how to avoid common mistakes that make codes unscannable.

Last updated: By MyHandyToolLab

What can you put in a QR code?

Content typeExampleWhat the scanner does
URL (website link)https://yourcafe.com/menuOpens the link in the browser
Plain textOrder #12345Displays the text
Wi-Fi credentialsSSID: MyWifi, Password: abc123Offers to connect to the network
Email addressmailto:hello@yourbusiness.comOpens email composer
Phone numbertel:+923001234567Offers to dial the number
SMSsmsto:+923001234567:HelloOpens SMS with pre-filled message
vCard (contact)Name, phone, email, addressOffers to save as a contact
URLs are the most common QR code content. For maximum reliability, always include the full URL with https:// β€” not just "yourdomain.com". Shortened URLs (bit.ly, etc.) work but add a redirect step that depends on the shortener service staying online.

Step-by-step: how to create a QR code

  1. 1.
    Choose the content type Select URL, text, Wi-Fi, or another content type from the options. Each shows the relevant input fields.
  2. 2.
    Enter your content Type the URL, text, or credentials. For URLs, include the full https:// prefix.
  3. 3.
    Customise the appearance (optional) Adjust the foreground colour, background colour, and size. For print, use a minimum of 300Γ—300 pixels.
  4. 4.
    Download or copy the QR code Click 'Download' to save the QR code as a PNG image. You can then insert it into documents, slides, posters, or business cards.

Sizing QR codes for print

A QR code must be large enough for a camera to scan at the expected distance. The general rule: the printed QR code should be at least 1/10th of the scanning distance.

Use caseScanning distanceMinimum print sizeRecommended pixels
Business card15–30 cm2 cm Γ— 2 cm300 Γ— 300 px
A4 flyer or document30–60 cm3 cm Γ— 3 cm400 Γ— 400 px
Poster (A3 or larger)1–3 metres10 cm Γ— 10 cm600 Γ— 600 px
Billboard / signage5+ metres50+ cm Γ— 50+ cm1000+ Γ— 1000+ px
Always test your printed QR code by scanning it with your phone before distributing. Print at 300 DPI minimum. Avoid glossy surfaces that reflect light and interfere with camera focus.

Common QR code mistakes

  • Low contrast: QR codes need strong contrast between foreground and background. Black on white is best. Avoid light grey on white or dark blue on black.
  • Too small: A QR code smaller than 2 cm Γ— 2 cm is hard to scan on older phones.
  • Encoding too much text: The more text a QR code contains, the denser (and harder to scan) it becomes. For long content, use a URL instead of encoding the full text.
  • Missing https://: Some scanners do not recognise bare domains as links. Always use the full URL.
  • Placing on curved surfaces: QR codes on mugs, bottles, or tightly curved surfaces may distort and become unscannable.
  • Not testing before printing: Always scan the code from the exported image before sending it to print.

Troubleshooting

ProblemCauseFix
QR code does not scanToo small, low contrast, or too much dataMake it larger, increase contrast, or shorten the content
Link opens wrong pageTypo in the URLCheck the URL letter by letter before generating
Wi-Fi code does not connectWrong password or SSIDDouble-check credentials; ensure SSID and password are exact
Downloaded image is blurryImage too small for printGenerate at a larger pixel size (600+ for posters)
Scanner shows raw text instead of opening a linkURL missing https://Re-generate with the full URL including https://

Ready to try it?

Open the QR Code Generator and follow the steps above.

Open tool

Related tools and guides

Frequently asked questions

Do QR codes expire?

Static QR codes (like the ones this tool creates) never expire. They encode data directly into the image. As long as the encoded URL or content is still valid, the code will work forever. Dynamic QR codes (from paid QR platforms) can expire because they redirect through a server.

Can I change the content of a QR code after creating it?

No. A static QR code permanently encodes its content. To change the link, you must generate a new QR code. If you need editable links, use a URL shortener (like bit.ly) as the encoded content β€” you can then change where the short link points.

Is my QR code content uploaded to any server?

No. The QR code is generated entirely in your browser. Your URLs, Wi-Fi passwords, and other data are never sent to any server.

Can I use a coloured QR code?

Yes, as long as there is strong contrast between the foreground modules and the background. Dark foreground on light background works best. Avoid using colours that are too similar in brightness, and always test the code after customising colours.

What is the maximum amount of data a QR code can hold?

A standard QR code can hold up to approximately 4,296 alphanumeric characters or 2,953 bytes of binary data. In practice, keeping content under 300 characters produces the most reliable, easy-to-scan codes. For anything longer, encode a URL that points to the full content.