Home / Science / Research toolkit / Lab management / Sample label makerTool #814

Sample and tube label maker with QR codes and Code 128 barcodes (printable PDF)

Paste a sample list or open a CSV or Excel file and print tube and sample labels with a QR code, a Code 128 barcode or both, plus up to four text lines. Describe your label sheet (or use an example layout), skip labels already used, and download a vector PDF to print at actual size.

Keep it one tap away for everyday use.

Bookmark Sample label maker?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Samples
  2. Code
  3. Sheet
  4. PDF
Nothing is uploadedWorks offline once open

Samples

What goes on each label

The code should hold a short unique ID that points to your records; keep the details in your notebook or LIMS. QR codes hold any text, including accents and symbols; Code 128 takes plain letters, digits and keyboard symbols and suits one-line barcode scanners.

Tick up to 4 columns to print as text lines; the first is printed in bold.

Label sheet

The presets are rounded examples, not any maker's product. Measure your sheet, or copy the numbers from its box: the pitch is the distance from the start of one label to the start of the next, so it includes the gap.

Labels

Print the PDF at actual size (100 %), not "fit to page", and do a test print on plain paper held against a label sheet first. Use labels made for the freezer, liquid nitrogen or solvents where you need them.

What it does

Hand-written tube labels smudge, fade in the freezer and are hard to read. This page turns your sample list into neat labels with a scannable code, ready to print on a sheet of labels or a label printer.

  • Your list. Paste rows from a spreadsheet (tabs) or type comma-separated lines, or open a CSV, TSV or Excel file. Quoted commas such as "Liver, rep 1" are kept together.
  • The code. A QR code (any text, including accents and µ), a Code 128 barcode (plain letters, digits and keyboard symbols, read by ordinary handheld scanners), both, or none. You choose which column the code holds, usually a short unique ID.
  • Text lines. Up to four columns are printed as text, the first in bold. Text shrinks to fit the label, and long text is cut with ”…”.
  • The sheet. Page size, labels across and down, label size, margins and pitch. Pick an example layout or type your own. Labels already used lets you start part-way down a sheet you used before.
  • PDF. A vector PDF: QR squares and bars are exact rectangles, so they print sharp on any printer.

How to use it

  1. Paste or open your list. Tick First row is column names if it has a header.
  2. Choose the code type and the column it holds. Keep the ID short: a shorter ID gives bigger squares and bars, which scan more reliably on small tubes.
  3. Tick the columns to print as text.
  4. Pick the sheet, or type the sizes from your label box. Check the preview.
  5. Download the PDF and print it at actual size (100 %). Do a test print on plain paper first, hold it against a label sheet to the light, and adjust the margins if needed. Draw label outlines helps with this test.

Worked example

The page opens with six made-up samples (S-001 to S-006, with tissue, date and concentration) on the example A4 sheet of 5 × 13 labels, each 38 × 21 mm. The headline reads 6 labels on 1 sheet (65 a sheet). Each QR code is version 1 (21 × 21 squares) at level M, 17.5 mm square, so each square is 0.7 mm: easy for a phone camera or a 2D scanner. The text beside it shows the ID in bold, then the name, date and concentration.

Switch the code to Code 128 barcode and the ID S-001 becomes 70 modules of bars plus quiet zones, with the narrowest bar 0.39 mm wide on this label. Set Copies of each to 2 and Labels already used to 7, and the 12 labels start on the second row, third column.

Tips

  • QR or barcode? QR codes fit small square spaces and survive scratches (choose level Q or H for rough handling); Code 128 suits long, thin labels and older scanners.
  • Small tubes. For 0.5 mL tubes and cryovial lids, use a short ID (6 to 8 characters) and level L, and check that squares are at least 0.25 mm and bars at least 0.19 mm, which the page warns about.
  • Keep data in your records. The code should identify the sample; the full details belong in your notebook, spreadsheet or LIMS.
  • Right labels. Office labels peel off in freezers and liquid nitrogen. Use cryo-rated labels and a laser printer for cold storage.

Questions

Is my sample list uploaded? No. It is read in your browser and the PDF is made on your device.

Why does some text print as ”?”? The PDF uses the built-in Helvetica font, which covers Western European letters, µ and °. Other characters (for example Greek or Chinese) print as ”?” in the text lines, and the page lists them. QR codes keep every character.

My scanner reads the barcode but not the QR code. One-line (laser) scanners cannot read QR codes. Choose Code 128 or both.

How do I find the pitch? Measure from the left edge of one label to the left edge of the next one across (across pitch), and from the top of one to the top of the next one down (down pitch).

Where the numbers come from

  • The QR code (byte mode, versions 1 to 10, levels L to H) and Code 128 encoders are written by fibub from the published standards (ISO/IEC 18004 and ISO/IEC 15417). The tests check them module for module against python-qrcode and python-barcode, and every test code was read back with the zxing-cpp decoder.
  • Sheet presets are rounded example layouts, not any label maker's products; measure your own sheet. The example samples are made up.
  • Your list is read on the page only. It is never uploaded or stored.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Plate layout designer #35 Lay out standards, samples, controls and blanks with replicates on any plate from 6 to 1536 wells. Keep the edge wells empty, then print the map or export a well list for your plate reader or liquid handler. Camera-trap tagger #856 Open a folder of camera-trap photos (never uploaded). The page reads each photo's EXIF time, groups bursts into events, and lets you tag species, count and behaviour with one key. It works out independent detections, detections per 100 trap-nights (RAI), naive occupancy and activity by hour, and exports CSV. Tags can be kept in this browser. Reagent inventory #811 Keep a list of your lab's reagents with location, amount, lot, opened date and expiry. See what has expired, what expires soon and what is running low, search and filter, import or export a spreadsheet, and print the list. The list stays in your browser. Equipment booking planner #812 Plan your own bookings on shared lab instruments in a week calendar. Repeat a booking every day, weekday, week, fortnight or month, see clashes at once, and export to your calendar app (.ics) or a spreadsheet (CSV). Your bookings stay in your browser. Protocol timer #813 Type a protocol as named steps with times (block 1 h, wash 5 min × 3 …) and run it as a timer. Run several protocols at once, hear an alarm at the end of each step, get a notification if you allow it, and save your protocols in your browser. 1D Schrödinger solver #923 Choose a textbook potential, type a formula or draw your own, and get the lowest energy levels and wavefunctions of the one-dimensional Schrödinger equation by the matrix (finite-difference) method, with the exact levels alongside for the box, harmonic oscillator, finite well, Morse, linear and Pöschl–Teller potentials.