UPC generator
Turn your 11- or 12-digit GTIN into a standards-shaped UPC-A barcode, with the check digit verified before download.
Runs in your browser 0 bytes uploadedTurn your 11- or 12-digit GTIN into a standards-shaped UPC-A barcode, with the check digit verified before download.
Runs in your browser 0 bytes uploadedThis draws a number you already own. It does not issue or register a product identifier.
Enter your 11-digit body or complete 12-digit UPC-A number.
That distinction is the first thing to settle. A UPC-A barcode is the machine-readable picture of a twelve-digit GTIN. Turning those digits into bars is deterministic and can happen entirely in this browser. Deciding which business owns the number is an allocation job, and an image generator cannot do it. If you need a new retail identity, obtain the GTIN through GS1 or the route your marketplace accepts; if you already have the number, this page makes the symbol.
The field accepts either the first eleven digits or the complete twelve. With eleven, the final check digit is calculated. With twelve, it is verified before any barcode appears. A wrong check digit is not a warning you can click through: the bars would faithfully encode a number scanners reject, so the tool tells you the expected digit instead.
UPC-A is only one barcode family. If the value is an internal asset ID, shipment reference or text containing letters, use the general barcode generator and choose Code 128. That changes the symbol for a different receiving system; it does not turn the internal value into a retail GTIN.
Starting at the left, the digits in alternating positions are multiplied by three, the remaining digits are added once, and the final digit makes the total divisible by ten. It catches every single mistyped digit and most adjacent transpositions. It does not prove that the product exists, that the company owns the prefix, or that a retailer has listed it — it only proves that the twelve-digit structure is internally consistent.
Leading zeroes are part of that structure. Keep the number as text in spreadsheets and
databases; treating it as a quantity can turn 012345000058 into
12345000058 before it ever reaches the generator. The four data tools linking
here preserve that exact distinction rather than asking Excel or JavaScript to guess.
UPC-A contains 95 encoded modules, plus a clear quiet zone at each edge. Those empty margins give a scanner somewhere to recognize that the first guard bars really are the beginning. Cropping them away, placing text over them or running a package border through them can make a mathematically correct symbol unreadable. The files here preserve nine modules on both sides and use black bars on white because contrast is a reliability requirement, not a theme choice.
SVG is the better handoff to a label or packaging program because every bar remains an exact vector rectangle when resized. PNG is supplied at four pixels per module for office documents, mockups and quick proofs. Neither download certifies a physical label: printer resolution, ink spread, scaling, surface curvature and placement all affect real scans. Production packaging still needs verification in the size and material that will ship.
A square QR symbol solves a different job. If you need guests to join a network rather than identify a retail product, use the WiFi QR code generator; it encodes the SSID, security type and password instead of a GTIN. The two symbols are not interchangeable even though a phone camera may recognize both.
For a URL, plain text or a branded square code, the QR code generator applies colors and an optional logo, then decodes the finished pixels before offering the files. That scan check still does not allocate or verify a UPC number.
Encoding consists of a check-digit calculation and a fixed table of bar patterns. Both run in this tab; the SVG is assembled here and the PNG is drawn on a local canvas only when you ask for it. The number is never sent to a lookup service, which also means the page makes no claim about registration or ownership. Reloading clears it.
No. It turns a GTIN-12 you already control into the UPC-A bars that represent it. A barcode image cannot assign ownership or make an invented number valid for retail. If the product needs a new identity, obtain the GTIN through GS1 or the issuing route your retailer accepts, then bring that number here.
Either works. With 11 digits, the twelfth check digit is calculated. With 12, the final digit is checked and the tool stops rather than drawing a barcode when it is wrong. Spaces and hyphens are ignored, but letters are not guessed away.
Because color is a reliability choice, not decoration. Dark bars on a light background provide the contrast scanners expect, and the blank quiet zones at both sides must remain clear. The downloads deliberately use black on white and preserve those margins.
Use SVG when a label or packaging program accepts it: the bars remain exact at every size. The PNG is rendered at four pixels per module for documents and previews. Neither file can guarantee a physical print — ink spread, scaling, wrapping and placement still need a real barcode verifier for production packaging.