VIN Barcode Generator

Make a barcode of a 17-character Vehicle Identification Number for dealer stock, fleet records, service paperwork and auction labels. Code 39 by default, the format most VIN scanners expect.

A–Z, 0–9, space and - . $ / + %

Change the bar width, height and text here. The barcode on the left is drawn at the size it will print, so at 100% zoom it should match a ruler held to the screen.

PNG and JPG files store their resolution, so Word, Canva and label software place them at this size.

Colours

Dark bars on a light background scan best. Most scanners use red light, so red, orange and yellow bars read as blank.

VIN barcodes

Since 1981 every road vehicle has a 17-character VIN. Many manufacturers print it as a barcode on the door-pillar label, and dealers, fleets, auctions and service departments put VIN barcodes on stock cards, key tags and paperwork so the vehicle can be scanned instead of typed. Code 39 is the long-standing format for this, and most VIN scanners and dealer systems read it. Some newer vehicles also carry a 2D code.

How to make one

  1. Type the 17-character VIN. It uses capitals and digits only, and never the letters I, O or Q (to avoid confusion with 1 and 0).
  2. Leave the type on Code 39 unless your system asks for Code 128, which makes a narrower barcode.
  3. Choose a bar width that fits your label. A 17-character Code 39 is wide, so use the Narrow setting on small labels.
  4. Download, or print a batch of VIN labels with the label maker.

Checking a VIN is real

For vehicles made for North America, the 9th character is a check digit calculated from the others. Each letter is given a number, multiplied by a weight for its position, and the remainder after dividing the total by 11 is the check digit (10 is written as X). A VIN that fails this test has probably been mistyped. Check the VIN against the vehicle's documents before printing.

PositionsMeaning
1–3World manufacturer identifier (country and maker)
4–8Vehicle description: model, body, engine
9Check digit (North America)
10Model year
11Assembly plant
12–17Serial number

The sample above, 1HGCM82633A004352, is a widely used example VIN with a valid check digit. Replace it with yours.

Pallet racking in a distribution warehouse
Pallet racking in a distribution warehouse.

Questions

  • Code 39 is the traditional format for VIN barcodes and what most VIN scanners expect. Code 128 also works and is narrower.

  • They are left out so they can't be confused with the digits 1 and 0.

  • 17 characters for vehicles made since 1981.