Get started
HomeProductivityQR Generator
ProductivityRuns in your browser · files never uploaded

QR Generator

Custom QR codes with logos

4.6· 45 votes
A QR-code generator encodes text, a URL, Wi-Fi credentials, or a vCard into a 2-D matrix barcode any phone camera can decode. StuHub renders the code as SVG and PNG directly in your browser so the content you encode is never transmitted — useful for private Wi-Fi passwords, boarding passes, and pre-shared secrets.
Your file never leaves this browser. Everything runs on your device — no uploads, no server storage, no retention.How it works →

What is QR Generator?

Generate QR codes for URLs, plain text, Wi-Fi credentials, contact cards, and any string up to about 2k characters. Choose foreground + background colours and error-correction level, live preview updates as you adjust. Download as PNG for print or screen use. Running entirely in your browser means the QR data never leaves your device.

How do I use QR Generator?

  1. Type or paste the text you want encoded (URL, Wi-Fi string, etc.).
  2. Pick colours and error-correction level.
  3. Download the PNG.

QR Generator by the numbers

Engine
qrcode.js, in-browser
Error-correction levels
L / M / Q / H (7%–30% recovery)
Export formats
SVG, PNG
Max data
~4,000 alphanumeric chars (version 40 Low)
Privacy
Content never transmitted

Common use cases for QR Generator

  • Printing a Wi-Fi QR code for a café or co-working space.
  • Embedding a vCard in a business-card design.
  • Linking a restaurant menu PDF from a table sticker.
  • Auto-opening an Instagram profile from a poster.
  • Sharing an event RSVP URL on printed invites.

Common pitfalls and how to avoid them

  • Scanner cannot read the codeIncrease the module size (print larger) or bump error-correction to "High" to survive surface damage and reflection.
  • Logo obscures the dataKeep the logo to ≤20% of the total area and use error-correction level Q or H so the reader can reconstruct missing modules.
  • Wi-Fi QR does not auto-joinCheck the format string: WIFI:T:WPA;S:<name>;P:<pass>;;. iOS 16+ and Android both honour this when the camera scans it.

When should I use QR Generator?

QR Generator creates new codes. To read an existing QR code (from image or camera), use QR Scanner. For barcodes (EAN, UPC, Code128), use Barcode Generator.

Frequently asked
What data types does a QR code support?

Anything expressible as text — URLs, plain text, Wi-Fi credentials (format: WIFI:T:WPA;S:name;P:password;;), vCards, email mailto: links, and more. Most scanners recognise URLs and Wi-Fi automatically.

How large should my QR code be when printed?

As a rule of thumb, the smallest dimension should be at least 10× the expected scanning distance. A business-card QR is usually fine at 2.5 cm; a poster QR aims for 5–7 cm or more.

Can I add a logo or colors?

Yes. Use the colour pickers for foreground and background; QR spec tolerates up to ~30% obstruction, so a small centred logo is safe if you choose the "High" error correction level.

Is my file uploaded anywhere?

No. Everything runs in your browser. Your files never leave your device, and there is no server component for this tool.

Related in Productivity
QR Scanner
Barcode Generator
File Renamer
Bulk Resize
Screenshot Tool
Clipboard Cleaner