QR Code Generator

Create or decode QR codes from text, URLs, or images. Download as PNG or SVG.

No upload — client-side onlyWorks offlineNo tracking
Run generation to see QR code.
Advanced — 300px · M (15%) · Quiet Zone 4
0Input Bytes
Output Size
MError Correction

What is QR Code Generator?

A QR code generator turns any text or URL into a scannable square barcode that smartphones and cameras can read instantly. Whether you're sharing a website link, Wi‑Fi credentials, contact details, or a short message, QR codes bridge the gap between physical and digital—no typing required. This tool also includes a Decode tab that reads QR codes from uploaded images, so you can extract the hidden content from screenshots, photos, or printed materials.

All generation and decoding runs entirely in your browser. Your data never leaves your device. You can customize size (200–800px), foreground and background colors, error correction level (L, M, Q, H), and quiet zone. Export as PNG for screens or SVG for print and scaling without quality loss.

How to Use QR Code Generator

  1. Enter your text or URL in the input field (e.g. https://example.com or WIFI:T:WPA;S:MyNetwork;P:password;;).
  2. Click Generate or press Ctrl+Enter. The QR code appears instantly in the preview area.
  3. Open Advanced to adjust size, error correction, colors, and quiet zone. Higher error correction (Q or H) helps if the code will be printed small or partially obscured.
  4. Click Download PNG or Download SVG to save. Use PNG for web and screens; use SVG for print, logos, or when you need crisp scaling.
  5. To decode a QR code, switch to the Decode tab, upload or drag‑drop an image containing a QR code, then click Decode. Copy the extracted text with the Copy button.

Tips & Best Practices

Use Use Sample to quickly test with a sample URL. For URLs, include https:// so phones open them as links. For print, choose error correction H (30%) and a larger size (600px or 800px). The quiet zone (margin) helps scanners detect the code—keep it at Standard (4) unless you have layout constraints. Press Esc to clear the input and preview.

When to Use This Tool

Use this QR code generator when you need quick, privacy‑first codes for business cards, flyers, menus, product packaging, or event check‑in. It's ideal over online services that upload your data: everything runs client‑side. Choose the Decode tab when you have a QR image and need to see what it contains—handy for verifying links before scanning or recovering data from printed codes.

Frequently Asked Questions

What is a QR code generator?

A QR code generator creates scannable QR codes from text or URLs. ToolCrux runs entirely in your browser—your data never leaves your device.

How do I create a QR code?

Enter text or a URL, click Generate. Customize size, colors, and error correction in Advanced settings. Download as PNG or SVG.

Can I decode a QR code?

Yes. Switch to the Decode mode and upload an image containing a QR code. The decoded text appears instantly.

What formats can I download?

PNG (raster) and SVG (vector). SVG is ideal for print and scaling. Both are generated locally in your browser.

Is the QR code generator free?

Yes. Free, no signup, runs in your browser. No uploads, no tracking. Also try our Base64 Encoder or Hash Generator for related tasks.