> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.yanet.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Use Barcode Pattern to Generate Your Own Barcode Format?

### Overview
This article will help you understand **How to Use Barcode Pattern to Generate Your Own Barcode Format?**

Before generating barcodes:
* Select the correct products or variants.
* Choose the correct format.
* Check whether existing barcode values should be preserved.
* Review the generated values before printing.

You can go to **Setting tab > Barcode** and setup the structure and number of digit/characters of your barcode in **Barcode Pattern** field.

![](https://storage.crisp.chat/users/helpdesk/website/-/3/7/f/d/37fde77105fa8400/image_1txk2x9.png)

For example:
[N.8] means the barcode you generate will have 8 number digits such as: 12345678

You can also include the alphabet characters or other special characters into your barcode as well.

For example:
[N.4][A.8] will start with 4 number digits and follow by 8 alphabet characters: 1234ABCDEFGH
[A.2]-[N.3]-[A.1] will start with 2 alphabet characters, follow by 3 number digits and end with an alphabet character: AB-345-D

||| Tip: Always keep a backup of important barcode data before making large changes.