Barcode SVG Generator

Create a vector barcode and download it as SVG: exact bar shapes that stay sharp at any size, ready for Illustrator, InDesign, Affinity, Inkscape or Figma. Every barcode type is supported.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Customize size, color & style
Make many

How to download a barcode as SVG

  1. Choose the barcode type and enter your data.
  2. Adjust bar height, colors or quiet zone under Customize if needed.
  3. Click Download SVG (or PDF) to save the vector file.
  4. Place it in your design at the size you need. Don't stretch it in one direction only, which changes bar width ratios.

Why vector barcodes matter for print

Scanners measure the relative widths of bars and spaces. When a pixel image is scaled, the edges of the bars blur or snap to the nearest pixel, and the width ratios drift. A vector SVG describes each bar as an exact rectangle, so the printer's raster processor renders the edges at full resolution at any size. That is why packaging printers ask for vector barcodes.

FormatTypeUse it for
SVGVectorPackaging artwork, design tools, web
PDFContains the barcode at a set physical sizeSending to a printer, documents
PNGRasterOffice documents, labels, websites (see the PNG generator)

Using the SVG in design software

  • Illustrator / Affinity / CorelDRAW: File → Open or Place the SVG. Scale proportionally (hold Shift) to the size your spec requires.
  • InDesign: Place the SVG directly (recent versions), or place the PDF download.
  • Figma / Canva: drag the SVG in. Canva keeps it sharp as a vector element.
  • Retail sizes: UPC-A and EAN-13 are nominally about 37 × 26 mm at 100% magnification; GS1 allows roughly 80% to 200%. Check the barcode size guide.

Making many? The bulk barcode generator downloads a ZIP of SVG files from a list or CSV.

Frequently asked questions

How do I get a barcode as a vector file?

Enter your data above and click Download SVG. SVG is a vector format: the bars are exact shapes, so the barcode stays perfectly sharp at any size in Illustrator, InDesign, Affinity, Inkscape, CorelDRAW or Figma.

Can I get an EPS barcode?

This tool exports SVG and PDF rather than EPS. Both are vector formats that every current design application opens; Illustrator can open the SVG or PDF and save it as EPS if a printer insists on EPS.

Why use SVG instead of PNG for barcodes?

A PNG is made of pixels, so enlarging it blurs the bar edges and can make the barcode unreadable. An SVG scales without any loss, which keeps bar widths accurate on packaging and large prints.

Is the human-readable text in the SVG editable?

The digits under the bars are drawn as vector outlines, so they look identical everywhere without needing a font installed. Turn the text off under "Show human-readable text" if you want to set your own.

Does the SVG have a background?

By default it includes a white background rectangle. Tick "Transparent background" under Customize for an SVG with only the bars.

Is it free for commercial use?

Yes. The barcodes are yours to use on products, packaging and documents. There is no sign-up and no watermark.

Related free tools