QT QR Tools

Data Matrix & PDF417 Generator

Generate Data Matrix, PDF417 and Aztec 2D barcodes online, free and private. Rendered entirely in your browser β€” nothing is uploaded.

πŸ”’ Runs entirely in your browser β€” nothing is uploaded

Was this tool useful? Rate it:

Generate 2D barcodes in your browser

Beyond the familiar QR code, 2D barcodes like Data Matrix, PDF417 and Aztec pack a lot of information into a small space and are everywhere β€” on shipping labels, ID cards, boarding passes, electronics and industrial parts. This generator creates all three formats locally in your browser, so you can produce clean, scannable codes without uploading your data to any server.

Type your text, choose a symbology and adjust the size, then download a crisp PNG ready to print or embed. Data Matrix is ideal for tiny labels and direct part marking, PDF417 suits documents and cards that need to hold more data, and Aztec is common on transit and event tickets because it scans reliably even when printed small.

Tips for reliable scanning

Keep the data as short as the use case allows β€” smaller payloads produce simpler, more reliable codes. Increase the size slider for print so there is enough resolution, and always leave a quiet margin of white space around the symbol. Before mass-printing, test the downloaded PNG with a couple of scanner apps to confirm it decodes the exact text you expect.

Choosing the right symbology

Data Matrix is a square grid that can hold up to about 2,300 alphanumeric characters, but it is most often used for short identifiers such as part numbers or serial numbers because small symbols can be printed or etched on tiny items. PDF417 is a stacked, wide barcode made of several rows, so it needs a generous horizontal area and is the usual choice for driver licenses and forms. Aztec needs no quiet zone in its specification and has a bullseye in the center that helps scanners find it quickly.

The size slider, from 2 to 10, sets how many output pixels each module occupies, so the PNG grows in whole-number steps. At size 4, a small Data Matrix is easy to screen-scan but may be blurry on a printed label; for print, use 8 or 10 and scale the image in your layout without resampling. Always use dark bars on a white background, as the tool does, because inverted colors are not read by every scanner. Keep separate test codes for each format you use, because scanners can be configured to read only certain symbologies.

How to use

  1. Enter dataType or paste the text you want to encode.
  2. Pick a formatChoose Data Matrix, PDF417 or Aztec and adjust the size.
  3. DownloadSave the generated 2D code as a PNG image.

Frequently asked questions

What is a Data Matrix code?
A Data Matrix is a compact 2D barcode that stores text or numbers in a square grid. It's widely used for marking small parts, labels and documents because it packs a lot of data into a tiny area.
How is PDF417 different?
PDF417 is a stacked 2D barcode (wide rectangle) used on ID cards, boarding passes and shipping labels. It holds more data than a 1D barcode and supports error correction.
Is anything uploaded?
No. The code is generated entirely in your browser with bwip-js and rendered to a canvas. Your data never leaves your device.
Why did I get an error?
Each symbology has rules about allowed characters and length. If generation fails, shorten the text or switch format β€” the tool shows a friendly message when the input can't be encoded.