Offline Text to QR Code Generator
Enter any text to generate a QR code locally in your browser. Download as PNG or SVG.
What this tool does
- Text to QR code generator in your browser (local, no upload).
- Generate a QR code from any string and preview instantly.
- Download QR code as PNG and SVG for sharing/printing.
- Adjust size, margin, and error correction level (L/M/Q/H).
- Copy the input text with one click.
Privacy: generation runs locally in your browser. Your input is not uploaded.
Preview
Enter text to generate a QR code.
How to use
- Enter the string you want to encode (URL, text, ID, etc.).
- Adjust size/margin/error correction if needed.
- Download the QR code as PNG (image) or SVG (vector).
- Use “Copy Text” to copy the source string.
Common use cases
- Generate QR code for a URL or landing page.
- Create a QR code for Wi‑Fi credentials (as a plain string payload).
- Make QR codes for device IDs, event tickets, or short notes.
- Export SVG for print materials, or PNG for sharing.
- Quick testing: generate then scan with another device.
QR code quality checklist
- Keep the encoded text short when possible. Long URLs should usually be shortened on your own domain before printing.
- Use strong contrast between the foreground and background; low-contrast or inverted colors can fail on older scanners.
- Leave enough quiet zone margin around the QR code so scanners can separate the code from nearby text or artwork.
- For print, prefer SVG or a large PNG and test the final physical size with at least two phone cameras before publishing.
Payload Examples to Test Before Publishing
Landing page URL
https://example.com/summer-sale?utm_source=posterUse a full HTTPS URL when the QR code should open a browser. Test the final redirect path, not only the original short link.
Plain support text
Order ID: 2026-0719-8842Plain text QR codes are useful for labels, inventory, tickets, and offline handoff workflows.
Wi-Fi payload shape
WIFI:T:WPA;S:GuestNetwork;P:example-password;;For real Wi-Fi QR cards, use the dedicated Wi-Fi QR tool so escaping rules for semicolons and special characters are handled.
Print and Scan Reliability Rules
Size
A QR code on paper usually needs a larger physical size than a QR code on screen. Dense codes should be printed larger and tested at the expected viewing distance.
Quiet zone
Keep blank space around all four sides. Cropping into the margin is one of the most common reasons a printed QR code fails.
Contrast
Dark foreground on a light background is the safest choice. Decorative gradients and transparent backgrounds should be tested on the exact material.
Error correction
Use Q or H when you add a logo or expect minor print damage, but remember that higher correction also makes the code denser.
Notes
- This is a local QR code generator: your input stays in the browser and is not uploaded.
- Longer text creates denser QR codes; increase size for better scan reliability.
- SVG is best for scaling without blur; PNG is best for quick sharing.
Frequently Asked Questions
What can I put into a QR code?
Any string: URLs, plain text, IDs, JSON snippets, etc. Keep it short for best scanning reliability.
Is my text uploaded to a server?
No. The QR code is generated locally in your browser.
Which format should I download?
PNG is great for sharing as an image. SVG is ideal for printing and scaling without losing quality.
Why does the QR code look too dense?
Longer text produces denser QR codes. Try shortening the text, increasing size, or using a higher error correction level.