DEV Community

Cover image for TIL: Building a Simple QR Generator
Mai Chi Bao
Mai Chi Bao

Posted on

TIL: Building a Simple QR Generator

I built a lightweight, open-source tool to create customized QR codes.

No subscriptions, no paywalls โ€” just a straightforward QR generator that works right in your browser ๐Ÿš€.

๐Ÿ‘‰ Try it here: Simple QR Generator


๐Ÿ“‘ Table of Contents


๐Ÿ’ญ Why I Built This

Most QR code tools online feel bloated or restrictive:

  • Many require accounts or subscriptions just to download a QR code.
  • Some lock basic features like color, logo, or export behind a paywall.
  • Others are overloaded with ads, making them slow and frustrating.

I just wanted something clean, simple, and free โ€” a tool where you can generate and customize QR codes without hassle.

Thatโ€™s why I created Simple QR Generator โ€” a project that anyone can use instantly in their browser.


โœจ Features

  • Generate QR codes from any text or URL.
  • Customize:
    • Colors
    • Shapes
    • Styles
  • Add a logo (upload your own or use an image URL).
  • Adjust:
    • Size
    • Margin
    • Error correction level
  • Export to PNG or SVG.
  • Copy QR codes directly to clipboard.

โšก How It Works

  1. Enter your text or URL in the input box.
  2. Adjust customization options (color, style, size, error correction).
  3. (Optional) Upload or link a logo to embed inside the QR code.
  4. Click Generate, then either:
    • Export as PNG or SVG, or
    • Copy directly to clipboard for quick use.

All of this happens entirely in your browser โ€” no server-side processing, no data collection.


๐Ÿ–ฅ๏ธ Demo Screenshot

Hereโ€™s a quick look at the tool in action ๐Ÿ‘‡

You can try it live here ๐Ÿ‘‰ Simple QR Generator


๐Ÿ’ก Why I Like It

  • Lightweight: works instantly in any browser.
  • No limits: all features are free and open-source.
  • Customizable: from logos to colors, you can make QR codes match your style.
  • Practical: whether itโ€™s sharing a link, business info, or Wi-Fi credentials, it just works.

It started as a small side project for myself, but it turned into a neat tool worth sharing.


๐Ÿ”— Reference

All the code is open-source on my GitHub:

๐Ÿ‘‰ mrzaizai2k/simple_qr_generator

Feel free to clone it, star it โญ, or suggest improvements.

Top comments (1)

Collapse
 
mrzaizai2k profile image
Mai Chi Bao

๐Ÿ‘ Finally, a QR generator that doesnโ€™t ask me to sign up or pay. Love it!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.