---
title: "QR Code Generator | ToolSugar"
description: "Make a QR code from any link or text, choose the error correction level, and download it as a PNG or an SVG. It runs in your browser."
canonical: https://toolsugar.com/tools/qr-code-generator
image: https://toolsugar.com/og.png
---

# QR Code Generator

This QR code generator turns a link or any text into a scannable QR code and saves it as a PNG or SVG file. You pick the error correction level (L, M, Q or H). It runs entirely in your browser, so the text you type is never uploaded. If the text is too long for the chosen level, you get a clear message instead of a broken code.

Runs on your device

## How it works

1. Type or paste a link or text into the Text or link box.
2. Choose an Error correction level: L holds the most text, H survives the most damage.
3. Check the preview and the module count shown under it.
4. Press Download PNG for a 1024 pixel image or Download SVG for a scalable file.

## Key facts

- **Formats**: PNG (about 1024 pixels wide) and SVG
- **Error correction**: Levels L, M, Q and H, recovering roughly 7, 15, 25 and 30 percent of damage
- **Text encoding**: UTF-8, so accents and emoji work
- **Where it runs**: In your browser, with no upload

## Common uses

- Print a link to your website on a flyer or business card.
- Share a Wi-Fi or contact text block with a phone by scanning.
- Put a vector SVG code into a poster or slide that must stay sharp at any size.

## Questions

### How much text can a QR code hold?

It depends on the error correction level. A lower level such as L fits more text than H. If your text is too long for the level you chose, the tool tells you and you can shorten it or lower the level.

### Which error correction level should I use?

M is a good default for screens and clean prints. Choose Q or H when the code may get scuffed or when you plan to place a logo over the middle, and accept that the code holds less text.

### Does the QR code expire or track scans?

No. The code stores your text directly, so it never expires and nothing is tracked. Anyone can scan it with a normal camera app, and ToolSugar never sees the contents.

[Read the QR Code Generator guide](https://toolsugar.com/blog/how-to-make-a-qr-code)

## Related tools

- [Base64 Encoder and Decoder](https://toolsugar.com/tools/base64-encoder)
- [URL Encoder and Decoder](https://toolsugar.com/tools/url-encoder)
- [Favicon Generator](https://toolsugar.com/tools/favicon-generator)
