A single-page QR code generator with extensive styling controls, logo support, and shareable configuration links.
- Encode arbitrary text or URLs.
- Control error correction level, output size, margins, module and corner styles.
- Fine-tune colors with a custom lightweight color picker.
- Place a center logo with adjustable size and padding.
- Copy sharable configuration links or reset to defaults in one click.
- Automatic locale detection (RU/EN) with manual language switcher.
git clone https://github.com/<your-account>/<your-repo>.git
cd <your-repo>
open index.html # macOS
# or
start index.html # WindowsNo build step is required—the project runs as a static page and can be deployed directly to GitHub Pages or any static hosting.
- Open
index.htmlin a browser. - Enter the text or URL you want to encode.
- Adjust dimensions, colors, module shapes, and corner decorations as needed. The preview updates instantly.
- Load a logo (PNG/JPG/SVG) if desired and tune its size/padding.
- Press the chain-link icon in the header to copy a shareable link with the current settings (GET parameters).
- Use the circular arrow icon to revert to the default configuration. Both icons become active only when your settings differ from the defaults.
- Logo size: Large logos can obstruct finder patterns. Test QR readability (especially near the 95% size limit with low padding) using multiple scanners.
- URL parameters: All controls—except language—are synchronized to the address bar. A clean URL equals the default state.
- Logo files: Transparent PNG/SVG assets work best. Heavy SVGs may need optimization for performance.
qr-code-styling(bundled asvendor/qr-code-styling.js) for rendering.- Custom vanilla JS state management with
history.replaceStatefor URL sync. - Inline lightweight color picker synced with native
<input type="color">. - Local storage preserves language preference between sessions.
- Distributed under the MIT License. See
LICENSEfor full text.