# Gerador de códigos de barras

> Gera um código de barras com a simbologia que você escolher.

[Open tool](https://www.toolcabana.com/pt-br/barcode-generator) · [Geradores e marketing](https://www.toolcabana.com/pt-br/category/generators-and-marketing)

Tool ID: barcode-generator. Requested language: pt-BR. Description language: pt-BR. Complete guide translation: yes.

## Overview (en)

The barcode generator turns a value of up to 150 characters into a CODE128, EAN-13, EAN-8, UPC, CODE39 or ITF-14 barcode, rendered with JsBarcode and downloadable as an SVG file. You can set the bar height from 20 to 500 pixels and choose whether the human-readable value is printed below the bars.

## Supported tasks (pt-BR)

Gera um código de barras com a simbologia que você escolher.

## Steps (pt-BR)

1. Cole a fonte no editor de entrada ou carregue o exemplo integrado.
2. Configure o formato de código de barras, a altura (px) e mostrar o valor abaixo do código.
3. Execute o gerador de códigos de barras, revise a saída e use os controles disponíveis para copiar ou baixar.

## Settings

- Formato de código de barras (pt-BR; key: format; type: select): CODE128 [pt-BR], EAN13 [pt-BR], EAN8 [pt-BR], UPC [pt-BR], CODE39 [pt-BR], ITF14 [pt-BR]
- Altura (px) (pt-BR; key: height; type: number); minimum: 20; maximum: 500
- Mostrar valor abaixo do código (pt-BR; key: label; type: checkbox)

## Limitations (pt-BR)

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

## Example input

```text
123456789012
```

## Privacy and connections (pt-BR)

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

## Questions (pt-BR)

### Why do I get an invalid check digit error for EAN-13 or UPC?

Retail formats such as EAN-13, EAN-8, UPC and ITF-14 have fixed lengths and a check digit. When the value has the wrong length or its check digit does not match, the tool reports that the value or check digit is invalid for that format.

### Which barcode format should I use for letters and numbers?

CODE128 is the default and encodes letters, digits and symbols, and CODE39 also accepts letters. EAN-13, EAN-8, UPC and ITF-14 are numeric formats used for retail products and shipping cartons.

### Can I download the barcode as a vector file?

Yes. The barcode is built as an SVG with a 20-pixel margin and saved as barcode.svg, which scales cleanly for print layouts. Turn off Display value below barcode if you want the bars without the text line.

### Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

### Quais são os limites de entrada?

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

## Related tools

- [Password generator](https://www.toolcabana.com/pt-br/password-generator)
- [QR code generator](https://www.toolcabana.com/pt-br/qr-generator)
- [Email mailto generator](https://www.toolcabana.com/pt-br/mailto-generator)
- [Robots.txt generator](https://www.toolcabana.com/pt-br/robots-generator)
