Barcode Generator

Generate CODE128, EAN-13, CODE39 and more, as SVG or PNG.

Tool Panel

Loading tool...
About Barcode Generator

Nine formats including CODE128, EAN-13 and CODE39, with check digits computed to spec (EAN-13 takes 12 digits and computes the 13th). The input rules for each format are stated in the UI.

  • 1

    Nine formats, each with its content requirement shown in the UI: EAN-13 / UPC-A / ITF-14 take only the first 12 / 11 / 13 digits (**the check digit is computed**), Code39 accepts uppercase letters and a few symbols, and Pharmacode is an integer from 3 to 131070.

  • 2

    Two outputs: **copy the SVG** (vector — stays crisp when printed or scaled) or **download a PNG** (pixel size equals the preview, so raise bar width and height before printing).

  • 3

    Colours and the quiet zone are fixed (dark bars on white with 10 units of margin): both decide whether a scanner can read the code, so they are not exposed as options.

Related tools

View all
Color Picker
Design Tools

Color Picker

Pick a colour and read off its HEX, RGB and HSL values.

Design Tools
Contrast Checker
Design Tools

Contrast Checker

Check foreground and background contrast against accessibility thresholds.

Design Tools
Gradient Generator
Design Tools

Gradient Generator

Build CSS linear and radial gradients visually, then copy the code.

Design Tools
Box Shadow Generator
Design Tools

Box Shadow Generator

Tune a box shadow visually and copy the CSS.

Design Tools
Unit Converter
Design Tools

Unit Converter

Convert physical units across length, weight, volume and more.

Design Tools
Bytes Converter
Design Tools

Bytes Converter

Convert between bytes, KB, MB, GB and TB.

Design Tools