Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Advanced UPI QR Code Generator

A robust, client-side web application for generating, customizing, and downloading high-quality QR codes. While it can generate a QR code for any standard URL or text, it features a specialized builder designed specifically for the Indian Unified Payments Interface (UPI) network.

Features

  • UPI Link Builder: Instantly construct correctly formatted upi://pay URLs by simply filling in form fields. Avoid manual URL encoding or string manipulation.
    • pa (Payee VPA / UPI ID)
    • pn (Payee Name)
    • tn (Transaction Note/Remark)
    • am (Transaction Amount)
  • Live Preview: See changes to your QR code instantly as you type or adjust design settings.
  • Design & Customization:
    • Modify QR code patterns (dots, rounded, classy, square).
    • Customize corner marker styles.
    • Change the QR code color and background color.
    • Support for transparent backgrounds (ideal for placing on flyers and banners).
  • Export Options: Download the generated QR code in high-resolution PNG or vector SVG formats.
  • Privacy-First: 100% client-side generation. No payment details, UPI IDs, or transaction notes are ever sent to a remote server.

Usage

This tool is a completely self-contained single-page application. No build steps or server setup are required.

  1. Download the upi_qr_code.html file.
  2. Double-click the file to open it in any modern web browser (Chrome, Firefox, Safari, Edge).
  3. Enter your UPI details in the left panel.
  4. Customize the design.
  5. Click Download PNG or Download SVG to save your asset.

Technologies Used

  • HTML5 / JavaScript: Core logic and structure.
  • Tailwind CSS (via CDN): For rapid, responsive, and modern UI styling.
  • qr-code-styling (v1.5.0): A powerful JavaScript library used for rendering highly customizable QR codes to HTML Canvas/SVG.

Notes on UPI Parameters

When generating static QR codes for mass printing (like donation drives or shop fronts), it is highly recommended to exclude the tr (Transaction Reference) parameter. Using a static tr across multiple scans can cause accounting issues in core banking systems. The built-in UPI Link Builder in this tool deliberately omits the tr parameter to ensure best practices for static QR code generation.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages