พัฒนาเว็บ
QR Code Generator / Reader
สร้างรหัส QR จากข้อความหรือ URL หรืออ่านเนื้อหาจากรูปภาพที่อัปโหลด
รหัส QR จะแสดงที่นี่
A QR code is a two-dimensional barcode that encodes text, a URL, or other data so a camera can read it instantly. This tool generates a QR code from text you type and, the other way around, reads the content out of an uploaded image — all in the browser.
How to use it
- Generate: type text or a URL and the QR code appears immediately, ready to download as an image.
- Read: upload an image containing a QR code and the tool decodes and displays its content.
- Raise the error-correction level if the code will be printed small or placed on an uneven surface.
Common uses
- A QR code on a business card, poster, or package that links to a website or contact page.
- Sharing a Wi-Fi password with guests without typing it manually (enter a WIFI:T:WPA;S:name;P:password;; string to encode it).
- Checking what a suspicious QR code actually contains before scanning it with a phone and opening the link.
Things to keep in mind
A higher error-correction level (H instead of L) makes the code more resistant to damage but also denser — it holds less data at the same physical size.
A QR code doesn't hide its content — anyone can read it the same way you did, so never encode passwords or private data in one.
บทความเกี่ยวกับเครื่องมือนี้: QR Code: ลิงก์ถูกบรรจุลงในตารางพิกเซลได้อย่างไร
คำถามที่พบบ่อย
ระดับการแก้ไขข้อผิดพลาด (L/M/Q/H) เปลี่ยนอะไร?
ระดับที่สูงกว่า สูงสุดถึง H ที่ประมาณ 30% จะทำให้ QR โค้ดยังอ่านได้แม้บางส่วนเสียหายหรือถูกบดบัง แต่ก็ลดปริมาณข้อมูลที่ใส่ได้ในขนาดที่กำหนดด้วย — L ที่ประมาณ 7% ใส่ข้อมูลได้มากที่สุดแต่ทนต่อความเสียหายได้น้อยที่สุด
ทำไมถึงอ่านภาพ QR โค้ดของฉันไม่ได้?
การอ่านใช้ไลบรารี jsqr เพื่อถอดรหัสภาพในเครื่อง อาจล้มเหลวกับภาพที่เบลอ เอียง หรือมีแสงสะท้อนมาก ดังนั้นภาพที่ชัดเจน ตรง และมีคอนทราสต์ดีจะทำงานได้ดีที่สุด
ข้อมูลหรือภาพของฉันถูกอัปโหลดไปที่ไหนหรือไม่?
ไม่ ทั้งการสร้างและอ่าน QR โค้ดเกิดขึ้นทั้งหมดในเบราว์เซอร์ของคุณโดยใช้ไลบรารี JavaScript ไม่มีอะไรออกจากอุปกรณ์ของคุณเลย
เหตุใดปริมาณข้อมูลที่ QR Code บรรจุได้จึงขึ้นอยู่กับประเภทของเนื้อหา?
QR Code รองรับโหมดการเข้ารหัสหลายแบบ — ตัวเลข ตัวอักษรและตัวเลข และไบต์ — โดยแต่ละโหมดใช้จำนวนบิตต่อตัวอักษรต่างกัน โหมดตัวเลข (เฉพาะเลข) กะทัดรัดที่สุด ในขณะที่โหมดไบต์สำหรับข้อความใด ๆ (เช่น ข้อความที่ไม่ใช่ละติน) ใช้พื้นที่มากที่สุด จึงบรรจุตัวอักษรได้น้อยกว่าในโค้ดขนาดเดียวกัน
จำนวนตัวอักษรสูงสุดที่ QR Code บรรจุได้คือเท่าไร?
ขึ้นอยู่กับเวอร์ชันของโค้ดและระดับการแก้ไขข้อผิดพลาด — เวอร์ชันใหญ่ที่สุด (40) ที่ระดับการแก้ไข L ต่ำที่สุดบรรจุได้สูงสุด 7089 หลักหรือ 4296 ตัวอักษรแบบตัวอักษรและตัวเลข แต่ในทางปฏิบัติมักไม่ใช้เกินสองสามร้อยตัวอักษรเพื่อให้สแกนได้อย่างน่าเชื่อถือ