Free tax stamp test barcode generator

Build synthetic excise tax stamp and tobacco track-and-trace payloads, render them in the symbology a real production line would use, and download test material together with the exact fields a conformant scanner should report back.

No license needed to use this page. The generator is plain JavaScript in your browser — no account, no key. The 30-Day Free Trial licenses the scanner SDK that decodes these symbols, not the generator, so request it only if you need the scanner. Open the tax stamp & tobacco barcode scanner

TEST ONLY — NOT A VALID TAX STAMP. Every identifier here is fictional. This page issues no government tax identifier, mint nothing under a real ID issuer code, and reproduces no official stamp artwork or security feature. A tax stamp is authenticated against the issuing authority, not by reading its barcode — see decoding versus authentication below.

Encoding profile and symbology

Payload fields

Rendering options

Human-readable text

Preview

Generating…

Test label adds the TEST ONLY banner and a field summary, which is what a camera sees on a pack. Symbol only keeps the bare symbol and its quiet zone for a decoder test. Both carry the test designation below the symbol, outside the quiet zone, so it never interferes with reading.

Encoded payload

Raw payload (what the decoder returns)

A | in the raw payload marks a position where an FNC1 byte (0x1D) has to appear — only where a variable-length GS1 element needs terminating. The TXT and JSON exports carry the test-data designation in their content.

What a scanner should report

Field Value Check

This is the test oracle, produced by the same parser the companion scanner runs. Scan the downloaded PNG and compare: a mismatch tells you which side is wrong — the symbol or the parser.

Profiles and standards

Profile What it is Permitted symbologies

Scope: decoding is not authentication

An excise tax stamp is a physical mark applied to a consumer good or its packaging to show that the required excise duty has been paid and that the item is legitimately on the intended market. ISO 22382:2018 gives guidelines for its content, security features, issuance and examination — including serialization and unique identifier codes. It does not define a universal barcode payload, and it explicitly scopes "authentication" to the stamp rather than to the product underneath it.

Tobacco traceability identifiers are a different thing. Regulation (EU) 2018/574 requires a unique identifier on every unit packet so its movements can be recorded through the supply chain. That identifier is a traceability key, not a proof of duty payment, and the tamper-proof security feature that is meant to be authenticated is a separate physical element defined by Implementing Decision (EU) 2018/576.

This page keeps three layers apart, and the scanner shows them as three separate statuses. Decoding reads the symbol. Parsing and validation check the payload against a declared format. Authentication asks an authority whether the identifier is genuine — and nothing in a browser can answer that from barcode content alone. The authentication status here is always Not Verified, and no result on either page ever says "Tax Paid" or "Authentic".

Two limits worth knowing. Country-specific schemes — Kenya EGMS, the UAE and Saudi digital tax stamp schemes and others — are largely proprietary, so this page does not guess their field structures; a payload it cannot place is reported as an Unknown Profile with the raw text preserved. And the EU profiles here reproduce the generic regulatory structure only: the Regulation fixes the element order, the character set, the length caps and the timestamp, while each ID issuer publishes its own field widths and separators.

Frequently asked questions

Does ISO 22382 define a tax stamp barcode payload?

No. It is a guidelines document for physical stamps: functions, stakeholders, procurement, design, overt and covert security features, application, supply chain security, serialization and UID codes, examination and performance monitoring. Each issuing authority defines its own payload. The Generic Synthetic Tax Stamp profile here is a documented test format invented for this demo.

Which barcodes does EU tobacco traceability allow?

Article 21(1) permits Data Matrix ECC200 (ISO/IEC 16022), QR Code at error correction level H (ISO/IEC 18004, about 30 % recovery), or DotCode with Reed-Solomon correction where NC = 3 + ND/2 (AIM ISS DotCode rev 3.0). Article 21(5) permits Data Matrix, QR Code level H or Code 128 for aggregated packaging. Article 22 asks for print quality grade 3.5 or better under ISO/IEC 15415 (2D) or 15416 (linear), readable for at least five years.

Can a generated barcode prove that excise duty was paid?

No. The payload is plaintext. A successful read proves the symbol was decoded; a successful parse proves it is well formed. Neither shows that an authority issued the identifier. That question is answered by the authority's repository, which is why the authentication status stays Not Verified.

Why can't the generator produce a real EU unique identifier?

Real identifiers are minted by the ID issuer appointed under Article 3(4), and the field widths come from that issuer's published coding structure. This page uses the fictional issuer code TESTEU and declares the widths explicitly, so it demonstrates the structure without issuing anything under a real issuer's code. The scanner can additionally parse two publicly documented issuer layouts.

Why is DotCode used on tobacco lines?

It is printed as disconnected dots, so it tolerates nozzle drop-out and substrate movement on high-speed industrial inkjet heads. That makes inline marking at production speed practical, which is why it is one of the permitted carriers.

What stops me using these images on real stock?

Nothing technical — and that is exactly the point. A barcode is not a security device. Every export is marked TEST ONLY, the issuer identifiers are fictional, and no official artwork or security feature is reproduced. Use this material to test a reader, never as a label for goods.