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-13 — Retail products worldwide
- UPC-A — Products in the US and Canada
- EAN-8 — Small retail packaging
- CODE128 — Shipping, inventory and general purpose
- CODE39 — Industrial and asset labels
- ITF-14 — Cartons and logistics (shipping containers)
- MSI — Inventory and warehouse shelf marking
- Pharmacode — Pharmaceutical packaging control
Valid value· 13/13 digits
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?
How do I use Barcode Generator?
Open Barcode Generator, enter or paste your input, and copy the result. The page works without an account.
Related guides
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns
EXIF Viewer & Cleaner
View and remove EXIF metadata from images. See camera info, GPS location, and dates — then download a clean copy.
Favicon Pack Generator
Generate complete favicon packs with all standard sizes and Apple touch icons
Image Compressor
Compress JPEG, PNG, and WebP images in your browser. No uploads, completely private.