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 uploadedGenerate 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
- Enter dataType or paste the text you want to encode.
- Pick a formatChoose Data Matrix, PDF417 or Aztec and adjust the size.
- DownloadSave the generated 2D code as a PNG image.