QR Code Generator

Paste a link or short message, set the pixel size between 128 and 512, and press Generate QR code. The preview appears on the page so you can scan it immediately or download a PNG named qrcode.png.

Updated 2026-08-04 · utilities

Enter text or URL, then Generate QR code.

About this tool

The tool takes a Text or URL field and a Size in pixels. Generation uses medium error correction, a small margin, and clamps width to 128–512. Empty input shows a prompt instead of a broken image; success status invites you to download or scan.

How to use

  1. Enter text or a URL: Type or paste content into the Text or URL box (sample starts with https://example.com).
  2. Set the size: Choose Size in pixels from 128 to 512 (step 32; default 256).
  3. Generate the code: Click Generate QR code. A preview image appears when encoding succeeds.
  4. Download the PNG: Click Download PNG to save qrcode.png, or scan the on-page preview with a phone.

Common use cases

Tips

FAQ

What can I encode?

Any non-empty text or URL. The library encodes the trimmed string into a QR matrix.

Which error correction level is used?

Medium (M), with margin 2, which balances density and scan reliability for typical links.

Why is my size ignored?

Width is forced into the 128–512 range so tiny or huge requests still produce a usable image.

Does generation upload my text?

Encoding runs in your browser with the QR library; you do not need an account to download the PNG.

Related keywords

Related tools