Yantrasagaram

QR Code Generator

QR codes bridge the gap between physical and digital content, letting anyone scan a simple square to open a URL, save a contact, or read a message. Make sure your URL is properly encoded first with the URL Encoder / Decoder. This free generator turns any text or URL into a high-quality QR code instantly, right in your browser. Customize the output to match your brand by choosing foreground and background colors, selecting from three size presets, and setting the error correction level from Low to High depending on how resilient the code needs to be. Preview the result in real time and download it as a PNG for use in presentations, packaging, business cards, or web pages. Need a secure password to embed in a Wi-Fi QR code? Generate one with the Password Generator. Because everything runs client-side, your data is never transmitted to a server — making this one of the most private ways to generate QR codes online. No account required, no watermarks, no limits.

#000000
#ffffff

How to Use This Tool

  1. Enter the text or URL you want to encode in the input field. This can be a website address, plain text, an email address, or any string up to several thousand characters.
  2. Choose your preferred size, error correction level, and colors. Use higher error correction if the code will be printed on materials that might get scratched or partially covered.
  3. Click Generate to create the QR code. The preview appears below the controls immediately.
  4. Click Download PNG to save the image to your device, or Copy to Clipboard to paste it directly into a document or design tool.

Examples

Website URL

Input

https://yantrasagaram.com

Settings

Size: 300x300 | Error Correction: M | Colors: black on white

Result: Scannable QR code linking to the website

Wi-Fi Network Credentials

Input

WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;

Settings

Size: 400x400 | Error Correction: H | Colors: #1a1a2e on #e0e0e0

Result: Guests scan to auto-join the Wi-Fi network

Plain Text Message

Input

Meeting at 3 PM in Room 204. Bring your laptop.

Settings

Size: 200x200 | Error Correction: L | Colors: #2d3436 on #ffffff

Result: Compact QR code for quick sharing on a whiteboard or screen

What This Tool Is Useful For

Frequently Asked Questions

What types of content can I encode in a QR code?
You can encode any text string, including plain text, URLs, email addresses, phone numbers, Wi-Fi credentials, and vCard contact information. The QR code standard supports up to roughly 4,296 alphanumeric characters, though practical limits depend on the error correction level and the scanning device.
What does the error correction level do?
Error correction adds redundant data so the QR code remains scannable even if part of it is damaged or obscured. Level L recovers about 7% of data, M recovers 15%, Q recovers 25%, and H recovers 30%. Higher levels make the code more resilient but also increase its density, so choose the lowest level that meets your needs.
Can I change the colors of the QR code?
Yes. You can set both the foreground (module) color and the background color using the color pickers. For reliable scanning, maintain strong contrast between the two colors — dark modules on a light background work best. Avoid using very similar colors, as many scanners rely on contrast to detect the code.
Is my data stored or sent to a server?
No. The QR code is generated entirely in your browser using JavaScript. Your text, URLs, and generated images never leave your device. Once you close or refresh the page, the generated QR code exists only if you downloaded or copied it.
What size should I choose for my QR code?
For digital use like websites or emails, 200x200 pixels is usually sufficient. For printed materials, 300x300 or 400x400 provides better scan reliability. If you plan to print the code at a large physical size, generate it at the largest option and let your design software scale it up — QR codes scale well because they are made of square modules.

More Developer Tools

Test patterns with the Regex Tester. Encode data with the Base64 Encoder / Decoder. Generate secure credentials with the Password Generator. Create unique identifiers with the UUID Generator. Browse all utilities in the Developer Tools hub.

Related Tools