QR Code Generator
Create a downloadable QR code for text or URLs
QR Code Generator — what it does
Create a QR code from any text or URL at a size you choose, and download it as a PNG. QR codes turn a printed surface into a link: a poster, a business card, a packaging label or a table tent becomes something a phone camera can act on in a second.
Worked example
Codes for a restaurant table link at three sizes, downloaded as PNG, and the long-input case; the pixel sizes are read from the downloaded files.
| Text | Size | Download |
|---|---|---|
| https://example.com/menu?table=12 | 240px | qr-code.png, 240×240 px |
| https://example.com/menu?table=12 | 320px | qr-code.png, 320×320 px |
| Ann Lee, Sales Manager / ann.lee@example.com / +886 2 2345 6789 (three lines) | 180px | qr-code.png, 180×180 px |
| 1,300 characters of text | 240px | Nothing: the code area stays blank and the status line does not change |
Every download is called qr-code.png, so rename it before generating the next one; an empty text field encodes https://example.com.
When this tool helps
- Putting a link to a menu, form or landing page on printed material.
- Adding a URL to a business card or event badge without making people type it.
- Encoding a serial number or reference on equipment for quick lookup.
How to use it
- Enter the text or URL to encode.
- Set the QR code size.
- Generate the code.
- Download the PNG.
Accuracy, limits, and good practice
- Keep the content short. A long URL packs more modules into the same square, making the code denser and harder to scan at a distance.
- Print at 2 cm or larger for handheld scanning, and preserve the quiet zone — the blank margin cameras use to find the code's edges.
- Always test the printed code with more than one phone before committing to a print run; a code that fails on site is expensive.
Frequently asked questions
Do QR codes expire?
A static code like this one encodes the destination directly and never expires, though the page it points to can. Shortener-based codes die with the shortener.
Can I track scans?
Not with a static code. Point it at a URL carrying campaign parameters — the UTM link builder creates one — and track on your own analytics.
What size should I print it?
Roughly one-tenth of the scanning distance: 2 cm for arm's length, considerably larger for a poster read from across a room.
Is there a maximum length?
Yes. Codes are generated at error-correction level H, whose capacity is 1,273 bytes; 1,200 ASCII characters worked and 1,300 failed. Past the limit the button fails silently — the code area is cleared, no error message is shown and the previous status line stays — so keep the text short and check that a code appeared.
What colours and error-correction level are used?
Dark modules are #12214d (navy) on white, with correction level H, the highest, which lets about 30% of the code be damaged and still scan. Neither setting can be changed on the page; the only controls are the text and the pixel size (180, 240 or 320).
Related tools on this site
- Printable Checklist Generator — Create, preview, print, and download a structured checklist
- UUID Generator —
- File SHA-256 Hash — Calculate a secure SHA-256 checksum locally
Further reading: How Local Browser Tools Protect Your Files
Everything above runs inside this page. QR Code Generator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
QR Code 產生器能做什麼
把任意文字或網址做成指定尺寸的 QR Code,並下載為 PNG。QR Code 讓印刷品變成連結:海報、名片、包裝標籤或桌卡,都變成手機相機一秒就能操作的東西。
實際範例
餐廳桌號連結以三種尺寸產生並下載為 PNG,外加文字過長的情形;像素尺寸取自下載的檔案。
| 文字 | 尺寸 | 下載 |
|---|---|---|
| https://example.com/menu?table=12 | 240px | qr-code.png,240×240 px |
| https://example.com/menu?table=12 | 320px | qr-code.png,320×320 px |
| Ann Lee, Sales Manager / ann.lee@example.com / +886 2 2345 6789(三行) | 180px | qr-code.png,180×180 px |
| 1,300 個字元的文字 | 240px | 什麼都沒有:圖碼區留白,狀態列也不變 |
每次下載都叫 qr-code.png,產生下一個之前先改名;文字欄留空會編碼 https://example.com。
什麼時候用得上
- 在印刷品上放菜單、表單或到達頁的連結。
- 在名片或活動識別證上放網址,不必讓人手動輸入。
- 把序號或編號編碼在設備上,方便快速查詢。
使用步驟
- 輸入要編碼的文字或網址。
- 設定 QR Code 尺寸。
- 產生條碼。
- 下載 PNG。
精確度、限制與實務建議
- 內容盡量短。長網址會在同樣大小的方格內塞進更多模組,讓碼變密、遠距更難掃。
- 手持掃描請印 2 公分以上,並保留靜區——相機正是靠那圈留白找到邊界。
- 大量印製前,務必用不只一支手機測試印出來的碼;到了現場才發現掃不到代價很高。
常見問題
QR Code 會過期嗎?
像這樣的靜態碼直接編入目的地,本身不會過期,但它指向的頁面可能會。靠短網址的碼則會隨短網址服務一起失效。
可以追蹤掃描次數嗎?
靜態碼不行。可讓它指向帶活動參數的網址(用 UTM 連結產生器製作),再從自己的分析工具追蹤。
該印多大?
約為掃描距離的十分之一:一臂距離用 2 公分,隔著房間看的海報要大得多。
文字有長度上限嗎?
有。圖碼以 H 級錯誤更正產生,容量是 1,273 位元組;1,200 個 ASCII 字元成功,1,300 個失敗。超過上限時按鈕會默默失敗:圖碼區被清空、沒有錯誤訊息、上一次的狀態列留著,所以文字要短,並確認圖碼真的有顯示。
顏色與錯誤更正等級是什麼?
深色模組是 #12214d(深藍)、底色白色,錯誤更正是最高的 H 級,圖碼約三成受損仍能掃。這兩項在頁面上都改不了;能調的只有文字與像素尺寸(180、240 或 320)。
本站相關工具
- 可列印檢查清單生成器 — 建立、預覽、列印並下載結構化檢查清單
- UUID 產生器 —
- 檔案 SHA-256 雜湊 — 在本地計算安全的 SHA-256 校驗值
延伸閱讀: 本地瀏覽器工具如何保護你的檔案
以上步驟全部在這個頁面內完成,QR Code 產生器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。