OhMyApps
Back to Blog
Tools Productivity Tutorial QR code Print

QR Code Generator Guide: Make Codes People Can Scan

3 min read By OhMyApps

A QR code is only useful if people can scan it in the real situation where it appears. The QR Code Generator creates a PNG QR code from a URL or text, with size and color controls for quick digital or print use.

For beginners, the main job is not just generating a square pattern. It is making sure the code points to the right destination, has enough contrast, is large enough, and still scans after it is placed on a flyer, label, slide, or website.

Good QR Code Inputs

Short, stable URLs work best. If you are linking to a campaign page, product page, menu, signup form, or app download, open the URL first and make sure it loads without private login state. Avoid temporary preview links, local development URLs, and pages that redirect through too many tracking services.

Plain text can also work, but long text makes the QR code denser. Dense QR codes need more space and better print quality. If the content is more than a short note, use a web page instead and put the URL in the QR code.

Beginner Workflow

  1. Open the QR Code Generator.
  2. Paste the final URL or short text.
  3. Choose a size that matches the final use.
  4. Keep a dark foreground and light background unless you have tested alternatives.
  5. Generate the QR code and download the PNG.
  6. Scan it with at least one phone before publishing.

Testing matters. A QR code that scans on your large desktop screen may fail when printed small, placed on a glossy surface, or shown under poor lighting.

Size and Color Rules

For digital use, 256px is usually enough for a webpage, document, or slide. For print, choose a larger export and scale down in the design tool rather than stretching a small image up.

High contrast is more important than brand color matching. Black or near-black on white or off-white is the safest choice. If you use custom colors, avoid low-contrast pairs and do not invert the code unless you have tested it carefully.

Also leave quiet space around the code. Do not crop the white margin too tightly, and do not place text or logos too close to the edge.

Common Mistakes

The most common mistake is linking to the wrong version of a page: a staging URL, a logged-in admin URL, or a short link that later changes. Another mistake is generating the code before the destination page is ready. If the QR code will be printed, the destination needs to be stable.

For Wi-Fi credentials, payments, or sensitive workflows, be careful about where the QR code is displayed. A code that is convenient for users may also expose information to anyone nearby.

Privacy Note

The QR image is generated in the browser. However, whatever you put into a QR code is visible to anyone who scans or photographs it. Do not encode private tokens, passwords, or confidential internal links for public materials.


Try the free QR Code Generator to create a scannable code for URLs, text, flyers, labels, and slides.

OhMyStar icon

macOS

Try OhMyStar

The best way to organize your GitHub Stars

Learn More