無料QRコードジェネレーター

URL、テキスト、メールなど用のQRコードを即座に作成。色をカスタマイズし、ロゴを追加し、高品質でダウンロード。登録不要。100%永久無料。

1M+生成されたQRコード
100%永久無料
0s登録が必要

QRコードを生成

高レベルは部分的に損傷してもQRコードをスキャン可能に

プレビュー&ダウンロード

📱

QRコードがここに表示されます

詳細を入力して「生成」をクリック

💡 プロのヒント

  • URLは短く—よりシンプルでスキャンしやすいQRコードに
  • 大量印刷前にQRコードをテスト
  • 良いコントラストを維持(明るい背景に暗い色)
  • 高い誤り訂正=より良い損傷耐性
  • スキャン性向上のためQRコード周囲に余白を確保

一般的な使用例

様々なシナリオでのQRコード活用法

🌐

ウェブサイトリンク

ウェブサイトURLを即座に共有。名刺、チラシ、マーケティング資料に最適。

https://your-website.com
📱

連絡先情報

連絡先詳細付きvCard QRコードを作成。1回スキャンで連絡先に追加。

BEGIN:VCARD...
📶

WiFi認証情報

ゲストがパスワード入力なしでWiFiに接続。カフェやオフィスに最適。

WIFI:T:WPA;S:NetworkName...
💳

支払いリンク

QRコードで支払いを受付。PayPal、Stripe、暗号ウォレットにリンク。

https://paypal.me/username
📧

メール作成

メール受信者と件名を事前入力。1回スキャンで送信準備完了のメールクライアントを開く。

mailto:hello@example.com
📍

位置座標

正確なGPS座標を共有。ナビ準備完了のマップアプリで開く。

geo:40.7128,-74.0060

QRコード生成の仕組み

QRコードの背後にある技術を理解

1

データエンコーディング

入力をバイナリ形式に変換し、リードソロモン誤り訂正でエンコード。

2

パターン生成

エンコードデータを位置決めマーカーとアラインメントパターン付きの2Dマトリックスに配置。

3

レンダリング

マトリックスを白黒モジュールとしてレンダリング、オプションで色カスタマイズ。

4

エクスポート

完成QRコードをPNG、SVG、その他フォーマットでユニバーサル使用向けにエクスポート。

How to Generate QR Codes in Your Code

Complete implementation examples in 8+ programming languages

JavaScript / Node.js Implementation

Using the qrcode package (most popular, 8M+ downloads/week):

// Install package
npm install qrcode

// Basic usage
const QRCode = require('qrcode');

// Generate QR code and save as image
QRCode.toFile('qrcode.png', 'https://all-tools.online', {
  color: {
    dark: '#000000',
    light: '#FFFFFF'
  },
  width: 512,
  errorCorrectionLevel: 'M'
}, function (err) {
  if (err) throw err;
  console.log('QR code saved!');
});

// Generate as Data URL (for web)
QRCode.toDataURL('https://all-tools.online')
  .then(url => {
    console.log(url);
    // Use this URL in <img src="...">
  })
  .catch(err => console.error(err));

// Generate as SVG string
QRCode.toString('https://all-tools.online', {
  type: 'svg'
}, function (err, string) {
  if (err) throw err;
  console.log(string);
});

// Advanced options
const options = {
  errorCorrectionLevel: 'H',  // L, M, Q, H
  type: 'image/png',
  quality: 0.92,
  margin: 1,
  color: {
    dark: '#2563eb',
    light: '#f3f4f6'
  },
  width: 1024
};

QRCode.toDataURL('https://all-tools.online', options)
  .then(url => {
    // Use the QR code
  });

Browser Implementation (Client-side)

<!-- Include from CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>

<div id="qrcode"></div>

<script>
  // Generate QR code
  var qrcode = new QRCode(document.getElementById("qrcode"), {
    text: "https://all-tools.online",
    width: 512,
    height: 512,
    colorDark : "#000000",
    colorLight : "#ffffff",
    correctLevel : QRCode.CorrectLevel.H
  });

  // Update QR code
  qrcode.clear();
  qrcode.makeCode("New content here");
</script>

Frequently Asked Questions

What is a QR Code?

QR (Quick Response) Code is a two-dimensional barcode that can store various types of data including URLs, text, contact information, and more. It was invented in 1994 by Denso Wave for tracking automotive parts but is now widely used for marketing, payments, and information sharing.

Are the QR codes generated here free?

Yes! All QR codes generated on AllTools are 100% free forever. There are no limits, no watermarks, and no registration required. You can generate unlimited QR codes for personal or commercial use.

Do QR codes expire?

No, static QR codes (like the ones generated here) never expire. However, if the content they point to (like a URL) becomes unavailable, the QR code will stop working. Dynamic QR codes from paid services may expire when your subscription ends.

What's the difference between error correction levels?

Error correction allows QR codes to remain scannable even if partially damaged:
Low (L): ~7% damage recovery
Medium (M): ~15% damage recovery
Quartile (Q): ~25% damage recovery
High (H): ~30% damage recovery
Higher levels create more complex QR codes but offer better damage resistance.

Can I use custom colors in QR codes?

Yes, but maintain good contrast between the foreground and background colors. The general rule is to keep the foreground color dark and background light. Avoid using colors that are too similar, as this may make the QR code unscannable.

What size should my QR code be?

The minimum recommended size depends on scanning distance:
• For close-up scanning (business cards): 2cm × 2cm
• For normal distance (flyers): 3-4cm × 3-4cm
• For far distance (posters): Scale up proportionally
Rule of thumb: QR code size = scanning distance ÷ 10

Can I add a logo to my QR code?

Yes, you can add a logo to the center of a QR code due to error correction. However, the logo should not cover more than 30% of the QR code (use High error correction level). Always test the QR code after adding a logo to ensure it still scans properly.

Which format should I use: PNG or SVG?

PNG is best for web use, digital displays, and when you need a specific size.
SVG is best for print materials, as it scales infinitely without losing quality. Use SVG for business cards, billboards, and any printed materials.

How much data can a QR code hold?

The capacity depends on the data type and error correction level:
• Numeric only: up to 7,089 characters
• Alphanumeric: up to 4,296 characters
• Binary/Byte: up to 2,953 characters
• Kanji/Kana: up to 1,817 characters
For best scanning results, keep URLs short (under 100 characters).

Can QR codes be tracked?

Static QR codes (generated here) cannot be tracked. If you need analytics (scans, locations, devices), you'll need to use a URL shortener service or dynamic QR code service that provides tracking. The QR code itself contains no tracking capability.

Are QR codes secure?

QR codes themselves are just data containers and are not inherently secure or insecure. The security depends on what they link to. Always verify the destination before scanning unknown QR codes, as they could link to malicious websites or trigger unwanted actions.

Why isn't my QR code scanning?

Common issues:
• Poor contrast between colors
• QR code too small or too large
• Image quality too low (pixelated)
• Insufficient lighting
• Damaged or dirty QR code
• Logo covers too much of the code
• Camera focus issues
Try generating a new code with higher contrast and test before printing.

© 2026 DevToolbox. All rights reserved.