Home / Barcode generator

Barcode generator

Create linear, GS1, postal and 2D barcodes at an exact size in millimetres, or hundreds at once by loading an Excel file.

Human-readable text

It only changes the characters printed next to the code. What the scanner reads is still the “Barcode data”.

Size and resolution

Colours

For scanners to read it reliably, use dark bars on a light background with strong contrast.

Code options

For experts: Barcode Writer in Pure PostScript options separated by spaces, such as version=10 or format=rectangle.

Preview

Print on adhesive labels

Choose the model of your sticker sheets (the brand and product code are on the box) and download a PDF with each code on its label, ready to print.

Model not listed? Pick one with similar sizes or type yours in “Sheet measurements”: they are on the box or can be measured with a ruler.

Sheet measurements (you can change them)

Margins are measured from the edge of the paper to the first label. If you change a measurement, the model becomes “Custom”.

Label sheet preview

Ctrl + mouse wheel also zooms in or out, and when zoomed you can drag the sheet to move around. Esc exits full screen.

“Start at label no.” lets you reuse a partly used sheet: labels are counted row by row, from left to right. The adjustments move everything if your printer prints off-centre.

When printing, choose “Actual size” or “100%” (not “Fit to page”). Print on plain paper first and hold it against the light over the label sheet to check that it matches.

The model measurements come from the gLabels template database. Check that they match your sheet before printing many.

Done!

Download again

The Excel file has the columns of your sheet plus one with the image of each code, ready to copy or print. It is included in the ZIP files.

More tools
Advertisement
Reserved space for Google AdSense ad (Bottom Banner)

How to create a barcode

The codes are drawn inside your browser with the bwip-js library: the data you type and the Excel file you load are not sent anywhere.

  1. Choose the code type (EAN-13, Code 128, GS1-128, QR, Data Matrix…) and type the data, or press “Use the sample for this type”.

  2. Adjust the size in millimetres (module width, height and margin), the resolution in dpi, the human-readable text, the colours and the rotation. The preview updates instantly.

  3. Download the code as PNG, JPG, SVG or PDF, or copy it. To make many, switch to “Many codes from Excel”, download the template, fill it in and load it: you get a ZIP or a PDF with all of them.

What it is for

Products and shops

Print the EAN-13 or UPC for your packaging and labels at the size your printer asks for. The number is assigned by GS1; here the code is only drawn and the check digit calculated.

Warehouse and inventory

Create hundreds of Code 128, GS1-128 or Data Matrix labels at once for item numbers, batches, locations or assets from an Excel sheet, on a label sheet ready to print.

Design and printing

The SVG and PDF are vector files and measure exactly the millimetres you set, so the code can be enlarged or placed in a design without losing sharpness.

Why use JapalTools?

Your files never leave your device

Everything happens in your browser. Documents are never uploaded to any server, so you can use it with payslips, contracts or ID documents.

Free, no sign-up and no watermarks

You don't need an account or to leave your email, and nothing is added to the result.

Works on any device

Computer, tablet or phone, with an up-to-date browser (Chrome, Edge, Firefox or Safari). Nothing to install.

Advertisement
Reserved space for Google AdSense ad (In-content)

Frequently asked questions

About 80: linear (Code 128, Code 39, Code 93, Codabar, ITF and other 2 of 5), retail (EAN-13, EAN-8, UPC-A, UPC-E, ISBN, ISSN), GS1 (GS1-128, ITF-14, SSCC, DataBar, GS1 Data Matrix, GS1 QR), 2D (QR, Micro QR, rMQR, Data Matrix, PDF417, Aztec, MaxiCode, Han Xin, DotCode), postal and pharmacy codes.

Press “Download the Excel template”: it has the columns Data, Type, Visible text and File name, a sheet with all the types and a help sheet. Fill it in and load it (a CSV or TXT also works, up to 5,000 rows). Each row is checked before the codes are created, and the rows with errors can be downloaded as a CSV. Along with the codes you get an Excel file with your columns plus one with the image of each code; the files are named with the row number, the type and the data (for example 002_EAN-13_9520123456788.png) so they match your sheet.

EAN and UPC numbers are assigned by GS1, the organisation in each country (in the US, GS1 US). This tool does not assign numbers: it draws the code for the number you already have and calculates or checks the check digit. For internal use (warehouse, inventory) you can use Code 128 with your own references.

The size is set in millimetres through the module width (the thinnest bar). For professional printing use the SVG or PDF, which measure exactly that. For PNG or JPG choose at least 300 dpi (600 for small labels): the tool fits each module to a whole number of pixels so the bars stay sharp, and tells you its real size.

Write each application identifier in brackets followed by its value, without spaces: for example (01)09501101530003(17)261231(10)ABC123 is the GTIN, the expiry date (YYMMDD) and the batch. The separator between variable-length fields is added automatically, and if a value does not follow the GS1 standard the error is explained.

In “Print on adhesive labels”, find your sheet by its product code (for example L7160 or 5160), by brand or by label size (“70x37”), or type its measurements if it is not listed. You can fill the sheet with one code, print several copies of each code from Excel, start at a given label on a used sheet and correct your printer’s offset. Download the test sheet first, print it on plain paper at 100% and compare it against the light with your labels.

Yes: the images you create are yours, with no watermarks or usage limits. Before printing a large run, test the code with a scanner or your phone, because the result also depends on the printer, the paper and the contrast.

No. The document is processed in your own browser and is not sent to JapalTools or anyone else. When you close the page, no copy remains outside your device.

Creating the codes…