# QR Code Generator

Generate a QR code from text or a URL.

## URL

https://ilham.dev/tools/qr-code-generator/

## What It Does

This builds a QR code in your browser from any text or URL, with a choice of error-correction level and an adjustable margin. The code is produced locally by a bundled encoder, so the text you type is never sent anywhere. You can take the result as a PNG for a chat message or as an SVG, which is drawn as vector paths and therefore stays sharp at any print size.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Do I need an account, or is there a limit?
- Which error-correction level should I choose?
- Why did the PNG download fail?
- How large can a logo be before the code stops scanning?




## Questions

### Do I need an account, or is there a limit?

No account, no API key and no quota. The generator runs entirely in the page.

### Which error-correction level should I choose?

Start with M. If the code may be scratched or partly covered, try H. H adds more recovery information but makes the pattern busier. Download and scan the final image; the setting alone cannot guarantee that a phone will read it.

### Why did the PNG download fail?

PNG download needs the browser to draw the image first. If that step fails, try **Download SVG** instead. SVG stays sharp when you make it bigger for print. Open and scan the downloaded file before sharing it.

### How large can a logo be before the code stops scanning?

A logo hides squares that a phone needs to read. Make the logo small. The tool shows a warning when its size is beyond what scanned in testing, but that limit is not a guarantee for your image. Scan the downloaded file on a few phones, especially before printing many copies.

