A modern, premium QR code generator with support for both text-to-QR and image-embedded QR codes. Built with React (Frontend) and Node.js/Express (Backend).
Developed by Aadi in 2025
✨ Text to QR Code
- Generate QR codes from any text, URL, or data
- Customizable size, colors, margins, and error correction levels
- Real-time preview
🎨 Image-Embedded QR Codes
- Upload your logo/image to embed in QR codes
- Professional branding for your QR codes
- High error correction for better readability
💎 Modern Premium UI
- Beautiful gradient backgrounds
- Glass-morphism effects
- Smooth animations and transitions
- Fully responsive design
- Tailwind CSS styling
- React 18 - UI library
- Vite - Build tool
- Tailwind CSS - Styling
- Axios - HTTP client
- Node.js - Runtime
- Express - Web framework
- QRCode - QR code generation
- Sharp - Image processing
- Jimp - Image manipulation
- Multer - File upload handling
- Install all dependencies:
npm run install-allOr install manually:
# Root dependencies
npm install
# Backend dependencies
cd backend
npm install
# Frontend dependencies
cd ../frontend
npm installnpm run devThis will start:
- Backend server on
http://localhost:5000 - Frontend development server on
http://localhost:3000
Backend only:
npm run server
# or
cd backend && npm run devFrontend only:
npm run client
# or
cd frontend && npm run devGenerate QR code from text.
Request Body:
{
"text": "Your text here",
"options": {
"width": 500,
"margin": 4,
"darkColor": "#000000",
"lightColor": "#FFFFFF",
"errorCorrectionLevel": "M"
}
}Response:
{
"success": true,
"qrCode": "data:image/png;base64,...",
"text": "Your text here"
}Generate QR code with embedded image/logo.
Request: multipart/form-data
text: Text to encodeimage: Image fileoptions: JSON string with customization options
Response:
{
"success": true,
"qrCode": "data:image/png;base64,...",
"text": "Your text here"
}Health check endpoint.
qrgenerator/
├── backend/
│ ├── server.js # Express server
│ ├── package.json # Backend dependencies
│ └── public/ # Static files (if needed)
├── frontend/
│ ├── src/
│ │ ├── components/ # React components
│ │ │ ├── Header.jsx
│ │ │ ├── Footer.jsx
│ │ │ ├── QRGenerator.jsx
│ │ │ ├── TextQRGenerator.jsx
│ │ │ └── ImageQRGenerator.jsx
│ │ ├── App.jsx # Main app component
│ │ ├── main.jsx # Entry point
│ │ └── index.css # Global styles
│ ├── index.html
│ ├── package.json # Frontend dependencies
│ ├── vite.config.js # Vite configuration
│ └── tailwind.config.js # Tailwind configuration
├── package.json # Root package.json
└── README.md
-
Text QR Code:
- Select "Text QR" tab
- Enter your text/URL
- Customize appearance (size, colors, etc.)
- Click "Generate QR Code"
- Download the generated QR code
-
Image QR Code:
- Select "Image QR" tab
- Enter your text/URL
- Upload a logo/image
- Customize appearance
- Click "Generate QR Code with Logo"
- Download the generated QR code
- Size: 200px - 1000px
- Margin: 1 - 10
- Dark Color: Custom color for QR code pattern
- Light Color: Custom background color
- Error Correction Level: L, M, Q, H (for text QR)
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
MIT
Aadi - 2025
Developed with ❤️ by Aadi in 2025.
See SECURITY.md for security guidelines and best practices.
Important: Never commit .env files or sensitive data to version control.
Contributions are welcome! Please feel free to submit a Pull Request.

