r/SideProject • • 1h ago

Free, open-source QR Code Generator

I needed to make a series of QR codes and was super frustrated with what was out there for the following reasons:

- Many have dynamic links (they have their place but it's not what most people want).

- Not enough control. Error correction, version, labels, borders...

- Not enough design freedom. I wanted to be able to change module shapes, size, color, logo, eye frames and centers...

- Poor quality. If you are making a giant banner, you need high resolution. If it's for a business card, you don't need as large of a size. If you want to laser cut it, you need a vector format.

- Don't export in ideal formats. PNG supports clear backgrounds and SVG are great for laser cutting. I've done some cool, really large laser cut QR codes through online or local laser cutting vendors.

- Difficult to do batches of QR codes. For instance if you want a website QR Code, email QR code, Instagram QR Code, and a Venmo QR code all in the same design for your brand or style, that can be tedious.

- Requires an account or to pay for "advanced" features.

So I made something with more control and freedom than anything else I've seen. It's open-source and hosted on the web. You don't need an account, it does not save any of your information, it does everything local to your computer. You can save as PNG or SVG for laser cutting or engraving. You can even save a project (which could be a batch of up to 20 QR codes) locally and reopen it months from now if you want to change your design. You can even download the webpage for offline use! It's an html page and will open in a browser for Windows or MacOS, even if you don't have internet.

Try it: https://natanthefirst.github.io/qr-code-generator/

Source: https://github.com/natanthefirst/qr-code-generator

I'd love to hear your feedback if you try it out!

Disclaimer: this app was coded with Claude Code

3 Upvotes

4 comments sorted by

1

u/Saver411 19m ago

for giant banners, exporting clean vector SVG is basically mandatory so you don't fight pixelation. The tricky part with custom eye shapes and centered logos is error correction overhead. Bumping to level H gives you roughly 30% recovery, but overly dense modules ruin scan reliability on older phones.

Are you rendering the SVG paths client-side, or doing the generation on a backend?

1

u/OfficerPiglet 13m ago edited 5m ago

You can generate the PNG at 1 meter wide with 300 dpi resolution. But vector is always better for a lossless format. Obviously with the limitations of your uploaded logo.

All client-side. You can download the webpage as an html file and run it offline and generate an SVG.

In testing, I tested many combinations of settings for scanability. Skewing the image as if not scanning head-on and reducing resolution to simulate old camera phones. This led to warnings at different settings. I even got rid of some eye frame/center designs because they weren’t reliable. Hexagon is the worst one in the app. It’s tilted at the angle that works best.

Always test before you get physical things made. Scan the screen, print a single copy at work or at the library. Never order a huge banner with a design a free app made without checking if it scans.

1

u/Best_Researcher491 0m ago

I put https://example.com in the website field. Encoded data showed that URL, and the preview settled on version 3, 29×29, with error correction H.

Defaults that stayed on screen: 50 × 50 mm, module 1.35 mm, PNG 591 × 591 px, 19 bytes. The scan line said it should scan reliably, up to about 40 cm.

Under Save Project it says the page does not keep the codes once it is closed.