QR Code Generator
Create a QR code for a link, Wi-Fi, text, and more — then download it as PNG or SVG, free and right in your browser.
输入链接或选择内容类型以查看您的QR码
内容
样式
更高级别在损坏或被徽标遮挡时仍可扫描。
徽标(可选)
在中央添加徽标。将纠错保持在H级别以确保仍可扫描。
Make a QR code in seconds
A QR code is a square barcode that a phone camera can read instantly. This generator turns whatever you need — a website link, a Wi-Fi network, plain text, an email, a phone number, or an SMS — into a clean, scannable code you can download and use anywhere.
Every code is static: the content is encoded directly into the pattern, so it works forever, with no redirect, no account, and no expiry. Pick your content type, style it with your own colours, and download a PNG image or a crisp SVG vector.
How to generate a QR code
- Pick a content type. Choose Link, Text, Wi-Fi, Email, Phone, or SMS at the top of the generator.
- Enter your content. Type the link or details — the preview updates live as you type.
- Style it (optional). Set the foreground and background colours, the size, and the quiet-zone margin.
- Download. Save it as a PNG image or an SVG vector and use it anywhere.
Test before you print
Always scan your finished code with a couple of phones before printing it large. Keep a good contrast between the foreground and background (dark code on a light background scans best), and leave the quiet-zone margin in place so cameras can lock on.
二维码可以编码什么
二维码存储一小段文本,开头的前缀告诉扫描的手机该如何处理它。以下是本生成器为每种内容类型写入的确切格式:
| 内容类型 | 编码的内容 |
|---|---|
| 网站链接(URL) | 存储为原始地址,例如 https://example.com。裸域名会在前面加上 https:// 后保存;大多数相机应用会直接打开它。 |
| 纯文本 | 原样存储,不带前缀——一条便签、一个代码或一段短消息。扫描器只会显示文本;它不会打开任何内容。 |
| Wi-Fi 网络 | WIFI:T:WPA;S:<ssid>;P:<password>;; — T 是安全类型(WPA、WEP 或 nopass),S 是网络名称,P 是密码;隐藏 SSID 请加 H:true。扫描后会提供一键加入。 |
| 电子邮件 | mailto:name@example.com?subject=…&body=… — 在默认邮件应用中打开一封已预填的草稿。主题和正文是 URL 编码的查询参数。 |
| 电话号码 | tel:+15551234567 — 打开拨号器并准备好拨打该号码。请包含国家代码(例如 +1),以便它能在国际范围内使用。 |
| 短信 | SMSTO:+15551234567:Your message — 打开发往该号码的新短信,并预填好消息内容。(vCard/MECARD 联系人代码使用不同的 VCARD:/MECARD: 格式,本工具不会生成它们。) |
选择正确的类型
- 对于网站,链接类型最好,因为手机相机会一键打开识别到的 URL,而同样的地址作为纯文本只会被显示出来。
- 电话、短信和电子邮件代码使用标准的 tel:、SMSTO: 和 mailto: URI 方案,因此它们几乎能在每部现代手机上触发拨号器、消息或邮件应用。
- 较长的内容会生成模块更多的更密集的代码,需要印得更大才能保持可扫描——让 URL 保持简短(或使用你自己的短链接)以获得更整洁的图案。
- Wi-Fi 代码会把密码以纯文本嵌入图像中,所以请把印出的 Wi-Fi 二维码当作写下的密码,不要公开张贴。
More QR code tools
常见问题
Is the QR code generator free?
Yes — completely free, with no watermark and no sign-up. Make and download as many codes as you like.
Will my QR code expire?
No. These are static codes with the content baked into the pattern, so they never expire and need no account.
Can I download a vector (SVG)?
Yes. Download as SVG for a crisp vector that scales to any size, or PNG for a ready-to-use image.
Where is my image processed?
Building or reading a QR code happens in your browser, so the file is created on your own device. How any data associated with the tool is handled is described in our privacy policy.
更多图片工具
Crop an image
Crop to any ratio or an exact pixel size.
Image toolResize an image
Change dimensions to exact pixels or presets.
Image toolCompress an image
Shrink file size without visible quality loss.
Image toolConvert HEIC to JPG
Turn iPhone HEIC photos into universal JPG.
Image toolConvert image format
PNG, JPG and WebP — convert any to any.