Choose an SVG QR code for any printed material, large signage, packaging, or design file edited in Illustrator, Figma, or InDesign, because vector shapes stay crisp at every size. Choose a PNG QR code for email newsletters, social media posts, slide decks, or CMS fields that block SVG uploads.
Our free QR Code Generator builds static SVG QR codes directly on our server without calling an outside image service, lets you pick custom foreground and background colors, includes a 4-module quiet zone automatically, and downloads cleanly as qrcode.svg. For QR payload formats like Wi-Fi, vCard, and links, see our QR code generator guide.
SVG vs. PNG vs. PDF QR codes compared
QR code scanners read sharp edges between dark and light squares (called modules). When a bitmap PNG is stretched on a flyer or poster, anti-aliasing blurs those edges and slows down phone cameras. Here is how SVG, PNG, and PDF compare across print and digital work.
| Factor | SVG (Vector) | PNG (Raster) | PDF (Print Document) |
|---|---|---|---|
| Scaling & edge sharpness | Infinite; razor-sharp from a business card to a billboard | Fixed pixel grid; blurs if enlarged beyond native dimensions | Crisp at any size when built from vector paths (avoid rasterized PDFs) |
| Print DPI requirement | DPI-independent vector paths | Must export at 300+ DPI at final physical print width | Resolution-independent for vector QR paths |
| Typical file size | Very small (often 2 KB to 10 KB) | Small for web; larger for high-resolution 300 DPI print | Moderate (15 KB to 100 KB depending on artboard) |
| Editing in Illustrator, Figma, or InDesign | Opens as native paths for recoloring, alignment, and CMYK conversion | Flat pixels; cannot recolor or resize cleanly without artifacts | Places cleanly into print layouts; editable in Illustrator if vector |
| Email, social & CMS support | Blocked or stripped by many email clients and social platforms | Universal support across email, web, chat apps, and slide decks | Downloadable document or print handoff; cannot embed inline like an image |
| Best use cases | Business cards, flyers, packaging, signage, print design handoff | Email campaigns, social graphics, PowerPoint/Slides, quick web embeds | Press-ready print proofs, menus, signage sent straight to a print shop |
Print-ready QR code checklist
A crisp SVG solves pixelation, but physical printing introduces lighting, paper texture, and viewing distance constraints. Check these five technical requirements before sending a design to press.
- Preserve a quiet zone at least 4 modules wide. ISO/IEC 18004 requires a clear, empty margin around all four sides of the QR grid equal to at least four module widths so cameras can isolate the finder squares. Our QR Code Generator renders a 4-module quiet zone in your background color inside
qrcode.svg, so keep that padding intact instead of cropping tight to the pattern. - Size the code using the 10:1 scanning distance rule. Make the printed QR code width at least one tenth of the distance a person will stand when scanning it. A business card scanned from 20 cm (8 in) needs a code at least 2 cm (0.8 in) wide, a tabletop menu at 50 cm needs 5 cm (2 in), and a poster read from 2 m (6.5 ft) needs at least 20 cm (8 in). Avoid printing smaller than 2 cm × 2 cm even for close-up items.
- Keep dark modules on a light background. Phone cameras detect contrast between the foreground and background, and some scanners still fail on inverted (light-on-dark) codes. Verify your color pair with our Color Contrast Checker before printing, and convert black modules to single-channel 100% K black in CMYK layout software so four-color ink plates do not misalign and blur small squares.
- Understand error correction levels (L, M, Q, H). QR codes add redundant blocks so damaged codes still decode: Level L recovers about 7%, Level M about 15%, Level Q about 25%, and Level H about 30%. Higher error correction packs more modules into the same square, making every module smaller and harder to scan from far away. Our generator uses Level M as a balanced default for clean links and print pieces. If your design overlays a center logo on top of the modules, generate that code with Level Q or H in a dedicated studio tool and test heavily.
- Shorten the URL and test a 1:1 proof. Fewer characters produce a simpler QR version with larger squares that scan faster in dim lighting. Trim tracking parameters or shorten path slugs with our Slug Generator, print the artwork at 100% actual size on the real paper stock, and scan it with at least one iOS and one Android phone.
How to create a free SVG QR code (and export PNG or PDF if needed)
Our QR Code Generator outputs static SVG files only, with no account, watermark, or redirect proxy. Because your link or text is encoded straight into the vector modules, the QR code never expires.
- Enter your URL or text. Paste a link, Wi-Fi string, or multi-line contact card into the Content box (up to 2,000 bytes; plain ASCII characters take 1 byte each, while accented characters and emoji take 2 to 4 bytes). If you are building a guest Wi-Fi QR code, create a separate guest password first with our Password Generator.
- Choose base size and colors. Set the preview size between 50 and 500 px and pick high-contrast Foreground and Background colors. Because the output is vector SVG, the pixel size only sets the default artboard dimensions and scales cleanly to any print size.
- Click Download SVG. Save
qrcode.svgdirectly to your computer. Place the file straight into Figma, Illustrator, Affinity Designer, Inkscape, or InDesign. - Convert to PNG or PDF only when a channel requires it. Our tool exports SVG files only. If you need a PNG for an email newsletter or social post, open
qrcode.svgin Figma, Inkscape, or a desktop vector editor and export a PNG at the exact pixel width you need (or at 300 DPI for raster print workflows). For print shops asking for PDF, place the SVG into your layout and export a vector PDF without rasterizing the QR layer.
Frequently asked questions
Is an SVG QR code better than a PNG for printing?
Yes. SVG stores mathematical vector shapes instead of pixels, so the edges of every QR module stay completely sharp whether you print on a 2 cm sticker or a 1-meter banner. A PNG can only match that sharpness if it is exported at 300 DPI or higher at the exact final print dimensions.
Can I generate a free SVG QR code without an account or watermark?
Yes. Our QR Code Generator creates static SVG QR codes for URLs, Wi-Fi networks, and plain text up to 2,000 bytes and downloads directly as qrcode.svg with no signup, watermark, or expiration date.
What DPI should a PNG QR code be if I cannot use SVG?
Export a print PNG at 300 DPI or higher at its exact physical print size, with integer pixel scaling and no JPEG compression. For example, a 2-inch (5 cm) printed QR code should be at least 600 × 600 pixels, and a 4-inch code should be at least 1,200 × 1,200 pixels.
Why do email clients and social platforms reject SVG QR codes?
SVG files are XML documents that can contain scripts or external references, so many email providers (including Gmail and Outlook) and social networks strip or block SVG uploads for security. Export a clean PNG copy from your SVG whenever you paste a QR code into emails, chat messages, or slide decks.
What is the minimum printed size for a QR code?
Keep printed QR codes at least 2 cm × 2 cm (about 0.8 in × 0.8 in) for close-up items like business cards, and scale up using the 10:1 distance rule so the code width is at least one tenth of the scanning distance. Dense codes with long URLs need more space so individual modules remain distinct.
Can I edit colors or add a logo to a downloaded SVG QR code?
You can recolor SVG modules and convert them to CMYK freely in Illustrator, Figma, or Inkscape as long as you keep dark modules on a light background and leave the 4-module quiet zone untouched. Avoid covering the middle with a logo unless your code was generated with Level Q or H error correction; our generator uses Level M (about 15% recovery), which works best without overlays.