How to Generate a QR Code for a URL, Wi-Fi, or vCard Without Uploading Your Data

Updated

You can create a QR code for a URL, Wi-Fi network, or vCard directly in your browser at 2qr.info, with no account and no server upload. The site runs entirely in your browser using JavaScript and canvas, so the data you type — including Wi-Fi passwords and contact details — stays on your device. This works for anyone who needs a scannable code for a link, a guest network, or a digital business card, and who would rather not hand that information to a third-party server.

What you need before you start

  • A browser with JavaScript enabled. The site displays an explicit warning if JavaScript is off, and it cannot render a QR code without it.
  • A browser that supports the HTML canvas element. If it doesn't, the page tells you it cannot render a QR code.
  • The information for your chosen code type:
    • URL or text: the link or text string you want to encode.
    • Wi-Fi: the network name (SSID, required), the password, and the encryption type.
    • vCard: first name and last name (both required), plus optional organization, phone number, email address, and website URL.

Generating a URL or text QR code

  1. Open 2qr.info.
  2. Enter your URL or text in the main field.
  3. Click Generate.
  4. Preview the QR code rendered on the page.
  5. Click Download as PNG to save the image for sharing or printing.

The result is a static image you can drop into a slide, a poster, or a chat message. Because the code is generated locally, the URL you encode is not sent anywhere.

Generating a Wi-Fi QR code

  1. Select the Wi-Fi QR Code option (the site labels it with a ⚙️ settings entry point).
  2. Fill in:
    • Network Name (SSID) — required.
    • Password.
    • Encryption — choose WPA/WPA2/WPA3, None (open network), or WEP (insecure, outdated).
    • Hidden Network — enable this if your SSID is not broadcast.
  3. Click Generate.
  4. Download the PNG.

Guests can then scan the code to join the network without you reading the password aloud. The site itself notes that sharing Wi-Fi passwords online is never a great idea, but points out that its processing happens entirely in your browser and keeps your data private. That local-only behavior is what makes this a reasonable option for a guest network, as long as you are comfortable with the code itself being shareable.

Generating a vCard QR code

  1. Select the vCard QR Code option.
  2. Enter:
    • First Name — required.
    • Last Name — required.
    • Organization, Phone Number, Email Address, Website URL — optional.
  3. Click Generate.
  4. Download the PNG.

Scanning the result adds your contact details to the recipient's phone. The same privacy note applies: personal data is best not shared carelessly online, but here the fields are processed in the browser rather than posted to a server.

One-click URL QR codes with the bookmarklet

The site offers a URL2QR Bookmarklet — a small piece of JavaScript you save as a browser bookmark. Drag the provided link into your bookmarks bar. When you are on any page you want to share, click the bookmark and it generates a QR code for the current URL on the spot.

This is the fastest path when you are already browsing and don't want to copy-paste a link into a generator. The site explains that a bookmarklet is just JavaScript saved as a bookmark, and that clicking it runs the code on the current page.

Verifying the result and common snags

  • Test before you print. Scan the downloaded PNG with a phone camera or QR reader app. If it doesn't resolve, re-check the encoded string — a typo in a URL or SSID is the most common cause.
  • JavaScript disabled: the page shows a warning and won't generate anything. Enable JavaScript for the site.
  • No canvas support: the page states your browser cannot render a QR code. Try a current version of a mainstream browser.
  • Wi-Fi codes fail to connect: confirm the encryption type matches your router. Selecting WPA/WPA2/WPA3 for an open network, or the reverse, will produce a code that scans but doesn't join.
  • Hidden networks: if your SSID is hidden, the code must be generated with the hidden-network option enabled, or devices won't find it.
  • PNG only: the download option shown is PNG, which is fine for screens and most print uses. If you need vector output for large-format printing, you would need a different tool.

Privacy: what actually stays local

The site's own copy states it runs entirely in your browser and keeps your data private, and the privacy policy describes collecting only non-personally-identifying information such as browser type, language preference, referring site, and request timestamps — the kind of data web servers normally log. The QR generation itself relies on a client-side library (QR.js by neocotic), which is consistent with the claim that your inputs are not uploaded. There is a Sponsor a drink! option with PayPal listed as a payment platform, but that is a voluntary tip, not a requirement to use the generator.

Quick comparison of the three code types

Type Required fields Best for Watch out for
URL / text The URL or text Posters, slides, chat links Typos in the URL
Wi-Fi SSID, password, encryption Guest networks, cafes, offices Wrong encryption type; hidden SSIDs
vCard First and last name Networking, business cards Outdated contact details once printed

Pick URL for anything web-facing, Wi-Fi when you want guests to join without typing a password, and vCard when you want someone to save your contact info in one scan. All three download as PNG and are generated locally in your browser.