A streamlined web application that converts URLs into downloadable QR codes. Built with Python and Streamlit, this application provides an easy way to generate QR codes for any web address.
- 🌐 Simple URL input interface
- 🔄 Automatic URL formatting (adds https:// if missing)
- 🎨 Clean and modern web interface
- ⬇️ Downloadable QR codes in PNG format
- 🛡️ Input validation and error handling
- Python 3.13 or higher
- Required Python packages:
- streamlit >= 1.45.1
- qrcode >= 8.2
- pillow >= 11.2.1
Clone the repository:
git clone https://github.com/Rafiqdevhub/URL-To-Qrcode-Generator.git
cd "URL-To-Qrcode-Generator"
- Start the Streamlit application:
streamlit run main.py
-
Open your web browser and navigate to the provided local URL (typically http://localhost:8501)
-
Enter a URL in the text input field
-
Click the "Generate QR Code" button
-
Download the generated QR code using the "Download QR Code" button
The application uses:
streamlit
for the web interfaceqrcode
library for generating QR codespillow
for image processing
When a URL is submitted:
- The application validates and formats the URL
- Generates a QR code using the qrcode library
- Displays the QR code in the web interface
- Provides a download option in PNG format
URL Generator/
├── main.py # Main application file
├── pyproject.toml # Project dependencies and metadata
├── README.md # Documentation
└── .gitignore # Git ignore file