A simple and efficient Python script to generate QR codes for UPI payments across multiple apps — PhonePe, Google Pay, Paytm, and Fampay — using your UPI ID.
Each QR is automatically saved as an image and displayed for quick use.
Generate UPI payment QR codes for all major apps
Works offline after setup
Saves each QR as a .png image
Opens all QR codes for instant preview
Lightweight and beginner-friendly
Make sure you have Python 3.x installed.
Install the required dependencies:
pip install qrcode pillow
##HOW TO USE
# Step 1: Clone or download the repository
git clone https://github.com/your-username/upi-qr-generator.git
cd upi-qr-generator
# Step 2: Save the script as upi_qr_generator.py (if not already)
# Step 3: Run the script
python upi_qr_generator.py
# Step 4: Enter your UPI ID when prompted
Enter your UPI ID = example@upi
# Step 5: The script will generate four image files:
# phonepay_qr.png
# gpay_qr.png
# paytm_qr.png
# fampay_qr.png
# Each will open automatically for preview.