No—exact duplicate lines are not generated twice. In a successful batch, the Bulk QR Code Generator trims surrounding whitespace, removes blank lines, and collapses exact repeated values to their first occurrence, leaving one preview and one PNG for each retained unique value.
Only exact matches are deduplicated. A URL with a changed path, query, capitalization, or internal spacing is a different value, so it can produce another PNG even when it leads to a similar page. The tool accepts up to 20 unique values, with a 2,000 JavaScript-character limit for each line.

What happens to duplicate lines
Duplicate removal happens before QR encoding. The input parser trims whitespace at the beginning and end of each line, removes empty lines, and compares the remaining values for exact matches. When it finds a repeated value, it keeps the first occurrence and drops the later one rather than generating another symbol.
The important distinction is between raw pasted rows and retained unique values. Repeated rows can make the input box look longer than the final batch, but they do not create extra previews, PNG files, or download links. The retained values remain in first-seen order.
| Input scenario | Parser treatment | Batch result |
|---|---|---|
| The same line appears more than once | Exact later matches are removed | One preview and PNG from the first occurrence |
| The same value has surrounding spaces | Outer whitespace is trimmed before comparison | One result when the remaining values match exactly |
| A line contains only whitespace | The empty line is removed | No QR code is created for it |
| A value differs by any character other than outer whitespace | It remains a separate unique value | A separate preview and PNG can be created |
This behavior is deliberate: the batch represents unique payloads, not every physical line that happened to be pasted into the text area. You can use the Bulk QR Code Generator to create that deduplicated set entirely in your browser.
Which lines count as duplicates
An exact match is determined after surrounding whitespace has been removed. The tool does not decide that two URLs are equivalent merely because they appear to serve the same destination. For example, a version with a trailing slash and a version without one remain different exact values. Changing capitalization, a path segment, a query parameter, or spacing within the line also prevents deduplication.
- Repeated URL: Two identical URL lines produce one QR code, not two.
- Extra outer spaces: Surrounding spaces do not prevent an otherwise exact match from collapsing.
- Changed URL: A modified path, query string, or capitalization creates a separate unique payload.
- Internal spaces: Only surrounding whitespace is trimmed, so spaces within a text value remain part of that value.
Each line also represents one separate payload. If you paste a block of multi-line text, the parser treats each nonblank line as its own input rather than encoding the entire block as one symbol. This makes the input format best suited to a clean list of URLs or short text values.
Generate one PNG for each unique line
Follow this workflow to create and validate a small batch without downloading duplicate symbols:
- Prepare the list. Paste one text value or URL per line. Remove anything you do not want encoded, and keep the list within 20 unique values after trimming, blank-line removal, and exact deduplication.
- Choose the output settings. Select a PNG canvas size of 128, 256, or 512 pixels and an error-correction level of L, M, Q, or H. A larger canvas can improve appearance when the image is displayed or printed larger, but it does not increase the amount of data the QR symbol can carry.
- Generate the batch. Select Generate QR codes and review the resulting previews. Each retained value should have its own preview, deterministic filename, and individual download link.
- Test each preview. Scan every preview with the device and application that will read the final code. Compare the decoded result with the intended value character for character before downloading.
- Download the verified PNGs individually. Use each preview’s download link, then scan the actual downloaded PNG before publishing, printing, or distributing it. Preserve the quiet zone and avoid stretching, cropping, recoloring, or covering the finder patterns.
The generator does not trigger 20 automatic downloads. Browser policies may require a separate click for each file or display a download-permission prompt, which keeps the selected outputs explicit and avoids surprising multi-download behavior.
Why the output count may differ from your paste
The batch limit applies to unique values, not simply the number of visible lines. A paste containing more than 20 physical lines can still fit the limit if cleanup leaves no more than 20 unique values. A limit failure requires more than 20 input lines containing more than 20 unique values after processing.
Every retained line is also subject to the 2,000 JavaScript-character limit. Passing that line-length limit does not guarantee that a payload will fit the selected QR symbol, because encoding requirements and error-correction settings also affect capacity. If one payload exceeds QR capacity, the batch shows an error instead of presenting a partial set as complete.
Changing an input or option invalidates the previous batch, so generate a new set after making changes. The implementation also prevents an older asynchronous generation result from replacing newer settings. Revalidate the current previews and final PNGs after every regeneration.
Choose the canvas size and error correction
Size and error correction solve different problems. The available PNG canvas sizes are 128, 256, and 512 pixels. Error correction determines how much damage a QR symbol may tolerate, but increasing it also reduces the available data capacity and can produce a denser pattern.
DENSO WAVE’s error-correction guidance lists the following approximate codeword restoration rates:
| Level | Approximate restoration rate | Practical trade-off |
|---|---|---|
| L | 7% | Most available data capacity and least restoration capability |
| M | 15% | Balanced option for ordinary, clean display conditions |
| Q | 25% | More restoration capability with less data capacity |
| H | 30% | Highest restoration capability with the least data capacity |
Level M is the practical default for ordinary clean display conditions. A higher level is not automatically better because the resulting symbol may be denser. For printing or physical handling, test the selected size and error level under the intended conditions rather than assuming the highest setting will scan most reliably.
Download and verify each output
Every preview has a deterministic filename beginning with its two-digit batch position, followed by a short ASCII stem derived from the content. If a value contains no ASCII letters or numbers, the fallback stem is qr-code. These filenames are convenience labels only and never change the encoded payload.
There is deliberately no Download ZIP button because the project does not add an archive dependency for this tool. Download each required PNG from its preview instead. This means you can verify one image before deciding whether it should be included in a print run, label set, event package, or other distribution material.
A preview scan is not a substitute for checking the final file. Download the PNG, preserve its clear margin around the symbol, and scan the file with the target device and application. Check the decoded payload character for character. Long text, emojis, small print sizes, weak contrast, glare, camera focus, physical damage, and reader-specific behavior can all affect the result.
Do not use an unchecked QR code for payments, authentication secrets, safety instructions, or irreversible actions. The same standard applies even when the original input line appeared only once and no duplicate was generated.
Browser, encoding, and scanner limits
QR encoding and PNG rendering happen entirely in the current browser tab. The payloads and generated PNG data URLs remain in that tab; nothing is uploaded, shortened, tracked, or recorded. This keeps the workflow local, but it also means the page does not create a server-side archive or background download job.
The batch uses the existing qrcode 1.5.4 package already used by the site’s single QR Code Generator rather than maintaining a second QR implementation. Its browser API is documented in the node-qrcode README. Duplicate values are therefore resolved by the input parser before they reach the encoder.
The encoder supports optimized encoding segments, but full ECI support is not implemented. Long UTF-8 text and emojis can therefore create scanner or interpretation problems even when the input stays within the line and batch limits. A generated image also does not prove that every reader will interpret a URL, contact string, or other payload identically. Target-device testing remains the reliable final check.
If you're weighing options, How to Document Bulk URL Generator Steps covers this in detail.
If you're weighing options, Are My URLs Uploaded or Tracked in Bulk QR Code Generator? covers this in detail.