Barcode Generator
Client-sidePopularFeaturedNewGenerate Code128, EAN, UPC, and Code39 barcode PNGs in your browser.
Examples
About this tool
Barcode Generator PNG builds Code128, EAN, UPC, and Code39 labels in your browser on Tools by RS, then downloads a PNG. Values are not uploaded.
Key takeaways
- Runs in your browser (dynamic import / local processing)
- File bodies are not uploaded to our servers for these tools
- Size and page limits protect tab performance
- Quality claims stay honest for lossy converters
What is a barcode generator?
It encodes digits or text into a 1D linear barcode image for retail scanners and inventory labels.
Choose a symbology that matches your scanner. Invalid digit lengths for EAN/UPC will error clearly.
Features
1D symbologies
Code128, EAN, UPC, and Code39.
PNG download
Ready for labels and docs.
Local
No upload of values.
Clear errors
Invalid payloads fail loudly.
How it works
Enter value
Type the text or digits to encode.
Pick symbology
Choose Code128, EAN, UPC, or Code39.
Generate & download
Save the PNG locally.
Example walkthroughs
SKU Code128
Encodes an alphanumeric stock code.
SKU-10045
EAN-13 sample
Retail barcode with check digit (verify before print).
5901234123457
Use cases
Inventory labels
Print SKU barcodes.
Retail packaging
EAN/UPC digits for scanners.
Code snippets
Process locally
jsMatches the privacy model for file utilities on this site.
// Files stay in your tab - processors run via dynamic import / worker path // No multipart upload of PDF bodies for these tools.
Common errors
File too large
Cause: PDF/image exceeds the per-file byte limit.
Fix: Split the document or compress scans before uploading to the workspace.
Encrypted / unreadable PDF
Cause: The file is password-protected or severely corrupted.
Fix: Remove the password locally first, or try Repair PDF for mild structural issues.
About Barcode Generator
Barcode Generator builds scannable 1D PNG barcodes for labels, inventory SKUs, and retail packaging without a design tool. Symbologies include Code128, EAN-13, UPC, and Code39 so you can match common warehouse and point-of-sale scanners from one workspace.
Generation runs locally with bwip-js in your browser so product codes and internal SKUs never need to hit a hosted generator. Download the PNG and drop it into docs, label software, or packing slips without leaving your machine.
Some symbologies require exact digit lengths and check digits. The tool surfaces library errors when values are invalid rather than silently emitting unscannable images that fail on the warehouse floor later.
Best practice: verify with your physical scanner before printing a large batch. Use Code128 for general alphanumeric SKUs and EAN/UPC for retail digits. For square QR marketing codes, use the dedicated QR Code Generator instead of this page.
Barcode Generator on Tools by RS targets the “barcode-generator” search intent with private, browser-first processing, explicit size and page limits, downloadable results, reciprocal related-tool links, and documentation that states what the converter can and cannot do so humans and assistants set accurate expectations before trusting the output in production workflows.
Prefer this workspace when you need Barcode Generator without uploading documents to a third-party converter, and keep source files archived whenever the output is lossy or heuristic.
Frequently asked questions
Does Barcode Generator upload my values?
No. Barcode Generator renders PNGs only in your browser.
Which symbology should I use in Barcode Generator?
Code128 for general SKUs, EAN/UPC for retail digits. For URL QR PNGs, open QR Code Generator instead.
When should I use Barcode Generator vs QR Code Generator?
Use Barcode Generator for linear 1D codes (Code128, EAN, UPC, Code39). Use QR Code Generator when you need a square QR PNG for links or short text.
Why did EAN fail in Barcode Generator?
EAN-13 needs the correct digit length and check digit.
Related tools
JWT Decode
Decode JWT header and payload in your browser - inspect claims without uploading tokens.
UUID Generator
Generate UUID v4 identifiers in bulk - uppercase and hyphenless options, fully client-side.
Regex Tester
Test JavaScript regular expressions against sample text - matches and groups, private in your browser.
Timestamp Converter
Convert Unix timestamps to dates and back - seconds, milliseconds, and ISO strings in your browser.
Markdown Preview
Preview Markdown as HTML in your browser - private drafts, no upload.
HTML Email Preview
Preview HTML email with estimated client compatibility - private sandbox, no upload.
More in Developer
Email Dark Mode Tester
Test HTML email dark-mode risks with light/dark preview chrome and color heuristics - private and client-side.
Gmail Email Preview
Preview HTML email with Gmail-focused estimated compatibility checks - private browser sandbox.
Outlook Email Preview
Preview HTML email with Outlook-focused estimated warnings for Word-based rendering risks.
Responsive Email Tester
Test HTML email at common device widths with estimated media-query guidance - private browser sandbox.
Popular tools
JSON Formatter
Format, beautify, and minify JSON in your browser. Free, private, and instant - no upload to a server.
JSON Validator
Validate JSON instantly in your browser. See type, size, and node counts - or exact parse errors with line and column.
JSON Viewer
Explore JSON as an interactive tree with paths, types, and expandable nodes - all processed locally in your browser.
Base64 Encode / Decode
Encode UTF-8 text to Base64 or decode Base64 back to text - instantly in your browser.
Newest tools
HTML Unescape
Decode HTML entities to plain text in your browser - named and numeric references, CMS and Power Automate friendly.
Gradient Generator
Build linear and radial CSS gradients with Tailwind output - private and client-side.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.
Word Counter
Count words, characters, sentences, and paragraphs with reading time - live and private.
Explore more
Guides & articles
Download a QR code as PNG (free, in your browser)
Create and download a QR code PNG from a URL or short text on Tools by RS - optional transparent background, no upload.
Barcode generator online (Code128, EAN, UPC)
Create 1D barcode PNGs for SKUs and retail in your browser on Tools by RS - Code128, EAN, UPC, Code39, with clear guidance on when to use QR instead.
barcode generation notes on the RS Roshi blog
Practical write-ups around barcode generation.
Platform documentation
Shortcuts, limits, and how client-side tools work.