You have a product list in a spreadsheet — name, price, barcode — and you need a label for every item. Editing a label by hand for each row means fifty edits for fifty products, and a typo on any of them. The better way: design the label once and let the data come straight from Excel, one label per row.
This guide walks through the whole process in RayenApp, a free online barcode label editor. Nothing to install, and your Excel file is read inside your own browser — it is not uploaded to a server.
Before you start: one row per label
Batch printing follows a simple rule: each spreadsheet row becomes one label, and each column becomes one field on the label. For example:
| Product | Price | Barcode |
|---|---|---|
| Whole Milk Bread | $3.50 | 4710000000011 |
| Honey Cake | $8.90 | 4710000000028 |
| Oolong Tea 600ml | $1.99 | 4710000000035 |
(Sample data for illustration only.) A few things to get right first:
- Put column names in the first row (Product, Price, Barcode). You will pick columns by these names when mapping fields, which is much easier than “column 1, column 2”.
- Format the barcode column as Text. Excel likes to display long numbers in scientific notation (
4.71E+12) and to drop leading zeros (0012345becomes12345). Select the whole column → right-click → Format Cells → Text before typing or pasting the codes. - One sheet per batch. Multiple sheets in a workbook are fine — you choose which one to read when importing.
- Date cells are converted to
yyyy-MM-ddautomatically (with the time included if the cell has one), so there is no need to turn them into text first.
Step 1: Prepare the label design
You can draw a label from scratch or start from a template. This guide uses the “Product Label” template (60 × 40 mm, with a product name, a price and a barcode) — the button at the end of this page opens the editor with it already loaded.
To design your own instead, click “New Label” in the toolbar, enter the label size, then drag text and barcode elements onto the canvas. For help choosing the size, see Thermal label printer setup.
Step 2: Set the changing elements to “Imported field”
Every element whose content changes from label to label (name, price, barcode) needs to be told that its content comes from the imported data:
- Select the element in the “Layers” list on the left or on the canvas — the barcode, for example.
- In the property panel on the right, change “Content type” from “Static text” to “Imported field”.
- The canvas now shows a
{{}}placeholder where the data will go. - Repeat for the other changing elements (name and price).
Elements you leave as static text (a shop name, a fixed heading) stay the same on every label. The other content types — “Serial number”, “Date/Time” and “Input field” — can be mixed with imported fields, for example to add an auto-incrementing serial number to every label.
Step 3: Upload the spreadsheet and map the fields
- Click the green printer button in the toolbar's “Print” group to open the Preview Print window.
- Click “Import Data Source” on the right.
- Click “Upload Excel” and choose your .xlsx file. Use “Upload CSV” for CSV files, or “Upload Text File” for tab-separated or fixed-width text exports from other systems.
- Keep “First row is the header” ticked if your first row contains column names.
- The dialog reports how many fields and rows were found and previews the first 5 rows — check them now, especially that barcodes did not turn into scientific notation.
- Below the preview, choose a column for each imported-field element: Product Name → Product, Price → Price, Product Barcode → Barcode.
- Click “Apply This Data”.
Step 4: Check each row, then print or export
Once the data is applied, the preview shows the first row exactly as it will print. Step through with “‹ Previous” and “Next ›” and check that:
- long product names still fit and are not cut off;
- every barcode is drawn — a blank barcode usually means that row's data does not fit the barcode format (see the FAQ below).
When everything looks right:
- Copies — how many labels to print per row. Enter 3 and five rows print 15 labels.
- Print — sends the batch to your printer, one label per page, with the page size set to the label size.
- Export PDF — saves the whole batch as one PDF (one label per page), handy for printing elsewhere or keeping a record.
- Export Images — saves one PNG per label, packed into a zip file.
FAQ
Why are some barcodes blank?
That row's data does not match the selected barcode type. The template uses Code 128, which accepts letters and digits. If you switch to EAN-13:
- the data can be 12 digits (the 13th check digit is added for you) or 13 digits with a correct check digit;
- 13 digits with a wrong check digit, the wrong number of digits, or stray letters and spaces cannot be encoded.
The usual culprit is Excel turning codes into scientific notation or dropping leading zeros — format the column as Text, re-enter the codes, and import again.
Can I use CSV instead of Excel?
Yes — use “Upload CSV”. RayenApp detects both the separator (comma, semicolon or tab) and the text encoding automatically: UTF-8 files are recognized directly, and older “ANSI” exports are read with the legacy encoding that matches the interface language. The dialog shows what it detected next to “Encoding” and “Delimiter”; if accented letters or non-English text look garbled in the preview, pick a different encoding there and the preview updates immediately — no need to upload again.
Do I have to map the fields again next time?
No. Saving the label keeps the import settings and each element's column mapping, but not the data itself. The next time you open the label and import a new batch, columns with the same names are matched automatically.
How many rows can I print at once?
There is no fixed limit, but each label is rendered as an image in your browser, so large batches take longer. For thousands of rows, export a PDF first to check the result, or split the data into smaller batches.