π Live Demo | GitHub Repository
A modern, accessible QR Code generator built with TypeScript featuring advanced branding capabilities. Created by E4Dev for professional QR code generation needs.
- π¨ Customizable Design: Change colors, border size, and error correction levels
- π± Responsive UI: Works seamlessly on desktop and mobile devices
- βΏ Accessible: Full keyboard navigation and screen reader support
- β‘ Real-time Generation: QR codes update as you type
- πΎ Multiple Export Formats: Download as SVG or high-resolution PNG
- π Client-side Only: All processing happens in your browser for privacy
-
Install dependencies:
npm install
-
Start development server:
npm run dev
-
Build for production:
npm run build
-
Preview production build:
npm run preview
- Enter any text, URL, or data in the input field
- Customize the QR code appearance:
- Error Correction: Choose from Low, Medium, Quartile, or High
- Border Size: Adjust white space around the QR code
- Colors: Set custom foreground and background colors
- The QR code generates automatically as you type
- Download your QR code as SVG or PNG
- Low (~7%): Can recover from up to 7% damage
- Medium (~15%): Can recover from up to 15% damage (recommended)
- Quartile (~25%): Can recover from up to 25% damage
- High (~30%): Can recover from up to 30% damage
Higher error correction levels create more complex QR codes but provide better damage resistance.
- TypeScript: Type-safe JavaScript for better development experience
- Vite: Fast build tool and development server
- Advanced QR Library: High-quality, well-tested QR code generation
- Modern CSS: Responsive design with CSS Grid and Flexbox
- Web Standards: Uses modern browser APIs for file downloads
This application works in all modern browsers that support:
- ES2020 features
- Canvas API (for PNG export)
- Blob API (for file downloads)
- CSS Grid and Flexbox
# Lint code
npm run lint
# Format code
npm run formatsrc/
βββ index.html # Main HTML file
βββ main.ts # TypeScript application logic
βββ styles.css # CSS styles
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
MIT License - see LICENSE file for details.
- E4Dev - Creator and maintainer
- Modern web standards for making this possible without heavy frameworks
- TypeScript and modern browser APIs for seamless functionality
- Upload Brand Logo: Add your company logo to the center of QR codes
- Logo Size Control: Adjust logo size from 5% to 30% of QR code size
- Logo Background Options:
- Transparent (no background)
- White background (recommended for readability)
- Custom color background
- Custom Text: Add your brand name or message below the QR code
- Text Styling: Choose from small, medium, or large text sizes
- Color Customization: Set custom text colors to match your brand
- Error Correction: Higher error correction levels (Quartile/High) recommended when using logos
- Automatic Sizing: Logo and text scale proportionally with QR code size
- File Naming: Downloaded files automatically include brand name when specified
- Keep logos simple and high-contrast for best scanning results
- Use High error correction when adding logos to ensure QR codes remain scannable
- Test QR codes with your target scanning devices after adding branding
- Logos larger than 25% may impact scannability
- PNG (recommended for logos with transparency)
- JPG/JPEG
- SVG
- GIF
- WebP
- Smart Detection: Automatically detects if QR content is a URL
- Touch-Friendly: Optimized for mobile devices and tablets
- One-Tap Access: Users can tap/click QR codes directly instead of scanning
- Visual Feedback: Hover effects and click animations provide clear user feedback
- Enable Feature: Check "Make QR Code Clickable" option
- URL Detection: System automatically detects if your content is a valid URL
- Visual Cues: Clickable QR codes show hover effects and cursor changes
- Direct Action: Clicking opens the URL in a new tab/window
- Full URLs:
https://example.com - HTTP URLs:
http://example.com - Domain-only:
example.com(automatically adds https://) - Subdomains:
www.example.com,blog.example.com
- Desktop: Hover effects and click functionality
- Mobile/Tablet: Touch-optimized with tap feedback
- Accessibility: Full keyboard navigation support (Enter/Space keys)
- Screen Readers: Proper ARIA labels and role attributes
- Business Cards: Direct links to websites or LinkedIn profiles
- Marketing Materials: Instant access to landing pages
- Event Tickets: Quick links to event information
- Restaurant Menus: Direct access to online menus
- Social Media: Links to profiles or specific posts
- Use clear, short URLs for better user experience
- Test clickable functionality on target devices
- Consider using URL shorteners for long links
- Ensure URLs are accessible and mobile-friendly
- Higher error correction levels recommended for better reliability
- Opens links in new tab/window for security
- Uses
noopener,noreferrerattributes to prevent security issues - URL validation before opening
- Visual confirmation when links are opened