พัฒนาเว็บ
Barcode Generator
สร้างบาร์โค้ดเชิงเส้น (CODE128, EAN-13, UPC, CODE39 และอื่น ๆ) จากข้อความหรือตัวเลข
A linear barcode encodes data as bars of varying width, read by a single laser beam in a scanner. Unlike a QR code, most formats are limited to digits or ASCII text, but in exchange they're readable by virtually any retail scanner.
How to use it
- Pick a format (CODE128, EAN-13, UPC, CODE39, and more) and enter text or digits — the barcode is generated instantly.
- For fixed-length formats (EAN-13, UPC-A), the check digit is calculated automatically.
- Download the finished image to print on a label or paste into a document.
Common uses
- Creating a barcode for a homemade product or internal warehouse inventory.
- Printing test barcodes to check a scanner or POS system before going live.
- Generating CODE128 for internal identifiers (order numbers, batch numbers) that don't need to meet a strict retail standard.
Things to keep in mind
EAN-13 and UPC-A are official retail standards — selling a product in stores requires a real, registered GTIN, not an arbitrarily generated one.
No common linear barcode format supports non-Latin scripts or other Unicode characters directly — use a QR code for that kind of text.
บทความเกี่ยวกับเครื่องมือนี้: บาร์โค้ด: Code 128 ต่างจาก EAN-13 อย่างไร
คำถามที่พบบ่อย
ทำไมถึงบอกว่าข้อมูลของฉันไม่เข้ากับรูปแบบที่เลือก?
รูปแบบบาร์โค้ดแต่ละแบบมีข้อจำกัดของตัวเอง — เช่น EAN-13 ต้องการตัวเลขพอดี 12 หรือ 13 หลัก และ CODE39 รองรับชุดอักขระที่จำกัดเท่านั้น — ดังนั้นข้อมูลต้องตรงกับกฎของรูปแบบที่เลือก
ควรใช้รูปแบบใดสำหรับข้อความทั่วไป?
CODE128 รองรับชุดอักขระ ASCII ทั้งหมด รวมถึงตัวอักษร ตัวเลข และสัญลักษณ์ ทำให้เป็นตัวเลือกที่ยืดหยุ่นที่สุดเมื่อข้อมูลของคุณไม่ใช่ตัวเลขล้วน
การสร้างบาร์โค้ดอัปโหลดข้อมูลของฉันหรือไม่?
ไม่ ภาพบาร์โค้ดถูกสร้างขึ้นทั้งหมดในเบราว์เซอร์ของคุณด้วยไลบรารี jsbarcode ไม่มีการส่งข้อมูลไปยังเซิร์ฟเวอร์
UPC-A ต่างจาก EAN-13 อย่างไร?
UPC-A เป็นรูปแบบ 12 หลักที่ใช้กันมาแต่ดั้งเดิมในอเมริกาเหนือ ในขณะที่ EAN-13 เป็นมาตรฐานสากล 13 หลัก แท้จริงแล้ว UPC-A เป็นเซตย่อยของ EAN-13 (การเติมเลข 0 ไว้หน้าจะทำให้กลายเป็น EAN-13 ที่ถูกต้อง) ดังนั้นเครื่องสแกนส่วนใหญ่จึงรู้จักทั้งสองรูปแบบโดยไม่มีความแตกต่าง
สามารถเข้ารหัสข้อความที่ไม่ใช่ละตินหรือตัวอักษร Unicode อื่น ๆ ในบาร์โค้ดได้หรือไม่?
รูปแบบบาร์โค้ดทั่วไปส่วนใหญ่ เช่น EAN-13 หรือ UPC-A รองรับเฉพาะตัวเลข และ Code 128 จำกัดอยู่ที่ชุดอักขระ ASCII เท่านั้น — ไม่มีรูปแบบใดรองรับข้อความที่ไม่ใช่ละตินหรือตัวอักษร Unicode อื่น ๆ โดยตรง ดังนั้นสำหรับข้อความประเภทนี้จึงต้องใช้ QR Code แทน