Skip to content
StylQR home
QR Code Guides

How to Turn a URL or Website into a QR Code

Turn any link or website into a free QR code that never expires: pick the right page, clean the URL, add UTM tags, test, size it for print, or convert a list.

By StylQR Editorial TeamPublished Updated 7 min read

StylQR blog cover: How to Turn a URL or Website into a QR Code, illustrated with a link turning into a QR code, with a globe on a sea green background
Table of contents

To turn a URL or website into a QR code, copy the page's address, paste it into a URL QR code generator, scan the preview with your phone and download the image. On StylQR's URL QR code generator the code appears as you type, it's free with no sign-up, and it never expires because the link is stored in the pattern itself.

The parts that need more thought are which page to link, how to clean the URL so the code stays easy to scan, and how to print it. This guide covers those, plus counting visits without a paid tracking service and converting a whole list of URLs.

Your homepage is rarely the best destination. Someone scanning a poster for a yoga studio's class timetable wants the timetable, not a hero image and a menu.

  • Link the page the print is about: the menu, the event page, the product, the booking form.
  • Link a page you'll keep alive. A static code can't be changed after printing, so avoid pages you plan to delete.
  • Link a page that works on a phone. Everyone who scans is on one. Open it on your own phone before you print.
  • Link a public page. Pages that only work when you're signed in, such as a private Google Doc or an admin dashboard, won't open for anyone else.

If the destination might change, make an address on your own domain that you can redirect later, such as https://yourstudio.com/go/timetable. The code stays the same and you change where /go/timetable sends people. Static vs dynamic QR codes explains why this beats a paid redirect for most people.

Copy the exact URL

The code opens exactly what you paste, so start with the right address.

On a computer: click the address bar, which selects the full URL, and copy it with Ctrl+C or Cmd+C. Opening the page in a private window first shows whether it works without being logged in.

On iPhone or Android: most browsers and apps have a Share button with a Copy link option. In Safari or Chrome you can also tap the address bar and long-press to copy. Copying from an app such as YouTube, Instagram or Google Maps gives you a link that opens the same content for anyone.

Then paste the link into a different browser, or send it to yourself, and open it to confirm.

Clean up the URL before generating

Long URLs make dense codes, and many links carry baggage you can safely remove:

  • Tracking parameters from wherever you found the link, such as ?fbclid=..., ?si=... or &ref=.... The page usually loads the same without them; test to be sure.
  • Session or login tokens. These can expire or, worse, give strangers access to your account. Never encode a link containing token= or session= unless it's meant for sharing.
  • The www. prefix if your site works without it.

Compare https://shop.example.com/products/blue-mug?variant=4471&utm_source=ig&fbclid=IwAR3x... with https://shop.example.com/products/blue-mug. The second gives a much more open pattern. How much information a QR code can store shows how content length changes the grid.

Use https:// if your site supports it. Chrome and other browsers label plain http:// pages "Not secure", which puts people off.

Generate the QR code step by step

  1. Open the URL QR code generator. It's also the default on the StylQR home page.
  2. Paste the link into Website URL. A bare address like example.com/menu gets https:// added for you; an http:// address you typed deliberately is kept.
  3. Scan the preview on screen with your phone and confirm it opens the exact page.
  4. Style it if you want: colors, a frame with "Scan for timetable" or "Scan to watch", your logo. Error correction switches to High when you add a logo.
  5. Watch the scan score. StylQR shows a live score from 0 to 100 and warns about low contrast, light-on-dark colors or a size that's too small.
  6. Download the format you need (see below).

Count visits from the code with UTM tags

StylQR makes static codes and doesn't record scans. Your own website analytics can still tell you how many visits came from a printed code if you tag the URL before you generate it:

https://yourstudio.com/timetable?utm_source=poster&utm_medium=qr&utm_campaign=autumn2026

Google's guide to campaign URLs says to always include utm_source, utm_medium and utm_campaign. In Google Analytics those visits then show up under that source and campaign. Use a different utm_source for each placement (poster, flyer, table-tent) to compare them.

Two cautions. Tags lengthen the URL, so the pattern gets denser and needs more print size. And people sometimes share the tagged link, so treat the numbers as a strong guide rather than an exact scan count.

Download formats and print sizes

You're putting the code...Use
On a printed flyer, poster or packagingSVG or the print-ready PDF with bleed and crop marks
In a Word document or slidePNG at a large size, up to 4096 px
On your websiteCopy the SVG code or HTML embed
In a chat message or emailPNG or copy image
On label sheetsPDF on Avery 5160, L7160 or 22805 layouts

PNG vs SVG QR codes explains which format holds up best where.

For print, size follows scanning distance. A practical rule is about one-tenth of the distance, and no smaller than about 2 × 2 cm:

Where it goesTypical scan distanceMinimum code width
Business card, product label15–20 cm2 cm (0.8 in)
Flyer, menu, table tent25–40 cm3–4 cm (1.2–1.6 in)
A4 or letter poster on a wall1 m10 cm (4 in)
Window or shop sign2 m20 cm (8 in)
Tip: Always leave the white margin (quiet zone) around the code. Scanners use it to find the edges, and cropping it is one of the most common reasons printed codes fail.

Good spots are anywhere someone holding a phone would otherwise have to type your address: shop windows, packaging, receipts, event banners, the back of a business card and slides at a talk.

  • Google Drive and Dropbox files: set sharing to "anyone with the link" before you make the code, or people hit an access request. StylQR doesn't host files, so the file must stay where it is.
  • Google Forms: use the form's share link, not the editor URL in your address bar. How to create a QR code for a Google Form walks through it.
  • YouTube: a link with ?t=90 starts the video at 90 seconds. How to create a QR code for YouTube videos has more.
  • Social profiles and chats: StylQR has dedicated types for Instagram, WhatsApp, LinkedIn and others that build the right link from a username or number. They're in all QR code types.
  • Short links: they work, but the code now depends on the shortener staying online and the link not being deleted.

Convert a list of URLs at once

For a code per product page, table or attendee, the bulk QR code generator takes an Excel file, a CSV, pasted rows or a public Google Sheet with up to 5,000 rows. It produces a ZIP of images or a PDF of label sheets, with a file name, frame label and color per row, and flags invalid rows in a manifest so nothing goes missing silently.

Note: Every code you make on StylQR is static: permanent and unlimited, but not editable after printing, and with no scan analytics. If a destination might change, encode a URL on your own site that you can redirect later.

If the code opens the wrong thing

  • Opens a login page: the link is private. Change its sharing settings or use a public page.
  • Opens a 404: the URL was copied incompletely, or the page moved. Copy it again, and keep old URLs alive with redirects after a redesign.
  • Shows text instead of opening: the content doesn't start with https://, so the phone treats it as plain text. Regenerate with the full address.
  • Opens but people leave: the page is built for desktop, with tiny text and pop-ups. Fix the page, not the code.
  • Won't scan: the URL is long and the code is printed small, or the colors are light on dark. Shorten the link, print bigger and keep dark modules on a light background. Why is my QR code not scanning? has the full list.

Make your first one

Copy your link, clean it up, open the URL QR code generator and test the result on two phones before it goes anywhere permanent. If you want something other than a link, such as Wi-Fi or a contact card, browse every QR code type.

Frequently asked questions

Is there a length limit for a URL in a QR code?

The format can hold up to 2,953 bytes, but long URLs make dense codes that are hard to scan. Links under about 50 characters give the cleanest results.

Will the QR code still work if I redesign my website?

Yes, as long as the address in the code still loads. If a redesign changes page URLs, set up a redirect from the old address to the new one.

Can a QR code open an app instead of a website?

Often, yes. Links to YouTube, Instagram, WhatsApp and similar services open in the app if it's installed, and in the browser otherwise.

Should I use a URL shortener before making the code?

Only if the URL is very long and you trust the shortener to stay online. The shortener becomes a dependency, and the code breaks if that link is removed.

Share this guide

StylQR blog cover: How to Create a QR Code for Wi-Fi Sharing, illustrated with Wi-Fi signal waves with a router, a padlock and a house on a sea green background

QR Code Guides

How to Create a QR Code for Wi-Fi Sharing

Create a Wi-Fi QR code that lets guests join your network without typing the password. Covers the WIFI: format, security types, hidden networks and print tips.

· 4 min read

StylQR blog cover: How to Create a QR Code Without an App, illustrated with a browser window with a clicking hand, a download arrow and a QR code on a crimson background

QR Code Guides

How to Create a QR Code Without an App

Create a QR code on your phone or computer without installing anything: use a browser generator, Chrome's built-in tool or your phone's Wi-Fi share screen.

· 4 min read