QR Code & Barcode

QR Code Generator & Barcode Generator

Generate professional codes instantly

QR codes & 10+ barcode types
Custom colors & sizes
Download as JPG or PDF
Works offline in browser

二维码和条形码生成器一览

生成前需要了解的要点。

价格
免费,无需注册。 想生成多少就生成多少,不加水印,无需会员或续费。
支持内容
任意链接或文字。 二维码及 11 种条形码:Code 128、Code 39、EAN-13、EAN-8、EAN-5、UPC-A、ITF-14、ISBN、Codabar、MSI Plessey 和 Pharmacode。
输出
可直接打印的 JPG 或 PDF。 自定义颜色和尺寸,方块、圆角或圆点样式,可在中间加 Logo。
有效期
静态码,永不过期。 内容直接编码在二维码里,只要链接或文字本身有效就一直可用。
适用于
任意浏览器,离线也能用。 iPhone、安卓手机、Windows、Mac、Linux 和 Chromebook。
隐私
在浏览器中生成。 输入的内容不会上传;除非你选择分享或保存,否则数据不离开你的设备。

How to generate QR codes and barcodes online for free?

1Choose QR code or Barcode at the top of the tool, depending on what you need.
2For QR: enter the URL or text you want to encode - a website, contact card, Wi-Fi credentials, or any custom data.
3For barcode: pick the type (Code 128, Code 39, EAN-13, EAN-8, ISBN, ITF-14, MSI Plessey, and more), then enter the data.
4Customise the look - dot style (square or rounded for QR), foreground and background colours, size, bar width and height for barcodes.
5Download your finished code as JPG or PDF, ready to print, share, or embed anywhere.

Why choose our QR and barcode generator?

QR & Barcode in One Tool
Generate both QR codes and standard barcodes from the same page. Switch between modes with one click.
Many Barcode Types
Code 128, Code 39, EAN-13, EAN-8, ISBN, ITF-14, MSI Plessey, and more. Pick the right format for retail, logistics, books, or inventory.
QR Dot Styles
Choose classic square dots or rounded dots for a more modern look. Either works with any QR scanner.
Custom Colours
Pick any foreground and background colour to match your brand. Classic black-and-white, blue, green, dark, or anything in between.
Custom Size
Set the exact pixel size for QR codes, or the bar width and height for barcodes. Get it right the first time, no resizing later.
JPG or PDF Export
Download as JPG for web and digital use, or PDF for print-ready quality. Both formats are export-ready instantly.
URL, Text, or Custom Data
Encode anything - a URL, plain text, an email, a phone number, contact card (vCard), Wi-Fi credentials, or any custom string.
Private & Secure
Codes are generated in your browser. Nothing is uploaded to our servers, so your data never leaves your device.
No Account Required
Generate, customise, and download - no sign-up, no email, no subscription. Just the tool you need, instantly.

Frequently Asked Questions

二维码怎么免费生成?

在上方输入或粘贴链接、文字,按需调整颜色和尺寸,然后下载 JPG 或 PDF 即可。完全免费,无需注册,不加水印,也没有会员和自动续费。

生成的二维码会过期吗?

不会。这是静态二维码:链接或文字直接存在码里,而不是存在我们的服务器上,所以永不过期,只要目标还在就能扫。相应地,印出来后无法再改指向,打印前请确认链接无误。

怎么把链接生成二维码?

粘贴包含 https:// 的完整网址,生成后下载。用手机相机或微信扫一扫即可打开该网页。

二维码里的文字怎么换行?

在输入框中直接按回车换行即可,扫描后文字会按原样分行显示。

可以在二维码中间加 Logo 吗?

可以。上传 Logo,裁剪并缩放到合适位置,它会显示在二维码中央。添加 Logo 后会自动提高容错率,保证仍能正常扫描。

怎么生成 Wi-Fi 二维码?

输入 WIFI:T:WPA;S:网络名称;P:密码;; 这样的文字(换成你的网络名和密码)再生成,大多数手机扫码后会提示连接该 Wi-Fi。

能生成收款码吗?

微信、支付宝或银行的收款码使用各自的专用格式,请在对应 App 中生成。用普通账号文字生成的二维码不能用于收款。

怎么生成商品条形码?

选择条码类型(如 EAN-13 或 Code 128),输入编号后下载。商品正式上架通常需要向物品编码中心(GS1)申请正式条码号,本工具负责把你输入的号码画成条码。

可以修改颜色和样式吗?

可以。选择配色主题或自定义颜色,方块、圆角或圆点样式,并调整尺寸。深色码配浅色背景、对比度高时最容易扫描。

数据安全吗?

安全。二维码在你的浏览器中生成,离线也能使用,输入的内容不会发送给我们。只有你选择分享链接或保存到 Google Drive 时,图片才会上传。

Curious how QR codes and barcodes differ, and which format to pick? Read our full guide: Free QR Code and Barcode Generator (2026).

Use other tools

Everything you need to work with PDFs - free, fast, and private.