What is a random QR code?

A random QR code is a working QR code that holds made-up content: a random string, number, link, or UUID. Developers and testers use them to check QR scanners, ticket and check-in apps, and camera features without printing real codes. Designers use them as placeholders in mockups, posters, and labels, where a real code isn't ready yet but the layout needs one that looks and scans like the final one.

Tool description

Pick the kind of content and its length, and the tool makes a new QR code with random content right away. Press "Generate" for another one. The content is shown under the code, so you can copy it and compare it with what your scanner reads. Change the error correction level to see how the code grows denser, and download the code as PNG, JPG, WebP, or SVG.

Examples

Content Length Example content
Text 12 q7XbR2mKe9Tz
Number 10 4829105736
URL 8 https://example.com/k3v9x0qa
UUID — 3f6c1a2e-8d4b-4f0a-9c71-2b5e7d9a1c04

Features

  • Random text, numbers, URLs, or UUIDs
  • Adjustable length, from a tiny code to a dense one
  • Four error correction levels: low, medium, quartile, and high
  • The encoded content shown next to the code, ready to copy
  • Download as PNG, JPG, WebP, or SVG
  • Runs in your browser

How it works

The tool draws the random content from your browser's secure random number generator, so every character is equally likely and no two codes repeat in practice. Text uses upper- and lowercase letters and digits. Numbers never start with a zero. URLs point to example.com, a domain reserved for examples, so scanning one never opens someone's real site. UUIDs are version 4, the random kind. The QR code itself is built with the qrcode library and drawn as sharp square modules with the standard quiet zone around them.

Tips

  • Longer content and higher error correction levels make a denser code with smaller modules. Try a long text at the high level to test how your scanner copes with dense codes.
  • Numbers make the smallest codes for their length, since QR codes pack digits more tightly than letters.
  • Print the code at a few centimeters wide or more, and keep the white border around it: scanners need that quiet zone to find the code.
  • Use SVG when the code goes into a design or print layout, so it stays sharp at any size.