Barcode Scanner Simulator – Online Enter Number & Visualize
Type a UPC or EAN number and see how a laser scanner would identify it, plus check digit validation.
UD5 Toolkit
Validate, verify check digits & calculate missing checksums for UPC-A, UPC-E, EAN-13 & EAN-8
| # | Barcode | Type | Check Digit | Status | Detail |
|---|
UPC (Universal Product Code) is primarily used in the United States and Canada. UPC-A has 12 digits. EAN (European Article Number, now called International Article Number) is used globally. EAN-13 has 13 digits. A UPC-A can be converted to EAN-13 by adding a leading zero. Both standards are part of the GTIN (Global Trade Item Number) system managed by GS1.
The check digit is calculated using a modulo-10 algorithm:
(10 - (sum % 10)) % 10.(10 - (sum % 10)) % 10.The check digit ensures that the total sum is divisible by 10, catching most scanning and data entry errors.
UPC-E is a compressed 8-digit version of UPC-A, designed for small packages where space is limited. It encodes a full 12-digit UPC-A by using a special compression scheme. The 7th digit indicates the expansion pattern. UPC-E always starts with 0 (system digit). Our tool can validate UPC-E and show its expanded UPC-A equivalent.
EAN-8 is an 8-digit barcode used on very small products that cannot fit a full EAN-13. It consists of a 2-3 digit GS1 prefix, 4-5 digits of product code, and a check digit. EAN-8 codes are assigned directly by GS1 and are not derived from EAN-13 numbers.
Incorrect barcodes can lead to inventory errors, shipping mistakes, and listing rejections on platforms like Amazon, Walmart, and Google Shopping. A valid check digit ensures the barcode scans correctly at every point in the supply chain. Using our validator helps prevent costly data entry errors before products go to market.
GTIN (Global Trade Item Number) is the umbrella term for all GS1 barcode formats. GTIN-12 = UPC-A, GTIN-13 = EAN-13, GTIN-8 = EAN-8, and GTIN-14 is used for shipping cartons. All GTINs use the same check digit algorithm appropriate to their length, ensuring global interoperability.
Yes! Our tool can calculate the missing check digit for you. If you enter 11 digits (UPC-A data), 12 digits (EAN-13 data), 7 digits (EAN-8 data), or 6-7 digits (UPC-E data), we'll automatically compute the correct check digit and show you the complete barcode number ready for use.
Type a UPC or EAN number and see how a laser scanner would identify it, plus check digit validation.
Paste JSON-LD and validate basic syntax and required properties for Article, Product, etc. Local only. Instant feedback.
Enter a URL and fetch its Twitter card meta tags. See a live preview of how the tweet will appear. Debug social sharing.
Paste JavaScript and catch syntax errors instantly with line numbers. Lightweight pre‑commit check. Local.
Paste HTML and detect unclosed tags, invalid nesting, and duplicate IDs. Lightweight client‑side validation.
Validate a language tag like en‑US or zh‑Hans against the IANA registry. Ensure correct HTML lang attribute.
Send conditional requests to a URL and verify that the server correctly handles ETag and If‑None‑Match. Audit caching.
Enter a URL and a user‑agent to see if it is allowed or blocked by the robots.txt file. Quick bot validation.
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Validate a DNSSEC chain by entering DS and RRSIG records. Verify that signatures match. Educational. Local algorithm.
Paste any DNS record and check if its format is valid for the selected record type (A, AAAA, CNAME, MX, TXT, SRV). Prevents typos.
Paste your SQL query and check for basic syntax errors. Highlights missing commas, wrong keywords. Local analysis.
Paste a Bitcoin, Ethereum, or other crypto wallet address and quickly verify its format and checksum. No connection to blockchain.
Check and beautify your TOML config files. Highlights errors and aligns tables and arrays. Safe local parsing.
Validate YAML syntax with line‑by‑line error messages. Also format messy YAML into clean, indented output. All in your browser.
Validate ISBN‑10 and ISBN‑13 numbers and compute their check digits. Useful for booksellers and libraries. All local.
Generate a horizontal Code‑128 barcode from any string. Download as PNG or SVG. Works offline. For inventory.
Check if an IBAN has the correct length and structure for its country. Early validation, no bank connection.
Paste a test card number to verify Luhn algorithm, identify issuer (Visa, MC), and check length. No real data.
Validate if a version string follows SemVer 2.0.0. Also sort and compare versions. Developer tool.
Paste Markdown and get warnings for common mistakes: inconsistent heading spacing, bare URLs, and broken links. All local.
Paste a robots.txt file and validate its syntax. See if a specific user‑agent can access a path. Essential for webmasters.
Paste a string and verify if it is valid Base64. Auto‑detects padding issues and character errors. Quick dev check.
Paste a list of numbers to visually check uniformity, mean, and simple pattern analysis. Educational tool for statistics and RNG.
Point your camera at a barcode and decode it live. Works with multiple formats. Pure JavaScript barcode detection.
Use your camera to scan 1D barcodes (UPC, EAN, CODE128) directly in the browser. Quick and no app install. All scanning is local.
Generate standard 1D barcodes including CODE128, EAN-13, and UPC-A. Download as image for product labeling or inventory. All processing happens locally.
Create high-quality QR codes for URLs, text, Wi-Fi, and contact info. Customize colors and size. Download as PNG/SVG. No data leaves your device.
Easily format, validate, and beautify XML documents. Minify XML data with a single click. All processing happens locally in your browser for maximum privacy.
Online JSON formatting and validation tool, supporting JSON minify/beautify, syntax highlighting, and error locating. Data processed locally in browser for security.