Barcode Generator

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

Tool Panel

Processed locally
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
Design Tools

Color Picker

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

Design Tools
Design Tools

Contrast Checker

Check foreground and background contrast against accessibility thresholds.

Design Tools
Design Tools

Gradient Generator

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

Design Tools
Design Tools

Box Shadow Generator

Tune a box shadow visually and copy the CSS.

Design Tools

Unit Converter

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

Design Tools
Design Tools

Bytes Converter

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

Design Tools
Design Tools

Border Radius Generator

Tune each corner visually and copy the CSS border-radius.

Design Tools

Clip Path Generator

Drag the points to shape a polygon and copy the CSS clip-path.