SW Commercial logoSW Commercial

BlogTool Hub

Make a QR code in the browser without sending the link to a generator cloud

Tool Hub builds a QR PNG in your tab. Use it for a URL, Wi-Fi, or vCard when you do not want a generator site to log the payload.

Simon Wong

4 min read

A QR code is just a picture of some text. The text might be a public shop URL. It might also be a Wi-Fi password, a personal vCard, or an internal docs link. Upload generators are convenient. They also see the payload. If you would not paste that string into a random form, do not generate the code there.

QR code generator on Tool Hub draws the PNG in your browser. The string stays in the tab. You download the image. We do not need the payload on a server to draw squares.

When this generator is the right tool

Use it for a URL you are happy to print, a short note, or a one-off code for a slide. For a Wi-Fi join code, use Wi-Fi QR instead — that page builds the WIFI: payload with the escaping the format needs. For a contact card, use vCard QR. The generic generator is the wrong box for those two jobs because the payload is not a plain URL.

I use the generic page when the content is a https link or a short string I typed myself. I do not use it to “hide” a secret in a QR. Anyone who photographs the printout has the secret. Place a Wi-Fi code where you mean guests to stand, not on a street-facing window.

What “in the browser” means for this job

Client-side means the page sends the QR library to your tab. Your browser turns the text into modules and paints a PNG. Download is a local file. There is no account. There is no “we stored your URL to make analytics pretty.”

You can test it. Load the page, go offline, type a throwaway URL, download. If the PNG still appears, the payload did not need our server. The first visit still loads the page HTML. That is not your Wi-Fi password.

How I make a URL QR here

  1. Open https://tools.sw-commercial.com/qr-code-generator.
  2. Paste the URL. Prefer https://. A missing scheme makes some cameras open a search instead of the site.
  3. Keep the string short when you can. UTM-stuffed marketing URLs make denser codes that fail at small print sizes. A short link you control is fine if you accept that the shortener sees clicks.
  4. Download a PNG large enough to print. I aim for a code that is at least 2 cm on the shortest side on paper, with quiet space around it. A logo in the middle is optional on this hub; if you add one, scan it with your own phone before you print 200 flyers.
  5. Scan the download with the phone you will ask other people to use. iOS and Android cameras differ. Your eyes are not a scanner.

You do not create an account. Free generation does not watermark the code.

Failure cases I hit while using it

Too much text. A paragraph in a QR becomes a noisy square that will not scan from a metre away. If you need that much, host a page and QR the URL.

Printed too small, or on a busy photo background. Contrast matters. Black modules on white, not grey on kraft with a pattern.

A URL that redirects through a tracker. The code is honest: it encodes what you pasted. If the paste is a tracking redirect, the phone will follow it.

Editing the PNG in a heavy compressor until modules blur. If you must shrink, use a pixel resize that keeps sharp edges, or regenerate at the size you need. JPEG is a bad container for QR; keep PNG.

Wi-Fi passwords with ; : \ , or " must be escaped in the WIFI: format. Do not type a raw password into the generic URL generator and hope. Use the Wi-Fi page.

When not to use this page

Do not encode a password you would not write on a sticky note in that room. A QR is a sticky note with better typography.

Do not use an upload generator “just to preview” a vCard that has your mobile number, then generate the real one locally. The preview was the leak.

Do not put a QR on a public poster if the URL is an unpublished admin path. The code is not access control.

Related jobs on the same hub

Wi-Fi QR and vCard QR are the two payloads I refuse to treat as “just text.” SW Toolbox can build a QR from selected text in Chrome, still on the device.

This catalog only keeps how-tos whose destination returns HTTP 200. The QR tools on Tool Hub do. Other family products are launching soon and are not linked here as if they were live.

Related reading