Type a text or a link, press Generate, and follow what happens to it. The generator below is not a black box: it is the encoder from my post How QR codes work, running in your browser, and it shows every stage between your input and the finished symbol. The result is a valid QR code that you can download as SVG or PNG and scan with a phone.

What you are looking at

  1. Input and mode. The text is classified as numeric, alphanumeric or arbitrary bytes (UTF-8); each mode packs characters into fewer or more bits.
  2. Version. The smallest of the 40 symbol sizes that can hold the message at the chosen error-correction level.
  3. Bit stream. Mode indicator, character count, data, terminator and padding.
  4. Codewords. The bits regrouped into bytes.
  5. Error correction. Each block of bytes gets Reed–Solomon check bytes, computed in the finite field GF(256). You can corrupt codewords and watch them being repaired.
  6. Interleave. Blocks are shuffled together so that local damage is spread out.
  7. Fixed patterns. Finder, timing and alignment patterns.
  8. Placing bits. The bytes are written into the grid in a zig-zag.
  9. Masking. One of eight patterns is XORed over the data to avoid plain areas and false finders; the one with the lowest penalty wins, or you choose.
  10. Format information. Error-correction level and mask, written twice and protected by a BCH code.
  11. Final symbol. With quiet zone, downloads, and checks that it reads back: with the page’s own decoder, with the browser’s built-in scanner where it has one, and, if you press the button, against the production library behind this site’s /api/qr service.

The server also offers the plain API: https://davidmiheev.life/api/qr?text=... returns an SVG (error-correction level M).