QR Code Generator

Generate a QR code from any text or URL instantly in your browser — a scalable SVG, ready to print or share.

QR codes can hold up to about 2,331 bytes of text — fewer once you use non-ASCII characters.

0 chars 0 Bytes

What Is a QR Code Generator?

A QR (Quick Response) code packs text — a URL, a Wi-Fi password, contact details, or any short message — into a square grid of black and white squares that a smartphone camera can scan and decode in an instant. Unlike a 1D barcode, a QR code's two-dimensional layout lets it hold far more data in the same physical space, along with built-in error correction that keeps it readable even if part of the code is smudged, scratched, or partially covered.

At a Glance
Instant, in your browser No upload, no server round-trip
~15% damage tolerance Error correction level M
Scalable SVG output Crisp at any print size

Why Use a QR Code?

  • Any modern smartphone can scan one directly from its camera app — no separate scanner hardware needed.
  • It bridges a printed or physical surface (a poster, a receipt, packaging) to a digital destination without anyone typing a URL by hand.
  • Built-in error correction means a QR code keeps working even with some visual damage or a logo overlaid in the middle.
  • It can encode far more than just a link — Wi-Fi credentials, contact cards, plain text, and more, all in the same format.

How This Tool Works

Type or paste the text or URL you want to encode and click Generate. The QR code is built entirely in your browser as a scalable SVG image, using error correction level M (recovers from up to about 15% damage) — the same balance of data capacity and resilience most QR generators default to. Nothing is uploaded; your content never leaves your device.

QR Code vs Barcode — When to Use Each

Both encode data into a scannable image — the difference is mostly about how much you need to fit and who's doing the scanning.

FeatureQR CodeCode 128 (barcode)
Shape2D — a square grid1D — a single row of bars
Data capacityHigh — up to ~2,300 bytesLower — best for short codes
Error correctionBuilt in (recovers from ~15% damage at this tool's setting)None built in beyond a checksum
Scanner requirementsCamera-based (most smartphones)Any laser or camera barcode scanner
Common usesURLs, Wi-Fi credentials, contact sharing, marketingRetail, shipping, inventory

Use a QR Code When

  • You're encoding a URL, Wi-Fi network, contact card, or any content longer than a short ID
  • The audience will scan it with an ordinary smartphone camera, not dedicated scanner hardware
  • You want resilience against partial damage or a small logo placed in the middle

Use a Barcode When

  • You're labeling inventory, shipping packages, or retail products — the systems already reading barcodes expect a 1D format
  • The content is short — a SKU or serial number — and needs compatibility with existing laser scanners
  • See our Barcode Generator if that's what you need instead

Common Scenarios for Generating a QR Code

Linking a Printed Poster or Flyer to a Web Page

A QR code is the standard way to send someone from a physical printed piece — a poster, flyer, or business card — straight to a website without them typing a URL. Once you've generated the code, our HTML to PDF Converter can help turn your finished design into a print-ready PDF.

Sharing Wi-Fi Credentials Without Reading Them Aloud

Encoding a network name and password in the right format (WIFI:S:NetworkName;T:WPA;P:Password;;) lets a guest join your Wi-Fi by scanning a code instead of carefully typing a long password.

Putting a Contact Card on a Business Card or Signature

A QR code encoding a vCard format lets someone add your contact details to their phone with a single scan, instead of manually typing a name, phone number, and email.

Linking Physical Packaging to Digital Content

Product packaging, event tickets, and shipping labels increasingly use QR codes to link to setup instructions, a warranty registration page, or a digital ticket — content too long to print legibly on the package itself.

Testing a QR Scanning Workflow

If you're building or testing an app that reads QR codes — a check-in system, a payment flow — generating known test codes on demand is faster than hunting down a physical code with the right content already encoded.

Other Ways to Generate a QR Code

You can also generate a QR code using your phone's built-in QR creation tools (where available), or a short script using a QR library in your language of choice. FileCast is useful for a quick, one-off QR code without installing anything.

Frequently Asked Questions

Is it safe to generate QR codes here?

Yes. This tool runs entirely in your browser. The text you enter is processed on your own device — nothing is uploaded to a server, and nothing about what you encode is logged or tracked.

How much text can I encode?

Up to roughly 2,300 bytes (a bit less for text with a lot of multi-byte characters, like emoji or non-Latin scripts, since each of those takes more than one byte). That's enough for a long URL, a full Wi-Fi credential string, or several paragraphs of plain text.

What happens if part of the QR code is damaged or covered?

This tool uses error correction level M, which can recover the encoded data even if roughly 15% of the code is damaged, smudged, or covered — enough headroom for a small logo placed in the center, within reason.

What file format does the QR code download as?

An SVG (scalable vector graphic). Unlike a PNG or JPG, an SVG QR code can be resized to any dimension — for a small sticker or a large sign — without losing sharpness or becoming pixelated.

Can I encode a Wi-Fi network or contact card, not just a URL?

Yes — this tool encodes whatever text you give it. For a Wi-Fi network, use the format WIFI:S:NetworkName;T:WPA;P:Password;;; for a contact card, use the vCard format. Most QR scanner apps recognize these formats automatically and offer to join the network or save the contact.