Custom barcode pattern generator (RAW)
Draw a custom one-dimensional bar pattern from bar and space widths, then download PNG or SVG.
How custom barcode patterns work
This advanced tool draws the pattern you specify rather than encoding text in a standard barcode format. It does not add start or stop patterns or calculate a check digit. Use it only when you already know the complete pattern required by your system.
Download PNG for documents or SVG for a sharp, resizable print layout. Generation takes place in your browser, without an account.
Questions about custom barcode patterns
- Will entering 1234 create a barcode for the number 1234?
- No. It draws alternating bars and spaces with those widths. For an ordinary reference or serial number, choose Code 128; for a web link, choose QR. A custom pattern is readable only if it follows a format supported by the receiving system.
- How do I check the code before printing?
- Leave the white margins intact, keep the image in proportion and scan a sample at its final printed size with the device you intend to use.
Symbology rendering uses BWIPP via bwip-js — MIT License. BWIPP © 2004–2024 Terry Burton; bwip-js © 2011–2025 Mark Warren.