CODE49 Generator (save as PNG or SVG)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Turn ASCII letters, digits and symbols into CODE49, a stacked barcode made of several rows of bars. Save the result as a PNG image or as an SVG that stays sharp when enlarged for printing. CODE49 cannot hold accented letters, CJK characters, emoji or any other non-ASCII text. All processing happens entirely in your browser (no data is sent).
Input and settings
Supports ASCII (character codes 0–127). How much fits depends on the kind of characters and the number of rows: lowercase letters and line breaks take more space than uppercase letters and digits.
Preview
The preview is shrunk to fit the screen. The saved PNG has the pixel size shown above.
How to use
- Enter ASCII letters, digits, symbols or a URL. Line breaks, leading and trailing spaces and leading zeros are kept exactly.
- Start with “Auto” for the number of rows, then adjust the height, size and colors if needed. The preview updates whenever you change the input or settings.
- Save as PNG or SVG, then check with the CODE49 Reader that it decodes to the text you entered.
Capacity and printing tips
- CODE49 is ASCII-only. If you need accented letters, CJK characters or emoji, use a QR code or PDF417 instead. Characters are never replaced or dropped automatically.
- A symbol has 2 to 8 rows. Digits only fit up to about 81; lowercase letters, symbols and control characters reduce the number of characters that fit, and the actual capacity is checked when the code is generated.
- CODE49 check characters are added automatically. There is no error-correction level to choose as with QR codes, so dirty, damaged or blurred codes may not scan.
- Keep the bars dark and the background light, and do not trim the surrounding margin or the lines separating the rows. Keep the aspect ratio when printing, and test with the actual scanner you will use.
- The scanner must explicitly support CODE49. Despite the similar names, it is a different format from Code 39, Code 93, Code 128 and PDF417 and is not compatible with them.
Batch-create CODE49 from CSV and print as PDF · 2D code workspace
Generation uses bwip-js and BWIPP. Source of the bundled library · License