QR Code Generator

A QR code is a machine-readable way to write a short string — most often a link — so a phone camera can pick it up without typing. Enter text here and download an image you can print or embed.

QR Code GeneratorRuns in your browser

How to Use

  1. Type a URL or plain text. A sample link is filled in to start with; the code redraws as you type.
  2. Choose an output size from 256, 512 or 1024 pixels and an error-correction level from Low to Highest.
  3. Set foreground and background colours. The tool warns if the contrast is too low to scan reliably.
  4. Download PNG for raster use, SVG for sharp scaling, or copy the encoded text.

Practical Examples

  • A menu link on a table card, so guests open it with their camera instead of typing a URL.
  • A printed poster uses Highest correction and an SVG so the modules stay crisp at large sizes.
  • A short event code entered as plain text, which a scanner displays rather than opens as a link.

Understanding the Result

Error correction lets a scanner recover data when part of the code is damaged. Low stores more data but tolerates less damage; Highest tolerates more damage at the cost of a denser pattern. The default Medium is a reasonable compromise.

The size setting is the pixel dimensions of the output square, not a change to the encoded content. The cell size is always at least one pixel, so long strings at small sizes still produce a complete grid rather than a blank canvas.

SVG contains the same modules as vector rectangles and scales without blur. PNG is a raster image fixed at the chosen size.

Limitations and Useful Notes

  • A QR code says nothing about the safety of its destination. Check the link before sharing it and scan a test copy before printing a batch.
  • Input is limited to about 1500 characters. Longer strings are rejected because dense patterns are hard for cameras to read.
  • Low-contrast colours, very long text, curved surfaces and reflections can all prevent scanning; the tool warns about colour contrast but cannot test a real camera.
  • The code is static. It does not shorten URLs, track scans or allow the destination to be changed after printing.
  • The QR library is bundled with the site and runs locally; no external service is contacted.
Privacy: The code is drawn in your browser. Your text is not uploaded or logged.

Common Questions

Can I use plain text instead of a URL?

Yes. Whatever you type is encoded as a string. A scanner usually opens a URL automatically and displays plain text.

Which error-correction level should I use?

Medium suits most uses. Choose Highest when the code will be printed small, damaged or placed on a busy background; the pattern becomes denser.

Why does my QR code not scan?

Check the printed size, colour contrast and whether the encoded text is complete. The tool warns about low contrast and incomplete-looking URLs, but only a real scan confirms readability.