| Type | Description |
|---|---|
| π URL | Website links |
| π Text | Plain text content |
| π§ Email | Email address, subject, and body |
| π Phone | Initiate phone calls |
| π¬ SMS | Send SMS messages |
| πΆ WiFi | Auto-connect to WiFi networks |
| π€ vCard | Share contact information |
| π Location | GPS coordinates |
| π WhatsApp | WhatsApp messages |
| βΏ Bitcoin | Cryptocurrency payment addresses |
| π Event | Calendar events |
| π± App | App Store/Play Store links |
| π 2FA/OTP | Two-factor authentication |
| π« Coupon | Discount coupons |
| β Review | Google/Yelp reviews |
| π Clipboard | Copy to clipboard |
| π UPI | India payment system |
- Colors: Foreground, background, and gradient support
- Dot Styles: Square, rounded, extra-rounded, dots
- Corner Styles: Square, dot, extra-rounded
- Logo: Add custom logo to center with size adjustment
- Error Correction: L, M, Q, H levels
- Size & Margin: Full control
English, Turkish, German, French, Spanish, Italian, Portuguese, Russian, Chinese, Japanese, Korean, Arabic, and many more...
- PNG (transparent background)
- JPEG
- SVG (vector)
- WebP
Programmatic QR code generation via URL parameters:
https://webisso.github.io/qr-generator/generate?type=url&data=https://example.com
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/webisso/qr-generator.git
# Navigate to project directory
cd qr-generator
# Install dependencies
npm install --legacy-peer-deps
# Start development server
npm startOpen http://localhost:3000 in your browser.
# Create optimized build
npm run build
# Serve build folder
npx serve -s build- Select QR Type: Choose the desired QR code type from the left panel
- Enter Information: Fill in the required fields based on the selected type
- Customize: Add colors, styles, and logo
- Download: Export in PNG, JPEG, SVG, or WebP format
/generate?type=url&data=https://google.com
/generate?type=url&data=https://example.com&size=400&color=3B82F6&dots=rounded&corners=dot
/generate?type=wifi&ssid=MyNetwork&password=12345&encryption=WPA
/generate?type=vcard&name=John%20Doe&phone=+1234567890&email=john@example.com
/generate?type=url&data=https://example.com&download=true&format=png
| Parameter | Description | Default | Options |
|---|---|---|---|
type |
QR code type | url |
url, text, email, phone, sms, wifi, vcard, location, whatsapp, bitcoin, event |
data |
Main content | - | - |
size |
Size (px) | 300 |
100-1000 |
margin |
Margin | 10 |
0-50 |
color |
Foreground color | 000000 |
Hex (without #) |
bg |
Background color | ffffff |
Hex (without #) |
dots |
Dot style | rounded |
square, rounded, dots, extra-rounded |
corners |
Corner style | dot |
square, dot, extra-rounded |
ec |
Error correction | H |
L, M, Q, H |
logo |
Logo URL | - | Valid image URL |
download |
Auto download | false |
true, false |
format |
Download format | png |
png, jpeg, svg, webp |
qr-generator/
βββ public/
β βββ index.html
β βββ manifest.json
βββ src/
β βββ components/
β β βββ ui/ # shadcn/ui components
β β β βββ button.jsx
β β β βββ card.jsx
β β β βββ input.jsx
β β β βββ select.jsx
β β β βββ slider.jsx
β β β βββ tabs.jsx
β β β βββ ...
β β βββ QRGenerator/ # QR generator components
β β β βββ QRGenerator.jsx
β β β βββ QRTypeSelector.jsx
β β β βββ QRDataForm.jsx
β β β βββ QRCustomization.jsx
β β β βββ QRPreview.jsx
β β βββ Header/
β β β βββ Header.jsx
β β βββ Footer/
β β β βββ Footer.jsx
β β βββ LanguageSelector/
β β βββ LanguageSelector.jsx
β βββ pages/
β β βββ ApiGenerator.jsx # API endpoint page
β β βββ ApiDocs.jsx # API documentation
β β βββ index.js
β βββ locales/ # Language files
β β βββ en-US.json
β β βββ tr.json
β β βββ ... (43 languages)
β βββ lib/
β β βββ utils.js # Utility functions
β βββ i18n.js # i18n configuration
β βββ App.js
β βββ App.css
β βββ index.js
βββ craco.config.js # CRACO configuration
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js
βββ package.json
| Technology | Description |
|---|---|
| React 19 | UI framework |
| Tailwind CSS 3 | Utility-first CSS |
| Radix UI | Headless UI components |
| qr-code-styling | QR code generation library |
| i18next | Internationalization |
| React Router | Client-side routing |
| Lucide React | Icon library |
| CRACO | CRA configuration override |
# Install gh-pages package
npm install gh-pages --save-dev --legacy-peer-deps
# Add homepage to package.json
# "homepage": "https://webisso.github.io/qr-generator"
# Deploy
npm run build
npx gh-pages -d build- Connect your GitHub repository
- Build command:
npm run build - Output directory:
build - Deploy!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
β If you like this project, don't forget to give it a star!