.tnt{--blue:#2B4CFE;line-height:1.7;color:#334155;font-size:17px}
.tnt *{box-sizing:border-box}
.tnt-tool{background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:26px;box-shadow:0 4px 20px rgba(15,23,42,.07);margin:0 0 26px}
.tnt-tool textarea{width:100%;min-height:90px;font-size:16px;padding:14px;border:2px solid #CBD5E1;border-radius:10px;resize:vertical;color:#0F172A}
.tnt-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:14px 0}
.tnt-row label{font-weight:600;color:#0F172A;font-size:14.5px}
.tnt input[type=range]{flex:1;min-width:150px;accent-color:var(--blue)}
.tnt input[type=color]{width:46px;height:34px;border:1px solid #CBD5E1;border-radius:8px;background:none;cursor:pointer}
.tnt-btn{display:inline-block;background:var(--blue);color:#fff!important;border:0;padding:12px 24px;border-radius:999px;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none}
.tnt-qr{text-align:center;margin-top:18px}
.tnt-qr #tndQrBox{display:inline-block;padding:16px;background:#fff;border:1px solid #E2E8F0;border-radius:12px}
.tnt h2{font-size:1.5rem;font-weight:800;color:#0F172A;margin:34px 0 14px;padding-left:14px;border-left:5px solid var(--blue)}
.tnt h3{font-size:1.1rem;color:#0F172A;margin:18px 0 6px}.tnt a{color:#059669;font-weight:600}
.tnt-cta{margin:26px 0;padding:22px 26px;background:linear-gradient(135deg,#0B1230,#1B2247);color:#fff;border-radius:14px}
.tnt-cta b{color:#fff;font-size:18px}.tnt-cta p{color:rgba(255,255,255,.85);margin:6px 0 12px}
.tnt-cta a{display:inline-block;background:#2B4CFE;color:#fff!important;padding:9px 20px;border-radius:999px;font-weight:700;font-size:14px}
Công cụ tạo mã QR online miễn phí ngay trên trình duyệt: nhập đường link, số điện thoại, văn bản hay thông tin liên hệ để tạo mã QR và tải về dạng ảnh PNG. Tuỳ chỉnh kích thước và màu sắc. Mã QR được tạo cục bộ, không lưu trên máy chủ.
Cách tạo mã QR
Nhập nội dung (link website, số điện thoại dạng tel:0901234567, hoặc văn bản bất kỳ), chọn kích thước và màu, bấm "Tạo mã QR" rồi tải ảnh về. Mã QR phù hợp in name card, menu, poster, hoặc dẫn khách tới website.
Mẹo dùng mã QR hiệu quả
Dùng màu tương phản cao (mã tối trên nền sáng) để máy quét dễ đọc; in ở kích thước tối thiểu 2x2 cm; kiểm tra thử bằng điện thoại trước khi in hàng loạt. Xem thêm các công cụ online miễn phí khác của TND.
Cần phần mềm bản quyền chính hãng?TND cung cấp Windows, Office, Adobe bản quyền, xuất hoá đơn VAT đầy đủ.
Xem sản phẩm bản quyền Câu hỏi thường gặp
Tạo mã QR ở đây có mất phí hay hết hạn không?
Hoàn toàn miễn phí và mã QR không hết hạn vì nội dung được mã hoá trực tiếp vào mã, không qua dịch vụ trung gian.
Mã QR có an toàn không?
Có. Mã được tạo ngay trên trình duyệt của bạn, nội dung không gửi lên máy chủ.
Tôi tạo mã QR cho những nội dung gì?
Link website, số điện thoại, email, địa chỉ, wifi, hoặc văn bản bất kỳ.
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Tạo mã QR ở đây có mất phí hay hết hạn không?","acceptedAnswer":{"@type":"Answer","text":"Hoàn toàn miễn phí và mã QR không hết hạn vì nội dung được mã hoá trực tiếp vào mã, không qua dịch vụ trung gian."}},{"@type":"Question","name":"Mã QR có an toàn không?","acceptedAnswer":{"@type":"Answer","text":"Có. Mã được tạo ngay trên trình duyệt của bạn, nội dung không gửi lên máy chủ."}},{"@type":"Question","name":"Tôi tạo mã QR cho những nội dung gì?","acceptedAnswer":{"@type":"Answer","text":"Link website, số điện thoại, email, địa chỉ, wifi, hoặc văn bản bất kỳ."}}]}(function(){
var box=document.getElementById('tndQrBox'),txt=document.getElementById('tndText'),sz=document.getElementById('tndSz'),szv=document.getElementById('tndSzv'),
fg=document.getElementById('tndFg'),bg=document.getElementById('tndBg'),go=document.getElementById('tndGo'),dl=document.getElementById('tndDl'),qr=null;
sz.addEventListener('input',function(){szv.textContent=sz.value;});
function render(){if(typeof QRCode==='undefined'){box.innerHTML='
Không tải được thư viện QR, vui lòng thử lại.
';return;}box.innerHTML='';var s=parseInt(sz.value);qr=new QRCode(box,{text:txt.value||' ',width:s,height:s,colorDark:fg.value,colorLight:bg.value,correctLevel:QRCode.CorrectLevel.M});setTimeout(function(){var c=box.querySelector('canvas');var img=box.querySelector('img');var url=c?c.toDataURL('image/png'):(img?img.src:'');if(url){dl.href=url;dl.style.display='inline-block';}},120);}
go.addEventListener('click',render);
if(window.addEventListener)window.addEventListener('load',render);
})();