Paritian

Developers

Barcode Generator

Code 128 and EAN-13 barcodes as SVG, with the check digit worked out for you.

Results

Barcode 110100100001110111011010100011000110001011101100010001011011100010110001000101010001100010111000110101011110001100011101011
Symbology used Code 128 B
Value encoded PARITIAN
Check digit 92
Modules wide 123

What this tool does

Both symbologies are implemented from their specifications. Code 128 set B covers every printable character from space to tilde and computes the modulo-103 check character; EAN-13 takes twelve digits and works out the thirteenth, or verifies the one you already have and tells you if it is wrong. The output is an SVG with the correct quiet zones, so it prints at whatever size the label needs.

Formula

Code 128 set B or EAN-13, with the check digit worked out

Variables

SymbolMeaningUnit
textWhat to encode
kindSymbology
scaleSize of each modulepx
darkDark colour
lightLight colour
OUTBarcode
SYSymbology used
VLValue encoded
CKCheck digit
WDModules wide

Worked example

  • What to encodePARITIAN
  • Symbologycode128
  • Size of each module3 px
  • Dark colour#17191f
  • Light colour#ffffff
  • Barcode110100100001110111011010100011000110001011101100010001011011100010110001000101010001100010111000110101011110001100011101011
  • Symbology usedCode 128 B
  • Value encodedPARITIAN
  • Check digit92
  • Modules wide123

Limitations

  • The calculation runs entirely in your browser. The values you type are never sent to a server.
  • For work that must comply with a standard or be signed off, check the result against the applicable code and have it reviewed by a qualified engineer.

Frequently asked questions

Which of the two should I use?

EAN-13 if the item is going to be sold in a shop: it is the retail standard, the thirteen digits are allocated by GS1, and you cannot invent your own without risking a clash with a real product. Code 128 for everything internal — asset tags, shelf locations, work orders, boxes in your own warehouse. It takes letters as well as digits, its length is not fixed, and nobody has to register anything.