QR Code Generator (URL, vCard, Email, SMS)
Create static QR codes for URLs, contacts, email, SMS and more.
Your QR code will appear here.
Use via API
Generate a QR code as an SVG image for a URL, text, email, phone number, SMS, vCard contact or map location. Send JSON, get JSON back.
POST https://pithlab.com/api/v1/tools/qr-code-generator
curl https://pithlab.com/api/v1/tools/qr-code-generator \
-H "Authorization: Bearer $PITHLAB_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"url","url":"https://pithlab.com","size":256}'About the QR Code Generator
Make free static QR codes for links, text, email, phone, SMS, vCards and map locations. Pick colours and error correction, then download PNG or SVG.
How to use the QR Code Generator
- Choose what the code should contain: a URL, text, email, phone number, SMS, contact card (vCard) or location.
- Fill in the fields. The exact text that will be encoded is shown under Encoded content.
- Pick an error correction level, size, margin and colours. Keep dark modules on a light background for reliable scanning.
- Download the code as a PNG for screens or an SVG for print, and test it with your phone camera before publishing.
Examples
Input
URL: example.com
Output
https://example.com
Input
Email: [email protected], subject: Hi there
Output
mailto:[email protected]?subject=Hi%20there
Input
SMS to +44 7700 900123, message: On my way
Output
SMSTO:+447700900123:On my way
Input
Latitude 51.5007, longitude -0.1246
Output
geo:51.5007,-0.1246
Frequently asked questions
Do these QR codes expire?
No. These are static codes: the content is stored in the pattern itself, not behind a redirect link. They keep working for as long as the content (for example your website) exists, and nobody can switch them off or track scans.
Which error correction level should I use?
M (15%) suits most uses. Choose Q or H if the code will be printed small, may get scuffed or will have a logo placed over it. Higher levels make the code denser, so very long content may need L.
Why won't my coloured QR code scan?
Scanners need strong contrast between the modules and the background. Use a dark foreground on a light background and keep the margin (quiet zone) at 4 modules. The tool warns you when contrast is low or the colours are inverted.
Is my data uploaded anywhere?
No. The code is generated entirely in your browser and nothing you type is sent to a server.
PNG or SVG?
PNG works everywhere and is fine for screens and documents. SVG is a vector file that stays sharp at any size, which is better for print and signage.