BlogComparisons · November 22, 2026 · 6 min read

Contact Form 7 QR Links: python-qrcode vs node-qrcode vs Endroid QR Code vs QRCoder vs ZXing

Choose a QR library for printed links to a form page, comparing runtime, output, validation, maintenance and the limits of campaign measurement.

A printed card can send somebody directly to the page containing your Contact Form 7 form. The QR image is only the entry link. It does not record a scan, submit an inquiry or explain whether a later lead came from the printed campaign. Choose a generator for reliable asset production, then define measurement separately.

Five cards with decorative square mosaics point toward a phone with a simple form.
Generated conceptual illustration; decorative mosaics are not usable QR codes.

python-qrcode, node-qrcode, Endroid QR Code, QRCoder and ZXing are five libraries for teams generating their own assets. This comparison uses official documentation and license files checked November 22, 2026. It reports no scan-rate benchmark, hands-on product ranking or native CF7 integration.

Define the destination before choosing a library

Choose the HTTPS landing page and campaign convention first. A link to a page is different from a link to a form’s administrative or submission endpoint. Test the public page on a phone and make sure the intended form is visible and usable. Include a readable alternative URL on the printed material for people who cannot or prefer not to scan.

Use a campaign-specific destination only when your reporting plan needs it. The UTM capture guide explains why query parameters need deliberate handling after arrival. Keep personal information and secrets out of a printed URL. Reusing or sharing the image means anyone holding it can read the encoded destination.

Five-library decision table

Library Runtime fit Useful capability Core license
python-qrcode Python asset jobs PNG and SVG image workflows BSD-style terms
node-qrcode Node and browser JavaScript CLI and configurable output MIT
Endroid QR Code PHP services Multiple writers and optional validation MIT
QRCoder C# and .NET applications Several renderers, including PNG bytes MIT
ZXing Java barcode pipelines Encoding and decoding library ecosystem Apache 2.0

The checked library cores do not require a hosted per-scan subscription. Implementation, hosting, printing and any separate redirect or analytics service still have costs. Review exact package versions, output dependencies and license notices for the chosen distribution. A free encoder does not supply a managed campaign dashboard.

python-qrcode

python-qrcode is a Python generator with image-factory options, including PNG and SVG workflows. Its documentation describes fitting the symbol, configuring error correction and setting the border. It is useful for a scheduled asset job that already manages campaign metadata in Python.

The strength is a focused generation step: take a reviewed URL, generate the asset and save it beside a manifest containing the campaign and intended print size. The tradeoff is that the library does not manage the lifetime of the destination. A successfully written image can still point to a retired page.

The license file contains BSD-style redistribution terms and a separate notice for incorporated code. Preserve applicable notices rather than describing the package as public domain. Choose it when Python fits the existing asset workflow and you can validate the delivered print export.

node-qrcode

node-qrcode supports JavaScript server and client use, a command-line interface and configurable QR output. Its documentation covers error correction, encoding modes, margins and image options. A Node application can generate a campaign asset without adding a separate language-specific service. The core license is MIT.

The strength is fitting both scripted generation and an application interface. The limitation is that rendering options are easy to change in ways that make the printed artifact harder to use. Treat color, margin and output size as reviewed configuration, not unrestricted decoration controls.

Choose node-qrcode when the team owns a JavaScript publishing workflow and can keep a manifest of the exact encoded URL. Browser generation can be convenient, but the destination still needs an approval rule. A preview in a browser is not evidence that a printer preserves module edges or sufficient contrast.

Endroid QR Code

Endroid QR Code is a PHP library with multiple writers, including PNG, WebP and SVG. It uses other packages for matrix generation and optional decoding validation. The documentation explains how to enable validation, which is disabled by default. The core license is MIT; dependencies have their own notices.

The strength is a PHP-oriented interface with an explicit optional check that the generated symbol contains the requested data. That check is useful evidence about the generated asset, but it does not reproduce a blurred print, glare or a distant phone camera. Physical review remains separate.

Choose it for a PHP asset service, with controlled destination inputs and output permissions. WordPress uses PHP, but installing a library alone does not create an authorized CF7 management screen, campaign record or analytics integration. Build those boundaries only when the workflow actually requires them.

QRCoder

QRCoder is a C# library with several rendering options. The current repository documents PNG-byte and SVG workflows as well as bitmap-based renderers. It also identifies platform restrictions affecting renderers that depend on System.Drawing.Common. Choose the renderer for the actual deployment platform, not just the format of a sample image.

Its strength is fitting an existing .NET service without delegating simple image creation to a hosted QR platform. The limitation is that renderer selection affects runtime compatibility. A Windows desktop example should not be copied unchanged into a Linux worker without checking those requirements.

The core license is MIT. The project is now maintained in the Shane32 repository, so use the current project documentation when evaluating versions. Choose QRCoder when your team already owns C# services and can test the exact renderer used in deployment.

ZXing

ZXing is a Java barcode library ecosystem covering decoding and encoding. The Java SE MatrixToImageWriter source provides a concrete image-output utility. It can fit a Java pipeline that already handles barcode assets or needs to inspect generated data.

The project explicitly describes itself as being in maintenance mode, with contributed fixes and minor enhancements rather than an active roadmap. Its old Android Barcode Scanner application has separate availability and compatibility limitations. Do not treat that historical app as the required scanning path for your printed form link.

The core license is Apache 2.0. Choose ZXing when Java and the broader barcode model are useful enough to justify its integration. For a new project needing only a small URL-to-image function, weigh the maintenance model against a generator native to your existing runtime.

Validate the final printed artifact

Retain the exact URL, library version, rendering options and source asset in a campaign manifest. Decode the final exported image and compare the entire URL, including query parameters, with the approved destination. Then review a print at its intended size with representative devices and lighting. No universal minimum size or successful scan percentage is asserted here.

Keep the quiet border clear and avoid stretching modules into rectangles. Check that layout software has not cropped the code, reduced contrast or resampled the asset badly. Recheck the public page after redirects and verify form labels, keyboard access and errors using the testing checklist. A valid QR payload does not establish that the landing page works.

Choose the runtime, then measure the right outcome

Use python-qrcode for Python jobs, node-qrcode for JavaScript, Endroid QR Code for PHP, QRCoder for .NET, or ZXing for an established Java barcode pipeline. A static QR symbol encodes data; changing its destination requires replacing the asset or using a separately managed redirect whose continued operation you must own.

Keep page arrivals, observed form outcomes and qualified inquiries as separate counts. Repeated scans, copied links and consent choices complicate attribution. For WordPress-side form statistics, review Svetlik Analytics for Contact Form 7. Do not interpret an encoder or statistics plugin as proof of unique scans, abandonment measurement or final inbox delivery.