--- title: "Create personalized barcodes and QR codes" slug: "personalized-barcodes-qr-codes" updated: 2026-07-31T06:51:16Z published: 2026-07-31T06:51:16Z canonical: "help.elaine.io/personalized-barcodes-qr-codes" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.elaine.io/llms.txt > Use this file to discover all available pages before exploring further. # Create personalized barcodes and QR codes Elaine can turn recipient, coupon, ticket, or transaction values into personalized one-dimensional barcodes or QR codes embedded in a message. The recipient can present or scan the result without copying a long identifier manually. ## Typical scenarios - Personalized coupons for redemption in a store. - Tickets, booking references, loyalty identifiers, or pickup codes. - Handoff from an email to a mobile device or application. - Verification of an identifier at a service desk, event, or point of sale. ## Solution pattern 1. Create or import a unique value for each recipient or transaction. 2. Select a barcode format compatible with the scanner and permitted character set. 3. Use the configured Elaine rendering capability or business rule to generate an image URL. 4. Insert the generated image into a reusable message component. 5. Provide accessible explanatory text and, where appropriate, a human-readable fallback. 6. Test the delivered message with the actual devices, scanners, print conditions, and point-of-sale process. ## Select a code format | Format | Typical fit | | --- | --- | | QR code | Mobile handoff, URLs, or larger alphanumeric payloads | | Code 128 or Code 39 | General one-dimensional scanning where the target system supports the selected character set | | EAN-13 | Strictly formatted numeric identifiers compatible with the intended retail process | | GS1 DataBar Expanded | Retail scenarios requiring the corresponding scanner and data format support | ## Security and lifecycle - Do not encode unnecessary personal data in a code. - Use opaque, scoped, or expiring identifiers for sensitive redemption processes. - Prevent unintended repeated redemption in the receiving application. - Define how long the rendered image and underlying offer remain valid. - Avoid relying on image availability alone; provide an appropriate fallback where the business process permits it. > **Testing note:** Barcode readability depends on format, dimensions, contrast, surrounding whitespace, email rendering, screen brightness, printing, and the target scanner. Validate the complete physical or mobile redemption path. ## Related topics - [Personalize message content](/new-public-docs/docs/en/personalize-message-content) - [Articles, widgets, and reusable content](/new-public-docs/docs/en/articles-widgets-reusable-content) - [Preview and test messages](/new-public-docs/docs/en/preview-test-messages) - [Transactional communication at scale](/new-public-docs/docs/en/transactional-communication-at-scale)