Buddy Code
Create account ↗
All tools
Free to use · No sign-up

Barcode generator

Validate and render Code 128 and EAN-13 barcodes, then download SVG or PNG assets.

Up to 50 codes. EAN-13 accepts 12 digits and calculates the check digit, or validates all 13 digits. Code 128 accepts 1–80 printable ASCII characters. Test printed codes with your scanner.

What it does

Validate and render Code 128 and EAN-13 barcodes, then download SVG or PNG assets.

How to use it

  1. Choose Code 128 or EAN-13 and enter one code per line, up to 50 codes.
  2. EAN-13 accepts 12 digits or validates 13 digits. Code 128 accepts 1–80 printable ASCII characters per code.
  3. Download individual SVG/PNG assets and the batch validation JSON. Invalid rows are reported without discarding valid rows.

Example

EAN-13 input 590123412345 becomes 5901234123457 after calculating the check digit.

Methodology

EAN-13 uses the alternating 1/3 weighted checksum. bwip-js renders standard Code 128 and EAN-13 symbols with white background, quiet margins and human-readable text.

Limitations

Code 128 supports printable ASCII only in this tool. Valid EAN checksums do not establish assigned product identifiers. Test final printed size and contrast with a scanner.

Automation

This tool runs in your browser. No upload API or MCP endpoint is available.

View capabilities and documentation

Reference updated

Join the conversation

Helpful tips, questions, and ideas for making this tool better.

Loading discussion…