How to Create a QR Code for a Link or WiFi That Actually Scans

person فريق سهلcalendar_today November 15, 2026schedule 5 min read
Illustration of a QR code shown on a phone screen

A restaurant switches from a paper menu to a QR code taped to the table. A customer scans it with their phone camera and nothing happens — the code was too small for the distance people sit at, or glare off the table blocked the camera from reading it. Generating a QR code is the easy part; making it actually work in a strangers hand on an unknown phone is the detail that gets skipped.

What a QR code is, and why it helps

A QR code is a square pattern of black and white dots that stores text, a link, or contact details, readable by any modern phone camera with no special app required. The QR code generator on Sahel builds the code directly from a link, plain text, a WhatsApp number, or WiFi details, and lets you download it as PNG for everyday use or SVG if you need to print it large without the edges breaking up.

PNG or SVG when downloading

PNG is a fixed-pixel image, so blowing it up for a poster or a large sign leaves the edges looking jagged. SVG is vector based and scales to any size without losing sharpness, which makes it the right choice for large-format printing, while PNG is plenty for a screen, a flyer, or an ordinary document.

Why does a code sometimes fail to scan?

Three causes account for most failures: the code is too small for the scanning distance, the contrast between the code and its background is too weak, or there is not enough white space around the code — known as the quiet zone. A camera uses that margin to locate the codes edges before reading it, so cropping it away breaks scanning even when the code looks fine to the eye.

Steps to create a code

  1. Choose the content type: link, plain text, WhatsApp number, email, or WiFi details.
  2. Enter the data exactly — a full link starting with https, not a fragment of one.
  3. Pick a size and color that fit where it will be used, keeping the contrast clear.
  4. Download as PNG for everyday use or SVG for large-format printing.
  5. Test the scan on your own device before printing or publishing in bulk.

A fixed link, or the data itself?

The code this tool creates stores the content directly inside it, so whatever you enter is what gets read every time, with no middleman. That means if you create a code for a link and later change that link, the printed code will not update itself — it keeps pointing at the old address forever. If you are printing a code on something permanent and expect the destination to change later, consider using a short link you control, and encode that short link instead of the final address directly.

A real case

A small shop owner wants to print a QR code on business cards that sends customers straight into a WhatsApp chat instead of a phone number they have to copy by hand. She builds the code from her business WhatsApp number, picks a dark color on a white background to keep the contrast clear under a showrooms lighting, and downloads it as SVG because the cards will be printed at high quality by an outside print shop that asks for vector files.

Before printing in bulk, she tests the code on three different phones to make sure it scans on the first try, and leaves white space around the code in the card layout instead of pushing it right up against the edge of the design.

Frequently asked

Does a QR code I create ever expire?

No, the code itself never expires because it does not connect to an external server; it keeps working as long as whatever it encodes — a link or a number — is still valid.

What is the smallest size safe to print?

There is no single number that fits every case, since it depends on how much data the code holds and the expected scanning distance; the safest approach is printing a test copy and scanning it from the real distance before printing the full batch.

Can a logo be added to the middle of the code?

This tool produces a clean, standard code with no embedded logo, which is the safest choice for reliable reading, since a large logo in the middle can cover dots the decoder needs.

Is WiFi data inside the code safe to share?

The code stores the network name and password as plain text inside an image, so anyone who scans it gets both instantly — only share it with people you trust with access to your network.

Does the tool require an account?

No, the code is generated instantly in your browser with no sign-up or software to install.

Try the tool

Open the QR code generator, enter your link or text, and get a code ready to download and print in seconds.

Related articles