# QR codes: content, styling, logos and scan testing

> Create link, text, Wi-Fi, contact, email or phone QR codes and understand size, error correction, logos and export options.

Canonical: https://mockupgenerator.app/learn/qr-code-generator
Last updated: 2026-11-10

Design · 10 min read

## Before you start

**What goes in:** The final payload, optional logo artwork and the intended physical placement size.

**What comes out:** A static QR code as SVG, PDF or PNG, with the payload encoded directly in the symbol.

**Example, HARBOR: a recipe link that remains scannable:** Create a QR for a seafood recipe card with a clear caption and a small optional logo. Compare a short URL with a long tracking-heavy one to see why payload length and final print size matter.

Start here: [Open the QR code generator](https://mockupgenerator.app/tools/qr-code-generator)

![HARBOR: a recipe link that remains scannable](https://mockupgenerator.app/learn/media/dieline-guide-qr-code-generator.webp)

*A separate worked example for this guide, with creative practice artwork and illustrative comparisons.*

Walkthrough video: https://www.youtube.com/watch?v=pKR5WEeM9dw — English narrated worked example. Diagrams explain the expected result; reproduce the exercise and inspect your own application output.

- [HARBOR SVG practice artwork](https://mockupgenerator.app/learn/examples/qr-code-generator/artwork.svg) - Creative practice input for this guide.
- [Worked-example worksheet (JSON)](https://mockupgenerator.app/learn/examples/qr-code-generator/exercise.json) - Exercise settings and verification checklist for this guide.
- [Before-and-after concept illustration (SVG)](https://mockupgenerator.app/learn/examples/qr-code-generator/comparison.svg) - Illustrated concept comparison, not an application export.
- [Download this example’s transcript](https://mockupgenerator.app/learn/media/dieline-guide-qr-code-generator-transcript.txt) - Chaptered English narration for this specific worked example.

## HARBOR: a recipe link that remains scannable

Create a QR for a seafood recipe card with a clear caption and a small optional logo. Compare a short URL with a long tracking-heavy one to see why payload length and final print size matter.

**Prepare these inputs**

- For the safe practice scan, use https://example.com/recipe as a demonstration destination.
- Replace it with a real maintained recipe URL before publishing the package.
- The HARBOR emblem may be used as an optional logo experiment.

**Settings to try and what changes**

| Control | Value | Effect |
| --- | --- | --- |
| Link / Payload | Compare a short destination with a longer equivalent | More data can require more modules. Inspect the displayed version/modules rather than assuming equal pixel dimensions mean equal readability. |
| Error correction | Compare M without a logo; H is used with a logo | Additional redundancy can increase density. A high correction level does not guarantee success after aggressive styling. |
| Logo / Module style | Start with a small centre logo and conservative modules | A logo obscures part of the pattern. Keep the essential structures and quiet space clear, and test the final exported symbol. |
| PDF width / PNG width | Separate physical width from pixel width | A large PNG pixel count says nothing by itself about the size at which a layout will print it. |

**Follow this specific job**

1. **Encode and inspect** — Choose Link, enter the demonstration address and verify the decoded destination. Note the version and module count.
2. **Compare payload density** — Add a longer sample query string in a separate trial and observe any density change. Restore the intended short destination before producing the final asset.
3. **Add a useful caption** — Use a clear frame caption such as Open the recipe. If testing a logo, inspect the forced correction choice and keep the design conservative.
4. **Print and scan** — Export at the intended physical size, place away from folds and scan on more than one target phone. Check the actual destination and repeat after any logo or size change.

**Before: identify the problem**

- A dense, decorated QR is judged only at large screen zoom.
- A demonstration URL is left on final packaging.

**After: the result to aim for**

- The exact payload and final physical size are verified.
- The printed code opens the intended maintained destination.

**Inspect your result**

- Replace example.com before real publication.
- Test the actual printed size and surface.
- Retest whenever payload, logo, styling or size changes.

**Files for this example**

- [HARBOR SVG practice artwork](https://mockupgenerator.app/learn/examples/qr-code-generator/artwork.svg) - Original square vector input, 100 × 100 mm. Fictional branding; does not contain an approved dieline.
- [Worked-example worksheet (JSON)](https://mockupgenerator.app/learn/examples/qr-code-generator/exercise.json) - Readable brief, settings, steps and expected checks. This is a worksheet, not an importable .foldline project.
- [Before-and-after concept illustration (SVG)](https://mockupgenerator.app/learn/examples/qr-code-generator/comparison.svg) - Explanatory illustration of the problem and intended result; not an application screenshot or a production export.

These are fictional training jobs. Artwork and concept diagrams are learning inputs; expected results below are instructions to reproduce and inspect in the app, not claims of a verified manufacturing output.

## Step-by-step walkthrough

1. **Choose the payload type** — Select Link, Text, Wi-Fi, Contact, Email or Phone. Fill the fields for that type. Use the full intended web address or international phone number and inspect every character.
2. **Check the destination first** — Open the link or verify the contact information before creating a print asset. A static QR stores what you enter; changing a destination later requires control of the linked page or a new code.
3. **Style without losing legibility** — Choose module style and size, Modules and Background colours, then an optional frame and caption. Keep strong contrast and a clear border. Decorative styling should not obscure the finder patterns.
4. **Add a logo carefully** — Upload a supported logo and choose Centre badge or Blend into code. Adjust the available size or blend/detail controls. Logo mode uses the high error-correction setting, but that does not guarantee scanning after printing.
5. **Choose physical and raster sizes** — Read Version, Modules, Error correction, Data and Smallest size. Set PDF width for print or PNG width for pixels. The PDF export will not go below the tool’s calculated minimum size.
6. **Download and test the final use** — Export SVG, PDF or PNG. Place the code at the intended size, print a proof and scan it on multiple devices under realistic light and distance. Confirm both successful recognition and the correct destination.

## Options at a glance

| Control or choice | What it means | Advice |
| --- | --- | --- |
| Link / Text | A web destination or plain text encoded in the symbol. | Short, stable URLs generally keep the code less dense. Use a destination you can maintain. |
| Wi-Fi | Network name, security and password, with a Hidden network option. | Anyone able to scan the code can recover the credentials; use the intended guest network. |
| Contact / Email / Phone | A contact card or an action with the supplied address, message or number. | Inspect the resulting action on the target phones before printing. |
| Modules / Dot size / Colours | The data pattern’s appearance and contrast. | Keep finder, timing and alignment structures readable and test the chosen styling. |
| Frame / Caption | A surrounding visual treatment and call to action. | Keep the required clear space intact and say what scanning will do. |
| Logo style / size / blend | Places a centre badge or integrates a logo into the code. | Start small and test. A visually attractive preview is not enough evidence of scan reliability. |
| Error correction L / M / Q / H | Different redundancy levels in the encoded symbol. | More redundancy can make the symbol denser. With a logo the tool uses H; still test the final output. |
| PDF width / PNG width | Physical size for PDF and pixel size for PNG. | A large pixel count alone does not specify the size at which the code will print. |

## Detailed control reference

### Link and Text payloads

- Where: QR generator → content type
- Effect: Link encodes an HTTP/HTTPS address, adding https:// when appropriate; Text encodes the actual text. The code is static: the payload is directly inside its modules.
- Use it for: Use a short stable URL under your control for recipes, instructions or refill pages. Use Text for a small message that should appear without opening a website.
- Impact: The visible caption does not change the encoded destination. A static code cannot be retargeted from this tool after printing; you can maintain the linked page if you control it. Longer payloads generally need more modules.
- Example: Changing “Brew guide” to “Refill guide” in the frame caption leaves the URL untouched. Edit the Link field and regenerate if the destination itself must change.

### Wi-Fi: SSID, security, password and Hidden network

- Where: QR generator → Wi-Fi
- Effect: Builds a Wi-Fi payload using the exact network name and security choice: WPA/WPA2, WEP or None. Hidden network adds the hidden-network flag.
- Use it for: Use for an intended guest network or a controlled setup card. Match the actual network settings.
- Impact: Anyone with the printed code can recover the encoded credentials. Choosing None omits a password; it does not make a secured network open. Test joining on the intended devices rather than only decoding the text.

### Contact, Email and Phone

- Where: QR generator → corresponding content types
- Effect: Contact creates a vCard 3.0 from the supplied person/organisation/contact/address fields. Email creates a mail action with recipient, subject and body. Phone creates a dial action.
- Use it for: Use a contact code for a business card or support contact, Email for a prefilled enquiry, Phone for a call action with the international country code.
- Impact: Phones and installed apps decide how the action is presented. A successful decode does not send an email or complete a call. Test the saved contact and the exact prefilled fields; contact detail also increases payload density.

### Module shape and Dot size

- Where: QR generator → Modules
- Effect: Square, Rounded, Circle and Diamond change decorative data-cell geometry. Dot size from 75–100% is shown for non-square styles. Finder, timing and alignment patterns stay full squares.
- Use it for: Use simple large modules when reliability and small print size matter. Use a modest decorative shape only when the final output has been tested.
- Impact: Smaller dots reduce printed dark area. A shape that looks attractive enlarged can be less forgiving at final size or under blur. Functional cells staying square does not guarantee a styled code will scan on all surfaces.

### Modules and Background colours

- Where: QR generator → Colours
- Effect: Chooses foreground/background colours or a preset. The implementation requires darker modules and at least its 3:1 contrast check.
- Use it for: Use strong dark-on-light contrast and a stable light background, especially on packaging that may be curved or textured.
- Impact: The software contrast threshold is an indicator, not a print-grade or scan guarantee. Test the final printed colours, stock and lighting. A colour that is acceptable on a backlit display may behave differently under a camera on a printed pack.

### Frame, Caption and Frame colour

- Where: QR generator → Frame
- Effect: Plain has no decorative frame; Label, Ticket, Badge, Envelope and Coffee add their named surrounding treatments outside the QR clear region. Caption is a single line of up to 48 supported characters.
- Use it for: Choose a frame that communicates the action without crowding the package. A useful caption explains what scanning gives the reader.
- Impact: The frame increases the total printed asset size even when the central QR data is unchanged. Caption support is limited to the Latin-letter/numeric/punctuation encoding accepted by the tool. A frame colour does not change the destination.

### Logo upload, Replace, Remove and Centre badge

- Where: QR generator → Logo; supported image under 12 MB
- Effect: Adds a prepared logo. Centre badge places it over the middle; Logo size is 10–25% of code width. Any logo forces H error correction.
- Use it for: Use a simple recognisable logo and begin with modest coverage. Replace/Remove lets you compare the exact same payload with and without the artwork.
- Impact: Error correction is redundancy, not permission to obscure any arbitrary area. Finder patterns and final size remain important. The H label does not guarantee the printed stylised code will scan.

### Blend into code: Preserve, Color, Silhouette and Auto

- Where: QR generator → Logo style → Blend into code
- Effect: Integrates image colouring while protecting data-cell centres. Preserve keeps image colour around QR centres; Color colours QR modules from the logo; Silhouette forms the image with lighter dots; Auto chooses from the image contrast.
- Use it for: Use for a large branded QR where integrated artwork is part of the design brief.
- Impact: Blend mode needs a larger print area: the implementation uses a 0.5 mm-per-module recommendation rather than the ordinary 0.25 mm recommendation. This is a tool sizing rule, not an external verification certificate. Dense, fine artwork can remain difficult to recognise or scan.

### Detail: Fast, Balanced and Detailed

- Where: QR generator → Blend into code
- Effect: Sets a minimum QR version for artistic detail. Fast starts at version 8, Balanced at 16 and Detailed at 28; the actual payload can require a higher version.
- Use it for: Use Fast for simpler artwork and a smaller available area; increase detail only if the printed area can support the extra modules.
- Impact: Higher detail makes more, smaller cells within a fixed width. The tool therefore raises the calculated minimum size; decorative frames can increase it further. The displayed minimum is the value to inspect, not a promise that every printer/scanner combination will work.

### Error correction: L, M, Q and H

- Where: QR generator → Error correction; M initially, H forced with logo
- Effect: Chooses redundancy with nominal restoration levels of about 7%, 15%, 25% and 30% of total codewords respectively. Higher redundancy can require more modules for the same payload.
- Use it for: Choose according to likely dirt/damage and available print area. Keep an adequate module size and test the complete printed placement.
- Impact: These percentages are codeword-level descriptions, not guaranteed percentages of the visible surface you may cover. Damage location, functional patterns, contrast and printing still matter. A larger denser H code printed too small can perform worse than a simpler clean design.

### Version, Modules, Data and Smallest size

- Where: QR generator → preview metadata
- Effect: Version identifies the symbol grid; Modules reports its cell dimensions; Data reports encoded bytes; Smallest size is the tool’s calculated physical-size recommendation for the chosen appearance.
- Use it for: Read these after every change to payload, logo, frame or artistic detail. Reserve that complete asset area in the packaging layout.
- Impact: Bytes and visible characters differ for some text. A code becoming denser after adding contact details is expected. The last good preview can remain visible while the current input is invalid, so check status before downloading.

### PDF width, PNG width and SVG

- Where: QR generator → Download
- Effect: PDF width is entered in millimetres (5–500) and exported no smaller than the computed minimum. PNG offers 512/1024/2048/4096 pixels. SVG keeps vector geometry.
- Use it for: Use a sized PDF or vector placement for print, then check the actual placed dimensions. Use a PNG at sufficient resolution for its intended display/printing workflow.
- Impact: A 2048-pixel asset does not specify its printed millimetres. Shrinking a correctly generated QR after download can defeat the minimum-size choice. Check the whole frame/quiet-zone boundary against the final panel and cut line.

## A static code stays useful when its destination stays useful

The generator does not turn the code into an editable hosted campaign. For a packaging run that will be used for months, link to a stable page under your control and maintain that page. Do not use an expiring preview URL as a permanent packaging destination.

QR density increases with the payload. Long text or detailed contact data can need a larger physical symbol than a short link. Read the calculated minimum and leave enough space in the layout.

## Practice: see how data and styling change the required space

Create a short-link QR with a plain frame and no logo. Note version, module count and calculated minimum size. Add a longer path or contact details and compare those values. Restore the short link, add a small centre badge, then compare with Blend into code at each Detail level.

Export each candidate at the size you actually intend to print and place it on the same panel. Test the same destination, paper, lighting and devices so the comparison is meaningful. Keep the simplest design that satisfies the appearance brief and scans reliably in the intended use.

- Count the clear border and frame in the available placement area.
- Confirm the destination after every test; successful recognition of the wrong URL is still a failed job.
- Keep an undecorated reference version to diagnose whether a problem came from content, size, styling or placement.

## Check your work

- The payload is correct and the destination works.
- The QR has clear space and strong contrast.
- The physical printed size is sufficient.
- Logo and decorative styling have been tested.
- The printed proof scans to the intended content.

## Troubleshooting

### The downloaded PDF is larger than the requested width

The requested width is below the tool’s calculated minimum for that code. Shorten the payload or allow a larger placement.

### A styled QR is unreliable

Return to simple square modules, a smaller or absent logo and dark-on-light colours, then retest the printed output.

### The code opens the wrong page

Correct the actual encoded URL and regenerate. A caption does not change the payload.

## Further reading

- [DENSO WAVE: QR error correction and codewords](https://www.qrcode.com/en/about/error_correction.html)

## Related

- [Barcode generator: values, size and print options](https://mockupgenerator.app/learn/barcodes-and-qr)
- [Upload artwork, place it on faces and manage layers](https://mockupgenerator.app/learn/artwork-and-layers)
- [Print checks, dielines, PDFs and the production handoff](https://mockupgenerator.app/learn/print-checks-and-exports)
- [All guides](https://mockupgenerator.app/learn)
