DevTools Logo

Barcode Generator

Barcode Generator

Generate barcodes in 8 formats — style, size for print, and export as SVG or PNG, all in your browser.

Barcode settings

Use for: Retail products worldwide

Accepts: Digits only (0–9)

Length: 12 digits (check digit added) or 13 digits

Check digit: The 13th digit is a mod-10 check digit, auto-calculated from the first 12.

Which barcode format should I choose?
  • EAN-13Retail products worldwide
  • UPC-AProducts in the US and Canada
  • EAN-8Small retail packaging
  • CODE128Shipping, inventory and general purpose
  • CODE39Industrial and asset labels
  • ITF-14Cartons and logistics (shipping containers)
  • MSIInventory and warehouse shelf marking
  • PharmacodePharmaceutical packaging control

Valid value· 13/13 digits

Samples:

Check digit valid. Final barcode value: 5901234123457.

Examples

EAN-13 product barcode

Enter 12 digits (check digit auto-computed) or all 13 digits, select EAN13, and download the SVG to include on a product label. EAN-13 is the standard format used on most retail products worldwide.

CODE128 internal label

CODE128 encodes any printable ASCII character, making it ideal for internal part numbers, shipping labels, or any alphanumeric identifier. Enter your value, adjust height to 60px for a compact label, and export as PNG.

Details

This tool generates standard 1-D barcodes entirely in your browser — no data is sent to a server. Choose from eight widely-used formats, enter a value, tweak line width and height, and toggle the human-readable text below the bars. When the value is invalid for the chosen format (wrong character set or digit count) the error is shown instantly. Download the result as a lossless SVG or a rasterised PNG for print or web use.

About this tool

Generate barcodes online in 8 formats: CODE128, EAN-13, UPC and more. Free barcode generator with SVG/PNG download — no signup required. Barcode Generator runs in the browser on DevTools. There is no signup, and your input stays on this device unless the tool explicitly performs a live network lookup.

What this tool does not do

  • Barcode Generator is a free in-browser utility, not a hosted API. It does not keep server-side history and is not a substitute for production verification in your own stack.

How do I use this tool?

  1. How do I use Barcode Generator?

    Open Barcode Generator, enter or paste your input, and copy the result. The page works without an account.