WordPress plugin intelligence profile

Barcodegen – Barcode Generator

Crisp, printable SVG barcodes: EAN-13, EAN-8, UPC-A, Code 128, Code 39 and ITF-14, from a shortcode, a block or your dashboard.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update13 Oct 202619d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Barcodegen – Barcode Generator version 1.0.0 as active, updated 19d ago and tested up to WordPress 7.1.

Overview

About this plugin

Barcodegen adds real barcodes to WordPress. Type a value, pick a format, and you get a clean vector barcode that prints sharply at any size — product pages, packing slips, invoices, tickets, shelf labels, asset tags, anything.

Six formats, generated locally

  • EAN-13 — retail products worldwide (12 or 13 digits, check digit calculated for you)
  • EAN-8 — small retail packages
  • UPC-A — retail products in the US and Canada
  • Code 128 — the all purpose format for internal codes, tickets and documents, with automatic code set selection (A/B/C) and the correct check digit
  • Code 39 — still common on older industrial equipment
  • ITF-14 — cartons and shipping labels, with the GTIN-14 check digit

How it renders

Every barcode is written as inline SVG by PHP. There is no image file to manage, no JavaScript, and no canvas: the bars stay sharp on retina screens and come out of a laser printer perfectly. Guard bars extend below the digit row and the number system digits sit in the quiet zones, so EAN-13 and UPC-A output looks like a real retail label, not a screenshot.

Three ways to add one

  • The [barcodegen] shortcode, with attributes for every option.
  • The Barcode block, with a live preview in the editor.
  • Tools → Barcode Generator in your dashboard, which also hands you a ready made shortcode.

Privacy and performance

Nothing is sent anywhere. There are no external requests, no trackers, no cookies and no third party libraries — the encoders are about a thousand lines of PHP written for this plugin. Barcodes render on the server, so they work in feeds and emails and add nothing to your page weight budget.

Shortcode

[barcodegen format="ean13" value="5901234123457"]

Every attribute is optional except the value:

  • format — code128 (default), code39, ean13, ean8, upca or itf14. The advanced values code128a, code128b, code128c and itf are accepted too
  • scale — module width in pixels, 0.5 to 10 (default 2)
  • height — bar height in pixels (default 60)
  • text — print the value under the bars, “yes” or “no”
  • bar_color — any CSS colour, default #000000
  • bg_color — any CSS colour, or “transparent”
  • padding — extra space around the bars, in pixels
  • class — extra CSS class on the SVG
  • align — left, center or right

Enclosed content also works, which is handy when the value contains quotes:

[barcodegen format="code39"]HELLO WORLD[/barcodegen]

If a value cannot be encoded — a five digit EAN-13, a lower case letter in Code 39 — you will see the reason while editing and visitors will see nothing at all.

Formats

What each format accepts, so you get it right the first time.

  • code128 — ASCII 0-127, any length. The check digit is calculated for you. The default, and the best choice for internal codes.
  • code39 — digits, A-Z and –. space $ / + %. Lower case is converted to upper case for you.
  • ean13 — 12 digits, or 13 with the check digit. A wrong check digit is corrected rather than printed.
  • ean8 — 7 digits, or 8 with the check digit.
  • upca — 11 digits, or 12 with the check digit.
  • itf14 — 13 digits, or 14 with the check digit. Cartons and shipping labels.

Non-digit characters are stripped from EAN, UPC and ITF values, so 590-1234-123457 encodes exactly like 5901234123457. Values with accents or non-Latin characters are rejected by Code 128 and accepted by Code 39 only if they are in the Latin-1 range.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • barcode generator
  • ean 13
  • upc a
  • code128
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity13 Oct 202619d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.