r/SideProject • u/OfficerPiglet • 9h 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
1
u/Saver411 8h 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/OMGCluck 5h ago
I tried to replicate this bloodsplatter style QR with your generator but the original filesize is 15 times smaller and looks 15 times more awesome than your version.
Perhaps you could add the code from that generator (public domain licensed) to yours for this specific style?
1
u/BizzzyApp 4h ago
When you switch from the SVG for laser cutting to the PNG for a business card, do you have to redo settings like error correction or resolution each time, or does one setup carry over cleanly to both formats?
1
u/leedsdaddy 1h ago
I sometimes use QR codes in documents which link to reference papers, videos etc. Your application looks very useful and user friendly. Will the QR codes still work after several years? It's really annoying when a scan of a code in one of my documents just eventually leads to a 404 not found page.
1
u/Best_Researcher491 8h 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.
1
u/Automatic_Package667 1h ago
Tried it and it works really well. Nice job keeping it all local with no account. Batches with a consistent design are exactly where I would use this.
One suggestion, if it's not already there: URL parameters to pre-fill the generator, something like
.../qr-code-generator/?data=https://example.com&eye=square&color=000000Another idea would be a small JS module or CLI from the same codebase for people who want to generate QR codes programmatically.