Generators

QR Code Generator

Generate scannable PNG QR codes from URLs or plain text with customizable colors, sizing, and error correction levels.

Run tool

This online QR code generator converts plain text or web links into scannable PNG images. You can enter any website URL, contact detail, or note into the content box, choose an image size between 64 and 1024 pixels, and customize the visual presentation with custom foreground and background colors. The tool provides four standard error correction levels: Low (L), Medium (M), Quartile (Q), and High (H). Higher error correction improves readability if the printed code becomes partially smudged, covered, or damaged, while lower levels keep the pattern simpler for dense text. Once you run the generator with nonempty input, the interface displays the generated PNG image alongside a base64 data string ready for direct embedding or downloading. If the text field remains empty, no code is created. The generator scales module dimensions cleanly to produce sharp, high-contrast barcodes suitable for digital displays, print marketing, packaging, and personal projects.

Instructions

  1. Enter or paste your text or website URL into the content field.
  2. Specify an image size in pixels between 64 and 1024, or keep the default 256.
  3. Select an error correction level such as Low (L), Medium (M), Quartile (Q), or High (H).
  4. Choose your desired foreground color for the QR pattern and background color for the canvas.
  5. Click the run button to generate your QR code as a base64-encoded PNG image.

Examples

  • Generate a 300px QR code for https://example.com/menu using High (H) error correction with dark blue pattern on a white background for restaurant table cards.
  • Convert plain Wi-Fi network credentials into a 256px black-and-white QR code using standard Medium (M) error correction for quick guest scanning.

FAQ

What image format does the QR code generator produce?

The generator produces standard PNG images formatted as base64-encoded data strings that can be directly saved or embedded in web documents.

Which error correction level should I choose?

Level M (Medium) is suitable for most general uses. Level H (High) is recommended for printed materials that may experience wear, dirt, or partial coverage, though it creates a denser grid pattern.

What happens if the requested image size does not match the output pixel size exactly?

QR codes consist of integer module blocks. The generator calculates the closest integer scaling factor within the allowed 64 to 1024 pixel range, so the final PNG pixel dimensions may vary slightly from the requested number.

What happens if I submit an empty text field?

When no content is provided, the tool completes without generating an image.

Embed this tool

Add this working SmartPlusLab tool to your website with the code below.