Barcode
EAN, CODE128, UPC and more, ready to download
No database: AIMRAN doesn't store your files, text or results
What is Barcode?
Barcodes are used to label products, track inventory or print shipping labels. With this generator you type the number or text, choose the barcode type and download it ready to print.
If you use EAN or UPC, you don't need to calculate the last digit: the tool adds it for you and, if you type it yourself, checks that it is correct. You can also change the size and colors and show or hide the text below.
How to use it
- Choose the format: CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, MSI or Pharmacode.
- Type the value; you will see instantly whether it is valid.
- Adjust the bar width, height, margin, colors and whether the text is shown.
- Download the barcode as PNG or SVG.
Advantages
- Eight formats, including the EAN and UPC retail standards.
- Automatic check digit calculation and verification.
- Clear error messages if the value isn't valid for the format.
- Vector SVG export for printing at any size.
Use cases
- Generate EAN-13 or UPC-A labels for the products of a small shop or a craft business.
- Create Code 128 codes to number and track a warehouse's inventory.
- Label books, school supplies or equipment with a code a barcode scanner can read.
- Prepare a package's barcodes as SVG to send them to the printer.
Technical details
Drawing is done with JsBarcode. EAN-13, EAN-8, UPC-A and ITF-14 accept the digits without the check digit (12, 7, 11 and 13 respectively) and calculate it with the GS1 modulo 10 algorithm, or the full digits, verifying that the check digit is correct. CODE128 accepts any ASCII character; CODE39, uppercase letters, numbers, space and - . $ / + %; MSI, digits only; and Pharmacode, an integer between 3 and 131,070. You can set the module width (1 to 5 px), height (20 to 300 px), margin (0 to 40 px), human-readable text and bar and background colors. The download can be PNG or vector SVG.
Frequently asked questions
How do I create an EAN-13 barcode?
Choose EAN-13 and type the first 12 digits. The 13th, the check digit, is calculated automatically.
Which barcode type should I use for my products?
For retail sale, EAN-13 is used in Europe and UPC-A in the United States, with numbers assigned by GS1. For internal use or inventory, CODE128 is the most versatile.
Can I put letters in a barcode?
Yes, with CODE128 (any ASCII character, no accented letters) or CODE39 (uppercase letters, numbers and some symbols). EAN and UPC accept numbers only.
Which format should I download for printing?
SVG is vector-based and prints sharply at any size. PNG is handier for pasting into documents or websites.
Related tools
- QR codes · Create QR codes with a logo and colours, or read the QR in an image
- Validate Spanish DNI/NIE and IBAN · Check the letter of a Spanish DNI or NIE, a CIF and any IBAN
- Convert image · Convert between JPG, PNG, WEBP, AVIF, HEIC, TIFF, PSD, ICO, PDF and more
- Test data generator · Names, Spanish IDs, emails and more as CSV or JSON
- UUID generator · Unique identifiers instantly
- Compress image · Reduce file size with quality control and a before/after comparison