Skip to content
DielineMaker
Start designing free

Workspace·6 min read

Barcode generator: draw a symbol and download it

Choose EAN-13, UPC-A, ITF-14, Code 128, Code 39 or Interleaved 2 of 5, set its size and download an SVG, PDF or PNG.

Updated Open the barcode generator

Before you start

What goes in
A number or text you already have, such as an assigned GTIN or an internal SKU.
What comes out
A vector SVG, a CMYK vector PDF or a PNG of the symbol at a size you set.

A practical example

A back-panel retail barcode

Enter a GTIN you have been assigned, keep the standard quiet zone, check the size and download the SVG to place on the back panel.

Step-by-step walkthrough

  1. Choose the symbology

    Under Symbology pick EAN-13 for retail worldwide, UPC-A for retail in the US and Canada, ITF-14 for shipping cases, Code 128 for SKUs and logistics, Code 39 for industrial labels or Interleaved 2 of 5 for warehouse cartons.

  2. Enter the value

    Read the hint under the field. For EAN-13, UPC-A and ITF-14 you can type the number without its check digit and it is added, or paste the full number to verify it. This tool draws a symbol for a number you already have; it does not issue numbers.

  3. Set the size

    Under Size set Magnification or Module width (X), and Bar height. The preview shows the real size in millimetres.

  4. Check the quiet zone and options

    Keep the standard Quiet zone unless you deliberately choose Custom or None. Set Bar width reduction only from printer guidance. Bearer bars are for ITF-14, and a mod 43 check character and extended mode are for Code 39.

  5. Choose colours and text

    Use dark bars on a light background. Choose Show the digits under the bars and, for EAN-13, the Light-margin indicator if you need them. Transparent background removes the background fill.

  6. Download and place it

    Download SVG or PDF for vector placement, or PNG at 300, 600 or 1200 dpi. Use Put it on your packaging to open the editor, or add a code to a panel with Design → Elements.

Options at a glance

Control or choiceWhat it changesHow to use it well
SymbologyThe type of symbol: EAN-13, UPC-A, ITF-14, Code 128, Code 39 or Interleaved 2 of 5.Use the one your retailer or carrier asks for.
ValueThe digits or text to encode.Fix the source value rather than accepting a guessed correction.
SizeMagnification or module width, and bar height.Keep enough height and clear space for the scanner.
Print optionsQuiet zone, bar width reduction, bearer bars and Code 39 options.Change them only for a reason you can state.
DownloadSVG, PDF or PNG at a chosen resolution.Prefer vector for print.

Detailed control reference

Find the control, understand its effect, and choose it for the job you are making. Available controls depend on the selected structure, object, workspace and output.

Barcode generator → Symbology

Symbology

Chooses one of six symbologies, each with a hint about its use and its allowed characters.

When it helps most
Pick the symbology the receiving system expects.
Impact and trade-offs
A symbol that does not match the receiver’s requirement will not scan correctly in that workflow.

Barcode generator → value field

Value and check digit

EAN-13 accepts 12 digits and adds the check digit, or 13 to verify. UPC-A accepts 11 or 12. ITF-14 accepts 13 or 14. Code 128 takes printable ASCII. Code 39 takes A–Z, 0–9, space and - . $ / + %. Interleaved 2 of 5 takes an even number of digits.

When it helps most
Type or paste the value and read any message under it.
Impact and trade-offs
A valid check digit does not prove the number is assigned to your product.

Barcode generator → Size

Magnification and Module width (X)

Sets how large the symbol is, either as a percentage for retail symbols or as the width of the narrowest bar.

When it helps most
Use the printer’s guidance and check the millimetre size in the preview.
Impact and trade-offs
Too small a symbol is hard to scan.

Barcode generator → Size

Bar height

Sets the height of the bars.

When it helps most
Keep it tall enough for the receiving scanner.
Impact and trade-offs
Shortening the bars makes the code harder to scan at an angle.

Barcode generator → Print options → Quiet zone

Quiet zone

Standard, Custom or None sets the clear space around the symbol, with Each side in modules for Custom.

When it helps most
Keep Standard unless your layout already reserves the space.
Impact and trade-offs
Artwork, folds or die cuts inside the quiet zone can stop the code scanning.

Barcode generator → Print options

Bar width reduction

Makes every bar thinner by a fixed amount to allow for ink spread.

When it helps most
Ask your printer for the value for your press and stock.
Impact and trade-offs
The wrong value makes bars too thin or too thick.

Barcode generator → Print options

Bearer bars, mod 43 and extended mode

Bearer bars frame an ITF-14 symbol. Add a mod 43 check character and Extended mode (lower case) apply to Code 39.

When it helps most
Turn on only what the receiving system requires.
Impact and trade-offs
A receiver that does not expect them may reject the code.

Barcode generator → Colours

Bars, Background and Transparent background

Sets the bar colour and background, or removes the background.

When it helps most
Start with dark bars on a light background.
Impact and trade-offs
Low contrast or red bars can fail to scan; the scan checks under the preview point out problems.

Barcode generator → Download

SVG, PDF and PNG resolution

SVG is a vector file. PDF is a CMYK vector file. PNG is a raster image with a PNG resolution of 300, 600 or 1200 dpi.

When it helps most
Choose a vector file for print and PNG only for a raster workflow.
Impact and trade-offs
A PNG records its resolution so layout apps place it at the right size.

Where the number comes from

Retail symbols carry a GTIN built from a company prefix that your business licenses from its national GS1 organisation. The generator draws a symbol for a number you already have and works out the check digit.

Using it in the packaging editor

You can place the downloaded SVG or PDF in your own artwork, or add an editable code to a panel in the editor. See the barcodes and QR guide for placing, quiet zones and scan testing of the printed result.

Check your work

  • The symbology matches the receiver’s requirement.
  • The value is correct and, for GTINs, assigned to your product.
  • The quiet zone is clear of artwork, folds and cuts.
  • The code was scan-tested from a printed proof.

Troubleshooting

The tool refuses my number

Read the hint for that symbology: length, allowed characters and whether the check digit is added or verified.

The code does not scan after printing

Check the size, the quiet zone, the contrast and the bar width reduction with your printer, then proof again.

I need a code that links to a web page

Use a QR code instead. See the QR code generator guide.