Barcode generator

Choose a barcode type, enter your value, and save the image.

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Recent tools save tool names, visit counts and last-visit times. Favorites store only tool names. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

Size, rotation and text

Your barcode

OCTO-4827

294 × 122 px

Batch labels and printing

More
Keyboard shortcuts

Sharing and starting over

A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

Choose the right barcode type

Code 128 handles letters and numbers for stock labels and internal IDs. EAN and UPC are for retail product numbers. Use the type required by the system that will scan the label.

The white space at each end is the quiet zone. Keep it clear when placing the image in a document. An SVG stays sharp when resized; a PNG has a fixed pixel size.

Use the optional rotation control for an individual barcode, or enter one value per line to create a label sheet. Each image must decode to the same value. Choose label dimensions, then download the SVG sheet or print it using your browser’s Save as PDF option.

Next: QR code scanner

Next: Inventory QR label studio

Worked example

For EAN-13, 590123412345 becomes 5901234123457. The final digit is calculated from the preceding digits; a full number with the wrong check digit is rejected.

Before you rely on the result

Generating an image does not register a product number. Use your assigned retail number for a real product. Print size, contrast, packaging and the scanner affect readability. GS1 application identifiers are not supported. The PDF option uses your browser’s print dialog. Printing can scale or clip labels. Use actual-size printing, inspect the PDF and verify the physical labels with your scanner.

Cite this page

ToolOctopus. “Barcode generator.” Updated . https://tooloctopus.com/barcode-generator.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

Find a tool

Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.